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.001694/0.001694, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001779/0.001779, allocations: 191.6 kB / 16.25 MB, free: 6.637 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.124/0.124, allocations: 2.765 MB / 292.8 MB, free: 3.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 59.91 kB / 353.9 MB, free: 4.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08675, allocations: 50.24 MB / 404.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.1883/0.2751, allocations: 50.32 MB / 454.5 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.2915, allocations: 28.88 MB / 483.3 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007336/0.2923, allocations: 6.938 kB / 483.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.2938, allocations: 0.5665 MB / 483.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.2991, allocations: 2.056 MB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007698/0.3068, allocations: 2.712 MB / 488.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3081, allocations: 0.9186 MB / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3082, allocations: 57 kB / 489.7 MB, free: 12.88 MB / 366.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.7052/1.013, allocations: 50.59 MB / 0.5276 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006393/1.014, allocations: 302.6 kB / 0.5279 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/1.014, allocations: 43.98 kB / 0.5279 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3507/1.365, allocations: 26.72 MB / 0.554 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/1.365, allocations: 111.5 kB / 0.5541 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/1.366, allocations: 342.4 kB / 0.5544 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006988/1.373, allocations: 1.836 MB / 0.5562 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.373, allocations: 3.938 kB / 0.5562 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/1.373, allocations: 0 / 0.5562 GB, free: 12.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/1.373, allocations: 0 / 0.5562 GB, free: 12.78 MB / 430.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.001606/1.374, allocations: 1.092 MB / 0.5573 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.374, allocations: 16.02 kB / 0.5573 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/1.376, allocations: 0.4996 MB / 0.5578 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/1.377, allocations: 339.4 kB / 0.5581 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/1.377, allocations: 46.06 kB / 0.5582 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/1.377, allocations: 56 kB / 0.5582 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.378, allocations: 0.8762 MB / 0.5591 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.378, allocations: 3.938 kB / 0.5591 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/1.378, allocations: 24 kB / 0.5591 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/1.378, allocations: 31.98 kB / 0.5591 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.38, allocations: 0.7 MB / 0.5598 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/1.383, allocations: 5.028 MB / 0.5647 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/1.384, allocations: 329.7 kB / 0.5651 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/1.384, allocations: 213.6 kB / 0.5653 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.385, allocations: 1.527 MB / 0.5667 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.386, allocations: 46.48 kB / 0.5668 GB, free: 1.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.934e-06/1.386, allocations: 0 / 0.5668 GB, free: 1.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001399/1.387, allocations: 0.5924 MB / 0.5674 GB, free: 452 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/1.387, allocations: 81.11 kB / 0.5675 GB, free: 352 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/1.387, allocations: 182.2 kB / 0.5676 GB, free: 160 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/1.387, allocations: 29.7 kB / 0.5677 GB, free: 124 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/1.387, allocations: 283.6 kB / 0.5679 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/1.388, allocations: 228.5 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.388, allocations: 94 kB / 0.5682 GB, free: 15.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/1.388, allocations: 346.8 kB / 0.5686 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.388, allocations: 117.3 kB / 0.5687 GB, free: 15.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/1.388, allocations: 300 kB / 0.569 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/1.389, allocations: 488.5 kB / 0.5694 GB, free: 14.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.389, allocations: 0 / 0.5694 GB, free: 14.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000688/1.39, allocations: 484.5 kB / 0.5699 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.39, allocations: 11.98 kB / 0.5699 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.39, allocations: 11.88 kB / 0.5699 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.39, allocations: 8 kB / 0.5699 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/1.39, allocations: 67.91 kB / 0.57 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.39, allocations: 11.94 kB / 0.57 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/1.39, allocations: 83.62 kB / 0.5701 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/1.39, allocations: 20.16 kB / 0.5701 GB, free: 13.43 MB / 446.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.completeState.state.phase,medium2.baseProperties.phaseOutput,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.39, allocations: 193.7 kB / 0.5703 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/1.391, allocations: 27.62 kB / 0.5703 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.392, allocations: 1.17 MB / 0.5714 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001068/1.393, allocations: 0.9651 MB / 0.5724 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.393, allocations: 4.094 kB / 0.5724 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.393, allocations: 7.922 kB / 0.5724 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/1.396, allocations: 2.301 MB / 0.5746 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.396, allocations: 3.938 kB / 0.5747 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/1.396, allocations: 115.8 kB / 0.5748 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/1.396, allocations: 7.938 kB / 0.5748 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/1.396, allocations: 15.98 kB / 0.5748 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.396, allocations: 4 kB / 0.5748 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.396, allocations: 3.984 kB / 0.5748 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/1.397, allocations: 0.8714 MB / 0.5756 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/1.397, allocations: 136.2 kB / 0.5758 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/1.397, allocations: 16 kB / 0.5758 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/1.398, allocations: 87.48 kB / 0.5759 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/1.398, allocations: 43.94 kB / 0.5759 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/1.398, allocations: 16 kB / 0.5759 GB, free: 7.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.167e-05/1.398, allocations: 132.8 kB / 0.5761 GB, free: 7.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.398, allocations: 0 / 0.5761 GB, free: 7.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007476/1.399, allocations: 223.4 kB / 0.5763 GB, free: 6.984 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005107/1.399, allocations: 312.6 kB / 0.5766 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/1.401, allocations: 0.7729 MB / 0.5773 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.401, allocations: 0 / 0.5773 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/1.401, allocations: 370.6 kB / 0.5777 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.403, allocations: 349.9 kB / 0.578 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.405, allocations: 1.64 MB / 0.5796 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/1.405, allocations: 0.956 MB / 0.5805 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/1.406, allocations: 129.1 kB / 0.5807 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/1.406, allocations: 51.38 kB / 0.5807 GB, free: 2.336 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/1.406, allocations: 0 / 0.5807 GB, free: 2.336 MB / 446.1 MB Notification: Performance of Templates: time 0.1664/1.572, allocations: 13.11 MB / 0.5935 GB, free: 141.6 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile (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)