Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 84.38 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.001523/0.001523, 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1412/0.1412, allocations: 2.79 MB / 293.9 MB, free: 4.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 11.98 kB / 355.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09976, allocations: 51.26 MB / 406.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.237/0.3368, allocations: 46.59 MB / 453.5 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.3557, allocations: 26.73 MB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009061/0.3567, allocations: 3 kB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3584, allocations: 0.5448 MB / 480.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.3658, allocations: 1.936 MB / 482.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008853/0.3747, allocations: 2.511 MB / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.3761, allocations: 0.8645 MB / 486 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3763, allocations: 57.28 kB / 486.1 MB, free: 1.508 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.08077/0.457, allocations: 42.92 MB / 0.5166 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.4579, allocations: 290.7 kB / 0.5169 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.458, allocations: 20 kB / 0.5169 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0412/0.4992, allocations: 22.94 MB / 0.5393 GB, free: 64 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.4995, allocations: 95.56 kB / 0.5394 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.4999, allocations: 161.4 kB / 0.5396 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.5025, allocations: 1.34 MB / 0.5409 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.5025, allocations: 4 kB / 0.5409 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5025, allocations: 0 / 0.5409 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.5026, 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.00133/0.5039, allocations: 0.9984 MB / 0.5418 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5039, allocations: 8.031 kB / 0.5419 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.5059, allocations: 0.4995 MB / 0.5423 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.5063, allocations: 338.2 kB / 0.5427 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.5063, allocations: 45.31 kB / 0.5427 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.5064, allocations: 60 kB / 0.5428 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5078, allocations: 0.8685 MB / 0.5436 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5078, allocations: 3.938 kB / 0.5436 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.5078, allocations: 24 kB / 0.5436 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.5079, allocations: 35.97 kB / 0.5437 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.5091, allocations: 0.7157 MB / 0.5444 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.5129, allocations: 4.968 MB / 0.5492 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.5136, allocations: 353.1 kB / 0.5496 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.5139, allocations: 225.7 kB / 0.5498 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.5152, allocations: 1.539 MB / 0.5513 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5153, allocations: 46.5 kB / 0.5513 GB, free: 2.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 1.944e-06/0.5153, allocations: 0 / 0.5513 GB, free: 2.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.001545/0.5168, allocations: 0.6117 MB / 0.5519 GB, free: 2.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5169, allocations: 85.05 kB / 0.552 GB, free: 2.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.5171, allocations: 175.6 kB / 0.5522 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.5171, allocations: 33.7 kB / 0.5522 GB, free: 1.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5173, allocations: 271.7 kB / 0.5525 GB, free: 1.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.5174, allocations: 244.3 kB / 0.5527 GB, free: 1.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.5175, allocations: 8 kB / 0.5527 GB, free: 1.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5176, allocations: 334.8 kB / 0.553 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.5179, allocations: 125.3 kB / 0.5531 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.5183, allocations: 286 kB / 0.5534 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.5186, allocations: 175.4 kB / 0.5536 GB, free: 388 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5186, allocations: 4 kB / 0.5536 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000767/0.5194, allocations: 468.7 kB / 0.554 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5194, allocations: 8 kB / 0.554 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5194, allocations: 4 kB / 0.554 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.5194, allocations: 12.33 kB / 0.5541 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.5197, allocations: 79.83 kB / 0.5541 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5197, allocations: 4 kB / 0.5541 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.5201, allocations: 83.31 kB / 0.5542 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.5201, allocations: 23.94 kB / 0.5542 GB, free: 15.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * 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.0002439/0.5203, allocations: 197.7 kB / 0.5544 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.5204, allocations: 27.62 kB / 0.5545 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.5219, allocations: 1.176 MB / 0.5556 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001179/0.5231, allocations: 0.9795 MB / 0.5566 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.5231, allocations: 3.953 kB / 0.5566 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5231, allocations: 3.984 kB / 0.5566 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.5261, allocations: 2.322 MB / 0.5588 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5261, allocations: 0 / 0.5588 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5265, allocations: 123.8 kB / 0.559 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.5265, allocations: 4 kB / 0.559 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.5265, allocations: 15.94 kB / 0.559 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.5265, allocations: 4 kB / 0.559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5265, allocations: 3.984 kB / 0.559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5276, allocations: 0.8793 MB / 0.5598 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5277, allocations: 132.3 kB / 0.56 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.5278, allocations: 16 kB / 0.56 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.5282, allocations: 99.48 kB / 0.5601 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.5283, allocations: 47.92 kB / 0.5601 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5283, allocations: 20 kB / 0.5601 GB, free: 9.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.5284, allocations: 116.1 kB / 0.5603 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5284, allocations: 0 / 0.5603 GB, free: 9.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.5293, allocations: 243.2 kB / 0.5605 GB, free: 9.191 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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,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 (78): * Single equations (assignments): 74 * 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.0007349/0.53, allocations: 317.9 kB / 0.5608 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.5313, allocations: 0.7568 MB / 0.5615 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5314, allocations: 4.375 kB / 0.5615 GB, free: 8.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.5319, allocations: 379 kB / 0.5619 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.5335, allocations: 328.5 kB / 0.5622 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.5359, allocations: 1.644 MB / 0.5638 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.5365, allocations: 0.9573 MB / 0.5647 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005264/0.5371, allocations: 137.1 kB / 0.5649 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.5372, allocations: 47.44 kB / 0.5649 GB, free: 4.602 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5372, allocations: 0 / 0.5649 GB, free: 4.602 MB / 430.1 MB Notification: Performance of Templates: time 0.02112/0.5583, allocations: 12.29 MB / 0.5769 GB, free: 8.539 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) Environment - environmentSimulation: