Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01841/0.01841, allocations: 1.426 MB / 17.06 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1256/0.1256, allocations: 22.38 MB / 40.49 MB, free: 0.5117 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 113.5 kB / 47.99 MB, free: 2.133 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 191.7 kB / 55.58 MB, free: 6.172 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 285.9 MB, free: 1.188 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9429/0.9429, allocations: 127.8 MB / 470.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 131.8 kB / 0.6353 GB, free: 11.19 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2352, allocations: 82.34 MB / 0.7157 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.00498/0.2402, allocations: 3.381 MB / 0.719 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006989/0.2473, allocations: 5.02 MB / 0.7239 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.2475, allocations: 4 kB / 0.7239 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2487, allocations: 286.5 kB / 0.7242 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.2491, allocations: 206.8 kB / 0.7244 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.2499, allocations: 402.7 kB / 0.7247 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.2504, allocations: 0.5301 MB / 0.7253 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.2505, allocations: 37.02 kB / 0.7253 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2507, allocations: 195.3 kB / 0.7255 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.251, allocations: 203 kB / 0.7257 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.251, allocations: 20 kB / 0.7257 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.2515, allocations: 291.5 kB / 0.726 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2516, allocations: 75.62 kB / 0.726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.2518, allocations: 171 kB / 0.7262 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.2526, allocations: 0.611 MB / 0.7268 GB, free: 13.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2526, allocations: 3.938 kB / 0.7268 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2526, allocations: 0 / 0.7268 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2526, allocations: 0 / 0.7268 GB, free: 13.32 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.000803/0.2534, allocations: 0.661 MB / 0.7274 GB, free: 12.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2535, allocations: 8.031 kB / 0.7275 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.2537, allocations: 52.62 kB / 0.7275 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.2543, allocations: 307.7 kB / 0.7278 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.2543, allocations: 16.36 kB / 0.7278 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.2543, allocations: 16.38 kB / 0.7278 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.2549, allocations: 419.4 kB / 0.7282 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2549, allocations: 4.188 kB / 0.7282 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.2549, allocations: 19.88 kB / 0.7283 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.2549, allocations: 8 kB / 0.7283 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.2552, allocations: 196 kB / 0.7284 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.2572, allocations: 3.033 MB / 0.7314 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2574, allocations: 170.7 kB / 0.7316 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2576, allocations: 124.2 kB / 0.7317 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.2577, allocations: 15.97 kB / 0.7317 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2577, allocations: 34.56 kB / 0.7317 GB, free: 7.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 1.363e-06/0.2577, allocations: 0 / 0.7317 GB, free: 7.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.0006617/0.2584, allocations: 366.8 kB / 0.7321 GB, free: 7.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.2584, allocations: 132.5 kB / 0.7322 GB, free: 7.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.2588, allocations: 307.2 kB / 0.7325 GB, free: 7.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2588, allocations: 29.7 kB / 0.7325 GB, free: 7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.259, allocations: 196.7 kB / 0.7327 GB, free: 6.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.2591, allocations: 218.1 kB / 0.7329 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2592, allocations: 101.6 kB / 0.733 GB, free: 6.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2594, allocations: 346.8 kB / 0.7334 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2596, allocations: 84.97 kB / 0.7334 GB, free: 6.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.2599, allocations: 365.7 kB / 0.7338 GB, free: 5.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.2604, allocations: 0.519 MB / 0.7343 GB, free: 4.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2605, allocations: 0 / 0.7343 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006702/0.2611, allocations: 485.5 kB / 0.7348 GB, free: 4.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2612, allocations: 11.94 kB / 0.7348 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/0.2612, allocations: 32.11 kB / 0.7348 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.2613, allocations: 19.98 kB / 0.7348 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.2614, allocations: 67.84 kB / 0.7349 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.2615, allocations: 16.44 kB / 0.7349 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2617, allocations: 59.52 kB / 0.735 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.2617, allocations: 28 kB / 0.735 GB, free: 4.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.2619, allocations: 173.6 kB / 0.7351 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.262, allocations: 39.66 kB / 0.7352 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.2622, allocations: 54.22 kB / 0.7352 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2622, allocations: 15.94 kB / 0.7353 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2622, allocations: 0 / 0.7353 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2622, allocations: 3.984 kB / 0.7353 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.2627, allocations: 357 kB / 0.7356 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/0.2628, allocations: 27.97 kB / 0.7356 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.2628, allocations: 8 kB / 0.7356 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2628, allocations: 11.94 kB / 0.7356 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2628, allocations: 7.984 kB / 0.7357 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2628, allocations: 0 / 0.7357 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.2629, allocations: 4 kB / 0.7357 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.2634, allocations: 0.5812 MB / 0.7362 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.2636, allocations: 152.7 kB / 0.7364 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.2636, allocations: 15.94 kB / 0.7364 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.2638, allocations: 0 / 0.7364 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2638, allocations: 15.98 kB / 0.7364 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2639, allocations: 8 kB / 0.7364 GB, free: 2.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000209/0.2641, allocations: 209.9 kB / 0.7366 GB, free: 2.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2641, allocations: 0 / 0.7366 GB, free: 2.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006363/0.2647, allocations: 135.6 kB / 0.7367 GB, free: 2.309 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009698/0.2657, allocations: 379.6 kB / 0.7371 GB, free: 1.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.2665, allocations: 0.5129 MB / 0.7376 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2665, allocations: 8.188 kB / 0.7376 GB, free: 1.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.2669, allocations: 353.6 kB / 0.7379 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.2676, allocations: 76.73 kB / 0.738 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2689, allocations: 0.6477 MB / 0.7386 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.2695, allocations: 0.7887 MB / 0.7394 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.2698, allocations: 84.09 kB / 0.7395 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.2698, allocations: 43.36 kB / 0.7395 GB, free: 15.34 MB / 0.5607 GB Notification: Performance of SimCode: time 2.4e-07/0.2699, allocations: 0 / 0.7395 GB, free: 15.34 MB / 0.5607 GB Notification: Performance of Templates: time 0.01082/0.2807, allocations: 5.29 MB / 0.7447 GB, free: 10.14 MB / 0.5607 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.makefile (rm -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.sim & ./ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)