Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.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.001019/0.001019, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.00251, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 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.001053/0.001053, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002572, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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 0.8759/0.8759, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08258/0.9584, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.01946/0.01946, allocations: 2.09 MB / 246.3 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002892/0.02235, allocations: 1.266 MB / 247.5 MB, free: 11.4 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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_SVDSBTL.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 248.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.884e-05, allocations: 2.312 kB / 248.9 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic): time 0.007437/0.007456, allocations: 9.633 MB / 258.5 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.01247, allocations: 8.591 MB / 267.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.01253, allocations: 4 kB / 267.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.01283, allocations: 131.1 kB / 267.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.01301, allocations: 107.2 kB / 267.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.01614, allocations: 1.634 MB / 268.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.01639, allocations: 290.5 kB / 269.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.01642, allocations: 14.45 kB / 269.2 MB, free: 5.582 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Common/CheckCoolPropOptions.mo:2:1-108: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.852/0.8684, allocations: 33.33 MB / 302.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.8686, allocations: 76.27 kB / 302.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.8686, allocations: 9.25 kB / 302.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.8703, allocations: 481 kB / 303.1 MB, free: 11.64 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.8704, allocations: 26.2 kB / 303.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.8705, allocations: 50.98 kB / 303.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.8715, allocations: 468.9 kB / 303.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.8715, allocations: 0 / 303.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.8715, allocations: 2.625 kB / 303.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.8715, allocations: 0 / 303.7 MB, free: 11.64 MB / 282.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.0008848/0.8724, allocations: 0.6013 MB / 304.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.8724, allocations: 10.75 kB / 304.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.8728, allocations: 90.62 kB / 304.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.873, allocations: 143.1 kB / 304.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.873, allocations: 11.16 kB / 304.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.873, allocations: 11 kB / 304.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.8734, allocations: 245.7 kB / 304.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.8734, allocations: 0 / 304.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.8734, allocations: 11.3 kB / 304.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.8735, allocations: 16.5 kB / 304.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.8737, allocations: 93.39 kB / 304.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.8743, allocations: 491 kB / 305.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.8746, allocations: 171.3 kB / 305.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.715e-05/0.8746, allocations: 43.61 kB / 305.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.8748, allocations: 101.9 kB / 305.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.8748, allocations: 31.36 kB / 305.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.8748, allocations: 0 / 305.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001913/0.8767, allocations: 0.8375 MB / 306.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.8768, allocations: 62.25 kB / 306.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.8769, allocations: 134.3 kB / 306.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.8769, allocations: 29.52 kB / 306.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.8769, allocations: 112 kB / 306.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/0.877, allocations: 165 kB / 307 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.8771, allocations: 58.45 kB / 307.1 MB, free: 9.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.8772, allocations: 335.5 kB / 307.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.8773, allocations: 45.83 kB / 307.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.8774, allocations: 102.5 kB / 307.6 MB, free: 9.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.8776, allocations: 188.7 kB / 307.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.8776, allocations: 0 / 307.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005611/0.8781, allocations: 286.3 kB / 308 MB, free: 9.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8781, allocations: 7.953 kB / 308 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.8782, allocations: 3.938 kB / 308 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.8786, allocations: 126.5 kB / 308.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.8787, allocations: 32.16 kB / 308.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/0.8792, allocations: 0.5987 MB / 308.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.8793, allocations: 6.625 kB / 308.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.8793, allocations: 13.67 kB / 308.8 MB, free: 8.77 MB / 282.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.000101/0.8794, allocations: 127.4 kB / 308.9 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.8794, allocations: 20.62 kB / 309 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.8799, allocations: 325.3 kB / 309.3 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.8799, allocations: 9.891 kB / 309.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.88, allocations: 11.08 kB / 309.3 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.88, allocations: 0 / 309.3 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.8802, allocations: 180.5 kB / 309.5 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8802, allocations: 0 / 309.5 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.8804, allocations: 46.25 kB / 309.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.8804, allocations: 19.86 kB / 309.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.8806, allocations: 46.89 kB / 309.6 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.8806, allocations: 7.188 kB / 309.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.8814, allocations: 1.161 MB / 310.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8814, allocations: 0 / 310.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.8819, allocations: 481.3 kB / 311.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.8819, allocations: 7.75 kB / 311.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8821, allocations: 10.62 kB / 311.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.8821, allocations: 20.52 kB / 311.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.8821, allocations: 2.25 kB / 311.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.8822, allocations: 23.14 kB / 311.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8822, allocations: 0 / 311.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000307/0.8825, allocations: 67.5 kB / 311.3 MB, free: 6.453 MB / 282.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.0004243/0.8829, allocations: 197.8 kB / 311.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.8834, allocations: 176.7 kB / 311.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.8834, allocations: 4 kB / 311.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.8838, allocations: 231 kB / 311.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.8843, allocations: 221.5 kB / 312.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.8887, allocations: 0.4935 MB / 312.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.8887, allocations: 84.78 kB / 312.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.8888, allocations: 42.23 kB / 312.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.889, allocations: 126 kB / 312.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.889, allocations: 0 / 312.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of Templates: time 0.007299/0.8963, allocations: 6.292 MB / 319.2 MB, free: 15.61 MB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8748533446341753]