Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00727/0.007271, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.001692/0.001692, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01111/0.01111, allocations: 2.776 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 59.91 kB / 405.9 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1111, allocations: 50.24 MB / 456.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01003/0.1212, allocations: 9.007 MB / 465.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007345/0.1286, allocations: 8.571 MB / 473.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1288, allocations: 0 / 473.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.1295, allocations: 155.1 kB / 473.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1298, allocations: 107.3 kB / 474 MB, free: 8.848 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.1338, allocations: 1.459 MB / 475.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.1342, allocations: 266.8 kB / 475.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.1343, allocations: 13.67 kB / 475.7 MB, free: 7.109 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.2961/0.4303, allocations: 13.02 MB / 488.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.4306, allocations: 87.61 kB / 488.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4306, allocations: 8 kB / 488.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.4325, allocations: 475.9 kB / 489.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.4325, allocations: 31.84 kB / 489.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.4327, allocations: 83.59 kB / 489.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.4339, allocations: 0.514 MB / 489.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4339, allocations: 0 / 489.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4339, allocations: 0 / 489.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.434, allocations: 4 kB / 489.9 MB, free: 10.05 MB / 366.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.0008522/0.4348, allocations: 0.5604 MB / 490.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.4349, allocations: 8.031 kB / 490.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.4352, allocations: 60.69 kB / 490.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.4355, allocations: 208.1 kB / 490.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4355, allocations: 12.38 kB / 490.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.4356, allocations: 15.94 kB / 490.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.4361, allocations: 239.1 kB / 491 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4361, allocations: 0 / 491 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.4361, allocations: 8 kB / 491 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4361, allocations: 3.984 kB / 491 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.4366, allocations: 200.3 kB / 491.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.4375, allocations: 0.6864 MB / 491.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.438, allocations: 222.5 kB / 492.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.4383, allocations: 157.1 kB / 492.3 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.4385, allocations: 323.2 kB / 492.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.4386, allocations: 38.5 kB / 492.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.4386, allocations: 4 kB / 492.7 MB, free: 7.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002868/0.4415, allocations: 1.218 MB / 493.9 MB, free: 5.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.4415, allocations: 55.41 kB / 493.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4416, allocations: 129.8 kB / 494.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.4417, allocations: 29.7 kB / 494.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.4418, allocations: 108.9 kB / 494.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4419, allocations: 162.5 kB / 494.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.442, allocations: 57.7 kB / 494.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4421, allocations: 334.8 kB / 494.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.4424, allocations: 124.5 kB / 494.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.4427, allocations: 193.2 kB / 495 MB, free: 4.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.4432, allocations: 340.8 kB / 495.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4432, allocations: 0 / 495.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001078/0.4443, allocations: 493.9 kB / 495.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4443, allocations: 8 kB / 495.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4444, allocations: 0 / 495.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/0.4451, allocations: 144.8 kB / 496 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.4453, allocations: 39.86 kB / 496 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006321/0.4459, allocations: 0.6498 MB / 496.7 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4461, allocations: 12.12 kB / 496.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.4461, allocations: 12 kB / 496.7 MB, free: 2.859 MB / 366.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 0.0001339/0.4463, allocations: 134.5 kB / 496.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.4463, allocations: 23.84 kB / 496.9 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.4464, allocations: 26.22 kB / 496.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4464, allocations: 11.98 kB / 496.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4464, allocations: 0 / 496.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4464, allocations: 0 / 496.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.4468, allocations: 298.1 kB / 497.2 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4468, allocations: 4 kB / 497.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.447, allocations: 39.97 kB / 497.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.4474, allocations: 68.72 kB / 497.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.4474, allocations: 11.94 kB / 497.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.4489, allocations: 1.552 MB / 498.9 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4489, allocations: 4.031 kB / 498.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.45, allocations: 0.7016 MB / 499.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.4501, allocations: 93 kB / 499.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4501, allocations: 8 kB / 499.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.4503, allocations: 7.984 kB / 499.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.4503, allocations: 23.72 kB / 499.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.4504, allocations: 8 kB / 499.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.4504, allocations: 104 kB / 499.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4504, allocations: 0 / 499.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000416/0.4508, allocations: 64 kB / 499.9 MB, free: 15.43 MB / 382.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.0003255/0.4512, allocations: 176.8 kB / 0.4883 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008348/0.452, allocations: 365.3 kB / 0.4887 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.452, allocations: 0 / 0.4887 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005996/0.4526, allocations: 319.3 kB / 0.489 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.4533, allocations: 83.84 kB / 0.4891 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4543, allocations: 0.6736 MB / 0.4897 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4547, allocations: 0.7332 MB / 0.4904 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.4549, allocations: 117.3 kB / 0.4906 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.4549, allocations: 15.44 kB / 0.4906 GB, free: 12.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4549, allocations: 0 / 0.4906 GB, free: 12.89 MB / 382.1 MB Notification: Performance of Templates: time 0.009265/0.4642, allocations: 5.244 MB / 0.4957 GB, free: 7.676 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)