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.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001008/0.001008, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1259/0.1259, allocations: 2.762 MB / 292.7 MB, free: 3.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 55.91 kB / 353.7 MB, free: 5.062 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08275, allocations: 50.24 MB / 404 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.00824/0.09102, allocations: 9.026 MB / 413 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006104/0.09716, allocations: 8.537 MB / 421.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.09728, allocations: 0 / 421.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.09778, allocations: 163.1 kB / 421.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.09813, allocations: 95.34 kB / 421.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.163/0.2611, allocations: 1.338 MB / 423.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.2616, allocations: 303.7 kB / 423.4 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.2616, allocations: 13.44 kB / 423.4 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.1822/0.4438, allocations: 11.69 MB / 435.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.4441, allocations: 87 kB / 435.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.4441, allocations: 3.031 kB / 435.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.446, allocations: 0.4919 MB / 435.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.4461, allocations: 35.92 kB / 435.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.4463, allocations: 87.5 kB / 435.8 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.4483, allocations: 0.5002 MB / 436.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4483, allocations: 7.422 kB / 436.3 MB, free: 33.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4483, allocations: 0 / 436.3 MB, free: 33.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.4483, allocations: 0 / 436.3 MB, free: 33.53 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.0009192/0.4493, allocations: 0.5513 MB / 436.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4493, allocations: 6.719 kB / 436.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.4497, allocations: 54.33 kB / 436.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4499, allocations: 218 kB / 437.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4499, allocations: 7.531 kB / 437.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.45, allocations: 14.56 kB / 437.2 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.4505, allocations: 240.2 kB / 437.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4505, allocations: 0 / 437.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.4505, allocations: 10.48 kB / 437.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4505, allocations: 9.719 kB / 437.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.451, allocations: 200.1 kB / 437.6 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.4517, allocations: 0.6847 MB / 438.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.4522, allocations: 229.3 kB / 438.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.4524, allocations: 152.8 kB / 438.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.4526, allocations: 330.6 kB / 439 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.4526, allocations: 33.53 kB / 439 MB, free: 31.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.4526, allocations: 3.984 kB / 439 MB, free: 31.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002554/0.4552, allocations: 1.212 MB / 440.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.4552, allocations: 54.66 kB / 440.3 MB, free: 31.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.4553, allocations: 128.2 kB / 440.4 MB, free: 31.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4553, allocations: 28.64 kB / 440.5 MB, free: 31.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.4554, allocations: 112.5 kB / 440.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.4554, allocations: 152 kB / 440.7 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.4555, allocations: 63.69 kB / 440.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.4556, allocations: 328.1 kB / 441.1 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4558, allocations: 128.2 kB / 441.2 MB, free: 30.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.456, allocations: 186 kB / 441.4 MB, free: 30.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.4565, allocations: 349.1 kB / 441.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4565, allocations: 3.25 kB / 441.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009578/0.4575, allocations: 486.5 kB / 442.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4575, allocations: 6.219 kB / 442.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4575, allocations: 0 / 442.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/0.4582, allocations: 152 kB / 442.4 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4583, allocations: 31.41 kB / 442.4 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.4588, allocations: 0.6481 MB / 443.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.4589, allocations: 21.27 kB / 443.1 MB, free: 30.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.459, allocations: 9.281 kB / 443.1 MB, free: 30.19 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 0.0001045/0.4591, allocations: 133.8 kB / 443.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.4591, allocations: 14.22 kB / 443.2 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.46, allocations: 0.7184 MB / 443.9 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.46, allocations: 6.625 kB / 444 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.46, allocations: 0 / 444 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.46, allocations: 6.406 kB / 444 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.4604, allocations: 384.7 kB / 444.3 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4604, allocations: 4 kB / 444.3 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.4605, allocations: 39.95 kB / 444.4 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.4608, allocations: 77.22 kB / 444.5 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4608, allocations: 10.48 kB / 444.5 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007102/0.4615, allocations: 1.307 MB / 445.8 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4615, allocations: 0 / 445.8 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.4625, allocations: 0.8341 MB / 446.6 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.4625, allocations: 92.02 kB / 446.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.4626, allocations: 6.906 kB / 446.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4627, allocations: 10.55 kB / 446.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4628, allocations: 24.28 kB / 446.7 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4628, allocations: 10.3 kB / 446.7 MB, free: 28.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.4628, allocations: 99.77 kB / 446.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4628, allocations: 0 / 446.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.4632, allocations: 66.41 kB / 446.9 MB, free: 28.15 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.0002671/0.4635, allocations: 179.5 kB / 447.1 MB, free: 28.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.4642, allocations: 351.7 kB / 447.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4642, allocations: 0 / 447.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.4647, allocations: 321.7 kB / 447.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.4653, allocations: 96.17 kB / 447.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/0.4662, allocations: 0.7322 MB / 448.6 MB, free: 27.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.4663, allocations: 0.7356 MB / 449.3 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.4665, allocations: 42.78 kB / 449.3 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.4665, allocations: 20.19 kB / 449.4 MB, free: 26.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4665, allocations: 0 / 449.4 MB, free: 26.6 MB / 350.1 MB Notification: Performance of Templates: time 0.007781/0.4743, allocations: 4.81 MB / 454.2 MB, free: 26.2 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)