Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008781/0.0008781, allocations: 168.7 kB / 15.95 MB, free: 204 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1853/0.1853, allocations: 2.78 MB / 293.9 MB, free: 4.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 8 kB / 355.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 51.25 MB / 406.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.26/0.3955, allocations: 46.58 MB / 453.5 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.4152, allocations: 26.73 MB / 480.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.4161, allocations: 4 kB / 480.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.4178, allocations: 0.5368 MB / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008044/0.4258, allocations: 1.942 MB / 482.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008885/0.4348, allocations: 2.518 MB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.436, allocations: 0.8646 MB / 486.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4361, allocations: 57.28 kB / 486.1 MB, free: 1.594 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.08302/0.5191, allocations: 42.91 MB / 0.5166 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.5202, allocations: 278.8 kB / 0.5169 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.5203, allocations: 20 kB / 0.5169 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04313/0.5634, allocations: 22.96 MB / 0.5393 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.5638, allocations: 83.62 kB / 0.5394 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.5642, allocations: 153.5 kB / 0.5396 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.5682, allocations: 1.352 MB / 0.5409 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.5682, allocations: 0 / 0.5409 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.5682, allocations: 0 / 0.5409 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.5683, allocations: 0 / 0.5409 GB, free: 14.47 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.001784/0.57, allocations: 0.9907 MB / 0.5418 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5701, allocations: 11.97 kB / 0.5418 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.5721, allocations: 0.5034 MB / 0.5423 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.5726, allocations: 342.2 kB / 0.5427 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.5726, allocations: 45.31 kB / 0.5427 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.5727, allocations: 52 kB / 0.5428 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.5742, allocations: 0.8724 MB / 0.5436 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.5742, allocations: 11.94 kB / 0.5436 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.5743, allocations: 28 kB / 0.5437 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.5744, allocations: 31.98 kB / 0.5437 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.5756, allocations: 0.7157 MB / 0.5444 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.5797, allocations: 5.042 MB / 0.5493 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.5804, allocations: 325.7 kB / 0.5496 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.5807, allocations: 221.7 kB / 0.5498 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.5822, allocations: 1.519 MB / 0.5513 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.5823, allocations: 38.52 kB / 0.5513 GB, free: 2.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 2.334e-06/0.5823, allocations: 4 kB / 0.5514 GB, free: 2.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.001443/0.5837, allocations: 0.5963 MB / 0.5519 GB, free: 2.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.5838, allocations: 85.05 kB / 0.552 GB, free: 2.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.584, allocations: 178.2 kB / 0.5522 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.584, allocations: 33.7 kB / 0.5522 GB, free: 1.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.5842, allocations: 295.4 kB / 0.5525 GB, free: 1.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.5844, allocations: 224.5 kB / 0.5527 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.5844, allocations: 8 kB / 0.5527 GB, free: 1.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5845, allocations: 342.8 kB / 0.553 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5848, allocations: 117.3 kB / 0.5532 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.5851, allocations: 308 kB / 0.5535 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.5854, allocations: 183.6 kB / 0.5536 GB, free: 344 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5854, allocations: 0 / 0.5536 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007301/0.5861, allocations: 480.1 kB / 0.5541 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5862, allocations: 12.67 kB / 0.5541 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5862, allocations: 7.984 kB / 0.5541 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.5862, allocations: 16 kB / 0.5541 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.5865, allocations: 71.84 kB / 0.5542 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.5865, allocations: 11.94 kB / 0.5542 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.5869, allocations: 87.25 kB / 0.5543 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.5869, allocations: 20 kB / 0.5543 GB, free: 15.63 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): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002988/0.5872, allocations: 189.7 kB / 0.5545 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.5873, allocations: 27.62 kB / 0.5545 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.5888, allocations: 1.168 MB / 0.5556 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001125/0.5899, allocations: 0.9727 MB / 0.5566 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5899, allocations: 4 kB / 0.5566 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5899, allocations: 7.969 kB / 0.5566 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.5927, allocations: 2.291 MB / 0.5588 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5927, allocations: 0 / 0.5588 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.5931, allocations: 123.8 kB / 0.559 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5931, allocations: 4 kB / 0.559 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.5931, allocations: 12 kB / 0.559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.5932, allocations: 8.266 kB / 0.559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5932, allocations: 3.953 kB / 0.559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5942, allocations: 0.8675 MB / 0.5598 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5943, allocations: 140.1 kB / 0.56 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.5944, allocations: 12 kB / 0.56 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.5948, allocations: 95.48 kB / 0.5601 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.5949, allocations: 47.83 kB / 0.5601 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.5949, allocations: 20 kB / 0.5601 GB, free: 9.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.744e-05/0.595, allocations: 120.8 kB / 0.5603 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.595, allocations: 0 / 0.5603 GB, free: 9.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009017/0.596, allocations: 235.3 kB / 0.5605 GB, free: 9.199 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 (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005835/0.5965, allocations: 307.4 kB / 0.5608 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.5976, allocations: 0.7498 MB / 0.5615 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5976, allocations: 4 kB / 0.5615 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.598, allocations: 366 kB / 0.5619 GB, free: 7.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5996, allocations: 336.2 kB / 0.5622 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.6019, allocations: 1.625 MB / 0.5638 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.6025, allocations: 0.9487 MB / 0.5647 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.6029, allocations: 141.1 kB / 0.5648 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.603, allocations: 51.38 kB / 0.5649 GB, free: 4.641 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.603, allocations: 0 / 0.5649 GB, free: 4.641 MB / 430.1 MB Notification: Performance of Templates: time 0.02065/0.6237, allocations: 11.92 MB / 0.5765 GB, free: 8.934 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) Environment - environmentSimulation: