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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01283/0.01283, allocations: 1.989 MB / 261.6 MB, free: 11.08 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.172e-05, allocations: 10.25 kB / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.00749/0.007511, allocations: 8.336 MB / 340 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.01228, allocations: 7.415 MB / 347.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.01241, allocations: 0 / 347.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.01286, allocations: 143 kB / 347.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.0132, allocations: 107.2 kB / 347.6 MB, free: 1.188 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.01647, allocations: 1.486 MB / 349.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.01692, allocations: 278.5 kB / 349.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.01699, allocations: 13.81 kB / 349.4 MB, free: 15.41 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.8332/0.8502, allocations: 21.51 MB / 370.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.8504, allocations: 67.8 kB / 371 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.8504, allocations: 8 kB / 371 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.8519, allocations: 471.7 kB / 371.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.852, allocations: 31.84 kB / 371.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.8521, allocations: 67.84 kB / 371.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.8536, allocations: 0.522 MB / 372.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8536, allocations: 0 / 372.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.8536, allocations: 3.938 kB / 372.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.8536, allocations: 0 / 372.1 MB, free: 10.8 MB / 298.7 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.001017/0.8546, allocations: 496.6 kB / 372.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8547, allocations: 12.03 kB / 372.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.8551, allocations: 100.5 kB / 372.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.8554, allocations: 153.5 kB / 372.8 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.8554, allocations: 8.375 kB / 372.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.8554, allocations: 12.38 kB / 372.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.8561, allocations: 295.3 kB / 373.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8561, allocations: 3.938 kB / 373.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.8561, allocations: 4 kB / 373.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.8561, allocations: 7.984 kB / 373.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.8567, allocations: 204.4 kB / 373.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009761/0.8576, allocations: 0.6043 MB / 373.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.8582, allocations: 206.5 kB / 374.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.8585, allocations: 128.8 kB / 374.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.8587, allocations: 99.92 kB / 374.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.8587, allocations: 38.56 kB / 374.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 5.711e-06/0.8587, allocations: 7.984 kB / 374.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.003234/0.862, allocations: 1.179 MB / 375.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.862, allocations: 55.41 kB / 375.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.8622, allocations: 133.7 kB / 375.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.8622, allocations: 29.7 kB / 375.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.8623, allocations: 112.9 kB / 375.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.8624, allocations: 150.6 kB / 376.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.8625, allocations: 61.69 kB / 376.1 MB, free: 6.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.8627, allocations: 330.8 kB / 376.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.863, allocations: 136.4 kB / 376.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.8634, allocations: 192.9 kB / 376.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.864, allocations: 345.8 kB / 377.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.864, allocations: 4 kB / 377.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00127/0.8653, allocations: 494.8 kB / 377.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8653, allocations: 8 kB / 377.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.8653, allocations: 0 / 377.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008125/0.8661, allocations: 152.8 kB / 377.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.8663, allocations: 27.98 kB / 377.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/0.8671, allocations: 0.6538 MB / 378.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.8672, allocations: 11.94 kB / 378.4 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.8673, allocations: 12.03 kB / 378.5 MB, free: 4.113 MB / 298.7 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 0.0001666/0.8674, allocations: 133.8 kB / 378.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.8675, allocations: 27.86 kB / 378.6 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.8676, allocations: 22.28 kB / 378.6 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.8676, allocations: 11.98 kB / 378.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8676, allocations: 0 / 378.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.8676, allocations: 3.938 kB / 378.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.868, allocations: 222 kB / 378.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.868, allocations: 0 / 378.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.8682, allocations: 35.98 kB / 378.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.8686, allocations: 76.7 kB / 379 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.8686, allocations: 8 kB / 379 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.8704, allocations: 1.434 MB / 380.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8704, allocations: 0 / 380.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.8717, allocations: 0.7071 MB / 381.1 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.8718, allocations: 19.8 kB / 381.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.8718, allocations: 4 kB / 381.2 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.872, allocations: 11.98 kB / 381.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.8721, allocations: 15.97 kB / 381.2 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.8721, allocations: 15.98 kB / 381.2 MB, free: 1.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.8722, allocations: 99.2 kB / 381.3 MB, free: 1.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8722, allocations: 4.062 kB / 381.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.8726, allocations: 64 kB / 381.4 MB, free: 1.02 MB / 298.7 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.0004535/0.873, allocations: 180.3 kB / 381.5 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00089/0.8739, allocations: 335.3 kB / 381.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8739, allocations: 0 / 381.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000687/0.8746, allocations: 295.5 kB / 382.2 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.8753, allocations: 120.4 kB / 382.3 MB, free: 100 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.8766, allocations: 0.581 MB / 382.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.8767, allocations: 125.6 kB / 383 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.877, allocations: 105.3 kB / 383.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.877, allocations: 28.48 kB / 383.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.877, allocations: 0 / 383.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.0123/0.8893, allocations: 5.45 MB / 388.6 MB, free: 9.77 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.398609135998413]