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.0009476/0.0009475, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000926/0.000926, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1354/0.1354, allocations: 2.788 MB / 293.9 MB, free: 4.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 8 kB / 355.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 51.26 MB / 406.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.00867/0.1128, allocations: 8.18 MB / 415.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.1198, allocations: 7.879 MB / 422.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.12, allocations: 0 / 422.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.1205, allocations: 147.3 kB / 423.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.1209, allocations: 87.39 kB / 423.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2108/0.3316, allocations: 1.268 MB / 424.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.3321, allocations: 274.8 kB / 424.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.465e-05/0.3322, allocations: 13.83 kB / 424.7 MB, free: 35.83 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.02735/0.3596, allocations: 10.8 MB / 435.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.3599, allocations: 83.98 kB / 435.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.3599, allocations: 9.016 kB / 435.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.3622, allocations: 483.9 kB / 436.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.3623, allocations: 30.86 kB / 436.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.3624, allocations: 58.17 kB / 436.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.363, allocations: 377 kB / 436.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.363, allocations: 0 / 436.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.363, allocations: 0 / 436.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.363, allocations: 3.656 kB / 436.5 MB, free: 35.21 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.0007073/0.3637, allocations: 0.5373 MB / 437.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3638, allocations: 9.562 kB / 437.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.3641, allocations: 58.77 kB / 437.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3643, allocations: 203.7 kB / 437.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.3643, allocations: 6.188 kB / 437.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.3643, allocations: 14.81 kB / 437.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.3648, allocations: 246.1 kB / 437.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3649, allocations: 0 / 437.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.3649, allocations: 6.188 kB / 437.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3649, allocations: 7.219 kB / 437.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.3654, allocations: 214.6 kB / 437.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/0.3661, allocations: 0.683 MB / 438.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.3666, allocations: 237.6 kB / 438.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.3668, allocations: 157.4 kB / 438.9 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.367, allocations: 328.2 kB / 439.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3671, allocations: 41.03 kB / 439.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.3671, allocations: 4 kB / 439.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002441/0.3695, allocations: 1.235 MB / 440.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3696, allocations: 54.53 kB / 440.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.3696, allocations: 126.9 kB / 440.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3697, allocations: 29.64 kB / 440.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.3697, allocations: 112.8 kB / 440.8 MB, free: 33.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.3698, allocations: 159.3 kB / 441 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.3698, allocations: 3.938 kB / 441 MB, free: 32.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.3699, allocations: 335.9 kB / 441.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3701, allocations: 128.6 kB / 441.4 MB, free: 32.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3703, allocations: 197.1 kB / 441.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3705, allocations: 153.9 kB / 441.8 MB, free: 32.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3705, allocations: 3.062 kB / 441.8 MB, free: 32.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009767/0.3715, allocations: 475.1 kB / 442.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3715, allocations: 13.45 kB / 442.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.3716, allocations: 3.188 kB / 442.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.3722, allocations: 151.7 kB / 442.4 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3724, allocations: 40.69 kB / 442.4 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004732/0.3729, allocations: 0.6488 MB / 443.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.373, allocations: 13.7 kB / 443.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.373, allocations: 6.562 kB / 443.1 MB, free: 31.96 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.state.phase,medium.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.3732, allocations: 138.6 kB / 443.2 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.3732, allocations: 16.47 kB / 443.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009367/0.3741, allocations: 0.7205 MB / 444 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.3742, allocations: 13.95 kB / 444 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3742, allocations: 0 / 444 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3742, allocations: 3.953 kB / 444 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.3745, allocations: 387.2 kB / 444.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3745, allocations: 0 / 444.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3747, allocations: 39.42 kB / 444.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.3749, allocations: 88.59 kB / 444.5 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.375, allocations: 7.188 kB / 444.5 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007631/0.3757, allocations: 1.306 MB / 445.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3758, allocations: 0 / 445.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.3767, allocations: 0.8438 MB / 446.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.3768, allocations: 99.44 kB / 446.7 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3768, allocations: 7.219 kB / 446.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3769, allocations: 13.89 kB / 446.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.377, allocations: 23.81 kB / 446.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.377, allocations: 6.188 kB / 446.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.3771, allocations: 97.12 kB / 446.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 0 / 446.9 MB, free: 29.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.3774, allocations: 65.55 kB / 447 MB, free: 29.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.3778, allocations: 178.5 kB / 447.1 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.3784, allocations: 371 kB / 447.5 MB, free: 29.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3784, allocations: 0 / 447.5 MB, free: 29.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.3788, allocations: 292.6 kB / 447.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.3794, allocations: 98.94 kB / 447.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.3804, allocations: 0.8084 MB / 448.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.3806, allocations: 0.7374 MB / 449.4 MB, free: 28.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.3807, allocations: 40.38 kB / 449.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.3808, allocations: 25.95 kB / 449.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3808, allocations: 0 / 449.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of Templates: time 0.007549/0.3883, allocations: 4.539 MB / 454 MB, free: 28.25 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: