Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.conf.json 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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001008, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1054/0.1054, allocations: 2.764 MB / 292.8 MB, free: 3.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.91 kB / 353.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08418, allocations: 50.24 MB / 404.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.009048/0.09326, allocations: 9.014 MB / 413.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006443/0.09974, allocations: 8.498 MB / 421.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.09995, allocations: 3.938 kB / 421.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000556/0.1006, allocations: 147.2 kB / 421.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.1009, allocations: 95.41 kB / 421.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1637/0.2647, allocations: 1.344 MB / 423.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.2651, allocations: 266.7 kB / 423.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.593e-05/0.2652, allocations: 18.55 kB / 423.5 MB, free: 37.19 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function ‘ExternalMedia.Common.CheckCoolPropOptions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFEvalConstants.evaluate: time 0.1831/0.4484, allocations: 12.73 MB / 436.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.4486, allocations: 86.47 kB / 436.3 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.4487, allocations: 6.719 kB / 436.3 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.4503, allocations: 480.1 kB / 436.8 MB, free: 32.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.4504, allocations: 34.16 kB / 436.8 MB, free: 32.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.4505, allocations: 87.83 kB / 436.9 MB, free: 32.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009398/0.4515, allocations: 0.5079 MB / 437.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4515, allocations: 0 / 437.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4515, allocations: 0 / 437.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4515, allocations: 0 / 437.4 MB, free: 32.51 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007257/0.4522, allocations: 0.5552 MB / 438 MB, free: 32.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4523, allocations: 13.53 kB / 438 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.4526, allocations: 50.69 kB / 438.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4528, allocations: 208.9 kB / 438.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4528, allocations: 7.656 kB / 438.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.4528, allocations: 9.156 kB / 438.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.4533, allocations: 245.7 kB / 438.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4533, allocations: 3.156 kB / 438.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.4533, allocations: 7.5 kB / 438.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.4534, allocations: 10.84 kB / 438.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.4538, allocations: 199.5 kB / 438.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.4544, allocations: 0.6851 MB / 439.4 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.4549, allocations: 229.1 kB / 439.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.4551, allocations: 149.8 kB / 439.8 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.4553, allocations: 333.3 kB / 440.1 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.4553, allocations: 38.97 kB / 440.1 MB, free: 30.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.483e-06/0.4553, allocations: 0 / 440.1 MB, free: 30.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002431/0.4578, allocations: 1.211 MB / 441.4 MB, free: 30.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.4578, allocations: 55.41 kB / 441.4 MB, free: 30.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.4579, allocations: 134 kB / 441.5 MB, free: 30.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.4579, allocations: 29.64 kB / 441.6 MB, free: 30.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.458, allocations: 112.6 kB / 441.7 MB, free: 30.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.458, allocations: 148 kB / 441.8 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.4581, allocations: 62.75 kB / 441.9 MB, free: 30.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.4582, allocations: 331.4 kB / 442.2 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.4584, allocations: 131.4 kB / 442.3 MB, free: 29.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4586, allocations: 184.6 kB / 442.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.459, allocations: 344 kB / 442.9 MB, free: 29.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.459, allocations: 0 / 442.9 MB, free: 29.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009712/0.46, allocations: 491.9 kB / 443.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.46, allocations: 6.062 kB / 443.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4601, allocations: 192 / 443.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/0.4608, allocations: 152 kB / 443.5 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4609, allocations: 32.12 kB / 443.5 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/0.4614, allocations: 0.6564 MB / 444.2 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4615, allocations: 14 kB / 444.2 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4615, allocations: 13.06 kB / 444.2 MB, free: 29.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/0.4616, allocations: 133.9 kB / 444.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.4617, allocations: 13.75 kB / 444.4 MB, free: 29.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008609/0.4626, allocations: 0.7166 MB / 445.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.4626, allocations: 7.188 kB / 445.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4626, allocations: 3.422 kB / 445.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4626, allocations: 96 / 445.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4629, allocations: 388.4 kB / 445.5 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4629, allocations: 4 kB / 445.5 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.4631, allocations: 50.05 kB / 445.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.4633, allocations: 73.55 kB / 445.6 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.4633, allocations: 9.766 kB / 445.6 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007073/0.464, allocations: 1.406 MB / 447 MB, free: 27.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4641, allocations: 4.156 kB / 447 MB, free: 27.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.465, allocations: 0.8301 MB / 447.8 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.465, allocations: 92.02 kB / 447.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.4651, allocations: 9.969 kB / 447.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.4652, allocations: 16.64 kB / 447.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.4653, allocations: 16.86 kB / 448 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.4653, allocations: 6.25 kB / 448 MB, free: 27.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.4655, allocations: 102.3 kB / 448.1 MB, free: 27.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4655, allocations: 0 / 448.1 MB, free: 27.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.4659, allocations: 62.53 kB / 448.1 MB, free: 27.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002962/0.4662, allocations: 182 kB / 448.3 MB, free: 26.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.4669, allocations: 365.9 kB / 448.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4669, allocations: 4 kB / 448.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.4674, allocations: 305.2 kB / 449 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.468, allocations: 97.28 kB / 449.1 MB, free: 26.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.4689, allocations: 0.7386 MB / 449.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.4691, allocations: 0.7415 MB / 450.5 MB, free: 25.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.4692, allocations: 42.28 kB / 450.6 MB, free: 25.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.4693, allocations: 17 kB / 450.6 MB, free: 25.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4693, allocations: 0 / 450.6 MB, free: 25.46 MB / 350.1 MB Notification: Performance of Templates: time 0.007727/0.477, allocations: 5.055 MB / 455.7 MB, free: 25.04 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1)