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.001344/0.001344, allocations: 104.8 kB / 15.98 MB, free: 6.344 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.001571/0.001571, allocations: 199.6 kB / 16.91 MB, free: 6.188 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01189/0.01189, allocations: 2.782 MB / 293.5 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 354.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2495, allocations: 50.23 MB / 404.8 MB, free: 33.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.03516/0.2847, allocations: 50.34 MB / 455.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02425/0.309, allocations: 28.86 MB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.3097, allocations: 0 / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.3115, allocations: 0.5674 MB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.3183, allocations: 2.061 MB / 486.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009576/0.3279, allocations: 2.71 MB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3295, allocations: 0.9287 MB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3297, allocations: 57.75 kB / 490.3 MB, free: 11.27 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 1.128/1.458, allocations: 51.23 MB / 0.5288 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/1.458, allocations: 305.5 kB / 0.5291 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/1.458, allocations: 42.34 kB / 0.5292 GB, free: 26.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3416/1.8, allocations: 27.03 MB / 0.5556 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/1.8, allocations: 112.6 kB / 0.5557 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004121/1.801, allocations: 334.4 kB / 0.556 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/1.803, allocations: 1.378 MB / 0.5573 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.803, allocations: 0 / 0.5573 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.803, allocations: 0 / 0.5573 GB, free: 7.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/1.803, allocations: 3.938 kB / 0.5574 GB, free: 7.984 MB / 382.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.001213/1.804, allocations: 1.104 MB / 0.5584 GB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/1.804, allocations: 8.031 kB / 0.5584 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/1.806, allocations: 0.4957 MB / 0.5589 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/1.806, allocations: 334.4 kB / 0.5592 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/1.806, allocations: 48.44 kB / 0.5593 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/1.806, allocations: 59.23 kB / 0.5593 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.807, allocations: 0.8745 MB / 0.5602 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.807, allocations: 0 / 0.5602 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/1.807, allocations: 29.44 kB / 0.5602 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/1.807, allocations: 33.86 kB / 0.5603 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/1.808, allocations: 0.7024 MB / 0.5609 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/1.811, allocations: 4.967 MB / 0.5658 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/1.812, allocations: 344.9 kB / 0.5661 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/1.812, allocations: 229.7 kB / 0.5663 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/1.813, allocations: 1.533 MB / 0.5678 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.813, allocations: 40.38 kB / 0.5679 GB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 1.763e-06/1.813, allocations: 0 / 0.5679 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.001592/1.815, allocations: 0.6261 MB / 0.5685 GB, free: 13.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.815, allocations: 88.14 kB / 0.5686 GB, free: 13.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.815, allocations: 168.5 kB / 0.5687 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/1.815, allocations: 31.7 kB / 0.5688 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/1.816, allocations: 277.8 kB / 0.569 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.816, allocations: 238.8 kB / 0.5693 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.816, allocations: 96.47 kB / 0.5693 GB, free: 13.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/1.816, allocations: 340.4 kB / 0.5697 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/1.816, allocations: 125.2 kB / 0.5698 GB, free: 12.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/1.817, allocations: 281.7 kB / 0.5701 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/1.817, allocations: 474.6 kB / 0.5705 GB, free: 12.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.817, allocations: 0 / 0.5705 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007855/1.818, allocations: 480.4 kB / 0.571 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.818, allocations: 8 kB / 0.571 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.818, allocations: 11.41 kB / 0.571 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.818, allocations: 8 kB / 0.571 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/1.818, allocations: 66.16 kB / 0.5711 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.818, allocations: 19.3 kB / 0.5711 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/1.819, allocations: 76.83 kB / 0.5712 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/1.819, allocations: 18.06 kB / 0.5712 GB, free: 11.53 MB / 398.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.000231/1.819, allocations: 201 kB / 0.5714 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/1.819, allocations: 27.62 kB / 0.5714 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.82, allocations: 1.19 MB / 0.5726 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001147/1.822, allocations: 0.9934 MB / 0.5735 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.822, allocations: 3.938 kB / 0.5735 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/1.822, allocations: 3.984 kB / 0.5735 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/1.825, allocations: 2.328 MB / 0.5758 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.825, allocations: 7.875 kB / 0.5758 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/1.825, allocations: 117.8 kB / 0.5759 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.825, allocations: 4 kB / 0.5759 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.825, allocations: 19.5 kB / 0.5759 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/1.825, allocations: 8 kB / 0.576 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.825, allocations: 0 / 0.576 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.826, allocations: 0.8837 MB / 0.5768 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/1.826, allocations: 140.1 kB / 0.5769 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/1.826, allocations: 23.23 kB / 0.577 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/1.827, allocations: 89.25 kB / 0.5771 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000442/1.827, allocations: 44.42 kB / 0.5771 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/1.827, allocations: 22.62 kB / 0.5771 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.12e-05/1.827, allocations: 119.5 kB / 0.5772 GB, free: 7.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.827, allocations: 0 / 0.5772 GB, free: 7.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007524/1.828, allocations: 233.5 kB / 0.5775 GB, free: 6.812 MB / 398.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.0005309/1.829, allocations: 313.2 kB / 0.5778 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/1.83, allocations: 0.7904 MB / 0.5785 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.83, allocations: 4 kB / 0.5785 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/1.831, allocations: 379.3 kB / 0.5789 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.832, allocations: 341.3 kB / 0.5792 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.834, allocations: 1.712 MB / 0.5809 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/1.835, allocations: 0.9609 MB / 0.5818 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.835, allocations: 59.12 kB / 0.5819 GB, free: 2.82 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/1.835, allocations: 0 / 0.5819 GB, free: 2.82 MB / 398.1 MB Notification: Performance of Templates: time 0.01204/1.847, allocations: 8.599 MB / 0.5903 GB, free: 10.43 MB / 414.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)