Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1247/0.1247, allocations: 2.758 MB / 292.7 MB, free: 3.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.001031, allocations: 55.92 kB / 353.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09392, allocations: 50.23 MB / 404 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2208/0.3147, allocations: 50.42 MB / 454.4 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.3338, allocations: 28.97 MB / 483.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.3346, allocations: 3 kB / 483.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.3364, allocations: 0.574 MB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.3439, allocations: 2.051 MB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008171/0.3521, allocations: 2.712 MB / 488.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.3533, allocations: 0.9685 MB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3534, allocations: 63.59 kB / 489.7 MB, free: 12.82 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.9204/1.274, allocations: 47.06 MB / 0.5242 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009842/1.275, allocations: 306.5 kB / 0.5245 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/1.275, allocations: 20 kB / 0.5245 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3484/1.623, allocations: 25.06 MB / 0.549 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003474/1.624, allocations: 83.55 kB / 0.5491 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008389/1.625, allocations: 326.3 kB / 0.5494 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007789/1.632, allocations: 1.824 MB / 0.5512 GB, free: 2.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.632, allocations: 0 / 0.5512 GB, free: 2.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/1.632, allocations: 0 / 0.5512 GB, free: 2.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.475e-05/1.632, allocations: 0 / 0.5512 GB, free: 2.008 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.002243/1.635, allocations: 1.1 MB / 0.5522 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.635, allocations: 12.03 kB / 0.5522 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/1.637, allocations: 0.4958 MB / 0.5527 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/1.637, allocations: 339.5 kB / 0.5531 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/1.637, allocations: 46.06 kB / 0.5531 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/1.638, allocations: 59.94 kB / 0.5532 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/1.639, allocations: 0.8762 MB / 0.554 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/1.639, allocations: 3.938 kB / 0.554 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/1.64, allocations: 28 kB / 0.554 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/1.64, allocations: 27.98 kB / 0.5541 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.641, allocations: 0.7 MB / 0.5548 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/1.645, allocations: 4.97 MB / 0.5596 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/1.646, allocations: 345.2 kB / 0.5599 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/1.646, allocations: 229.5 kB / 0.5602 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/1.648, allocations: 1.547 MB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/1.648, allocations: 38.56 kB / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.014e-06/1.648, allocations: 0 / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001804/1.65, allocations: 0.6232 MB / 0.5623 GB, free: 5.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/1.65, allocations: 84.98 kB / 0.5624 GB, free: 5.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/1.65, allocations: 171.6 kB / 0.5626 GB, free: 5.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/1.65, allocations: 33.7 kB / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/1.65, allocations: 271.7 kB / 0.5628 GB, free: 5.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/1.65, allocations: 244.3 kB / 0.5631 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.651, allocations: 97.91 kB / 0.5632 GB, free: 4.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/1.651, allocations: 338.8 kB / 0.5635 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/1.651, allocations: 129.2 kB / 0.5636 GB, free: 4.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/1.651, allocations: 289.4 kB / 0.5639 GB, free: 3.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/1.652, allocations: 470.8 kB / 0.5643 GB, free: 3.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.652, allocations: 7.938 kB / 0.5644 GB, free: 3.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008891/1.653, allocations: 476.1 kB / 0.5648 GB, free: 2.891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.653, allocations: 8 kB / 0.5648 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.653, allocations: 7.938 kB / 0.5648 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/1.653, allocations: 8 kB / 0.5648 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/1.653, allocations: 67.84 kB / 0.5649 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/1.653, allocations: 12.48 kB / 0.5649 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/1.654, allocations: 83.27 kB / 0.565 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/1.654, allocations: 16 kB / 0.565 GB, free: 2.691 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.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002648/1.654, allocations: 197.7 kB / 0.5652 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/1.654, allocations: 27.62 kB / 0.5652 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.656, allocations: 1.189 MB / 0.5664 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001257/1.657, allocations: 0.9865 MB / 0.5673 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.657, allocations: 4 kB / 0.5673 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.657, allocations: 3.984 kB / 0.5673 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/1.66, allocations: 2.326 MB / 0.5696 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.66, allocations: 7.938 kB / 0.5696 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/1.661, allocations: 119.8 kB / 0.5697 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.661, allocations: 4 kB / 0.5697 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/1.661, allocations: 15.94 kB / 0.5698 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.661, allocations: 4 kB / 0.5698 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.661, allocations: 0 / 0.5698 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.662, allocations: 0.8908 MB / 0.5706 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/1.662, allocations: 144.1 kB / 0.5708 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/1.662, allocations: 16 kB / 0.5708 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/1.663, allocations: 83.55 kB / 0.5709 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/1.663, allocations: 51.92 kB / 0.5709 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/1.663, allocations: 20 kB / 0.5709 GB, free: 12.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.93e-05/1.663, allocations: 120.1 kB / 0.571 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.663, allocations: 0 / 0.571 GB, free: 12.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008331/1.664, allocations: 235.4 kB / 0.5713 GB, free: 12.15 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: 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 (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.000621/1.665, allocations: 329.8 kB / 0.5716 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/1.666, allocations: 0.7491 MB / 0.5723 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.666, allocations: 0 / 0.5723 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/1.666, allocations: 382.4 kB / 0.5727 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.668, allocations: 333.1 kB / 0.573 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/1.671, allocations: 1.643 MB / 0.5746 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/1.671, allocations: 0.9689 MB / 0.5755 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004898/1.672, allocations: 129.1 kB / 0.5757 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/1.672, allocations: 47.44 kB / 0.5757 GB, free: 7.504 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/1.672, allocations: 0 / 0.5757 GB, free: 7.504 MB / 446.1 MB Notification: Performance of Templates: time 0.1816/1.853, allocations: 12.98 MB / 0.5884 GB, free: 141.8 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1)