Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, 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.001393/0.001394, 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.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1409/0.1409, allocations: 2.784 MB / 293.9 MB, free: 4.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 8 kB / 355.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 51.25 MB / 406.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2748/0.3954, allocations: 46.62 MB / 453.5 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01995/0.4154, allocations: 26.73 MB / 480.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009888/0.4165, allocations: 10.59 kB / 480.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.4183, allocations: 0.54 MB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.4245, allocations: 1.943 MB / 482.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008291/0.4328, allocations: 2.52 MB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.4341, allocations: 0.8665 MB / 486.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4342, allocations: 56.78 kB / 486.1 MB, free: 1.543 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.08145/0.5157, allocations: 42.92 MB / 0.5167 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007919/0.5165, allocations: 286.7 kB / 0.5169 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.5166, allocations: 20 kB / 0.517 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04225/0.5588, allocations: 22.94 MB / 0.5394 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.5591, allocations: 87.48 kB / 0.5394 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.5595, allocations: 161.4 kB / 0.5396 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.5623, allocations: 1.344 MB / 0.5409 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.5624, allocations: 7.938 kB / 0.5409 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5624, allocations: 0 / 0.5409 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.5624, allocations: 0 / 0.5409 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001571/0.564, allocations: 1.004 MB / 0.5419 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.564, allocations: 11.97 kB / 0.5419 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.5661, allocations: 0.5073 MB / 0.5424 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.5666, allocations: 338.1 kB / 0.5427 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.5667, allocations: 45.31 kB / 0.5428 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.5668, allocations: 56 kB / 0.5428 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.5684, allocations: 0.8724 MB / 0.5437 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5684, allocations: 3.938 kB / 0.5437 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.5685, allocations: 24 kB / 0.5437 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.5685, allocations: 31.98 kB / 0.5437 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.5699, allocations: 0.7157 MB / 0.5444 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.5741, allocations: 5.143 MB / 0.5495 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.5748, allocations: 333.7 kB / 0.5498 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.5752, allocations: 229.7 kB / 0.55 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.5767, allocations: 1.535 MB / 0.5515 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.5768, allocations: 38.52 kB / 0.5515 GB, free: 2.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 2.385e-06/0.5768, allocations: 4 kB / 0.5515 GB, free: 2.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.001497/0.5783, allocations: 0.6041 MB / 0.5521 GB, free: 2.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.5783, allocations: 85.05 kB / 0.5522 GB, free: 1.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.5785, allocations: 194.1 kB / 0.5524 GB, free: 1.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5786, allocations: 29.7 kB / 0.5524 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.5787, allocations: 283.5 kB / 0.5527 GB, free: 1.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5789, allocations: 232.5 kB / 0.5529 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.5789, allocations: 8 kB / 0.5529 GB, free: 1.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.579, allocations: 342.8 kB / 0.5532 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.5792, allocations: 121.3 kB / 0.5534 GB, free: 0.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.5796, allocations: 308 kB / 0.5537 GB, free: 336 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.5799, allocations: 179.6 kB / 0.5538 GB, free: 156 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5799, allocations: 4 kB / 0.5538 GB, free: 152 kB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007454/0.5806, allocations: 488.1 kB / 0.5543 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5806, allocations: 12.67 kB / 0.5543 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5807, allocations: 4 kB / 0.5543 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5807, allocations: 16 kB / 0.5543 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5811, allocations: 79.84 kB / 0.5544 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005972/0.5817, allocations: 1.184 MB / 0.5556 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.5821, allocations: 83.42 kB / 0.5556 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.5821, allocations: 20 kB / 0.5557 GB, free: 14.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002457/0.5824, allocations: 189.7 kB / 0.5558 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.5824, allocations: 31.53 kB / 0.5559 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.584, allocations: 1.344 MB / 0.5572 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001347/0.5853, allocations: 1.154 MB / 0.5583 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.5854, allocations: 3.938 kB / 0.5583 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.5854, allocations: 3.984 kB / 0.5583 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.5887, allocations: 2.511 MB / 0.5608 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5887, allocations: 0 / 0.5608 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.5891, allocations: 111.8 kB / 0.5609 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.5895, allocations: 307.9 kB / 0.5612 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.5896, allocations: 16 kB / 0.5612 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007775/0.5904, allocations: 1.257 MB / 0.5624 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5904, allocations: 4.188 kB / 0.5624 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.5916, allocations: 1.173 MB / 0.5636 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5918, allocations: 132.3 kB / 0.5637 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.5919, allocations: 12 kB / 0.5637 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.5923, allocations: 95.48 kB / 0.5638 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.5923, allocations: 39.94 kB / 0.5638 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.5924, allocations: 16 kB / 0.5638 GB, free: 5.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.5925, allocations: 124.8 kB / 0.564 GB, free: 5.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5925, allocations: 0 / 0.564 GB, free: 5.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008445/0.5934, allocations: 227.4 kB / 0.5642 GB, free: 5.305 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005767/0.5939, allocations: 317.5 kB / 0.5645 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.5951, allocations: 0.7686 MB / 0.5652 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5951, allocations: 0 / 0.5652 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.5956, allocations: 386 kB / 0.5656 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.5972, allocations: 340.8 kB / 0.5659 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.5993, allocations: 1.639 MB / 0.5675 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.5999, allocations: 0.9677 MB / 0.5685 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.6003, allocations: 117.2 kB / 0.5686 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.6004, allocations: 43.44 kB / 0.5686 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6004, allocations: 0 / 0.5686 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of Templates: time 0.02125/0.6216, allocations: 12.3 MB / 0.5806 GB, free: 4.609 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) Environment - environmentSimulation: