Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009208, allocations: 86.25 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.0009641/0.0009643, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1746/0.1746, allocations: 2.783 MB / 293.9 MB, free: 4.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 8 kB / 355.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 51.24 MB / 406.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.3043/0.4553, allocations: 46.59 MB / 453.5 MB, free: 24.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.4742, allocations: 26.73 MB / 480.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.4749, allocations: 3.156 kB / 480.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.4763, allocations: 0.5379 MB / 480.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005557/0.4818, allocations: 1.937 MB / 482.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008197/0.4901, allocations: 2.52 MB / 485.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.4917, allocations: 0.863 MB / 486.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4918, allocations: 58 kB / 486.1 MB, free: 1.648 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.2979/0.7897, allocations: 43.5 MB / 0.5172 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.7907, allocations: 286.8 kB / 0.5175 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.7908, allocations: 20 kB / 0.5175 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04143/0.8322, allocations: 23.23 MB / 0.5402 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.8325, allocations: 91.52 kB / 0.5403 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.8329, allocations: 161.4 kB / 0.5404 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.8356, allocations: 1.348 MB / 0.5417 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8356, allocations: 0 / 0.5417 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8356, allocations: 0 / 0.5417 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.8356, allocations: 0 / 0.5417 GB, free: 13.68 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.0013/0.8369, allocations: 0.9907 MB / 0.5427 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.8369, allocations: 8.031 kB / 0.5427 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.8388, allocations: 0.5033 MB / 0.5432 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.8392, allocations: 350.1 kB / 0.5435 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/0.8393, allocations: 45.31 kB / 0.5436 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.8394, allocations: 56 kB / 0.5436 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.8408, allocations: 0.8685 MB / 0.5445 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.8409, allocations: 7.938 kB / 0.5445 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.841, allocations: 27.92 kB / 0.5445 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.841, allocations: 35.98 kB / 0.5445 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.8423, allocations: 0.7157 MB / 0.5452 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.8462, allocations: 5.027 MB / 0.5501 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.8468, allocations: 325.7 kB / 0.5505 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.8472, allocations: 221.7 kB / 0.5507 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.8485, allocations: 1.527 MB / 0.5522 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.957e-05/0.8486, allocations: 38.52 kB / 0.5522 GB, free: 2.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 1.663e-06/0.8486, allocations: 0 / 0.5522 GB, free: 2.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.00141/0.85, allocations: 0.6002 MB / 0.5528 GB, free: 1.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.8501, allocations: 81.05 kB / 0.5529 GB, free: 1.316 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.8502, allocations: 182.2 kB / 0.553 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.8503, allocations: 29.7 kB / 0.5531 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.8504, allocations: 287.5 kB / 0.5533 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.8506, allocations: 236.5 kB / 0.5536 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.8506, allocations: 4 kB / 0.5536 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8507, allocations: 338.8 kB / 0.5539 GB, free: 232 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.8509, allocations: 125.3 kB / 0.554 GB, free: 104 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.8513, allocations: 304.1 kB / 0.5543 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.8516, allocations: 179.6 kB / 0.5545 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.8516, allocations: 7.938 kB / 0.5545 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007056/0.8523, allocations: 484.1 kB / 0.5549 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8523, allocations: 11.95 kB / 0.555 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.8524, allocations: 4 kB / 0.555 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.8524, allocations: 8 kB / 0.555 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.8526, allocations: 80.52 kB / 0.555 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.8526, allocations: 18.36 kB / 0.5551 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.8529, allocations: 79.27 kB / 0.5551 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.853, allocations: 23.98 kB / 0.5552 GB, free: 14.84 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.0002625/0.8533, allocations: 185.7 kB / 0.5553 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.8534, allocations: 27.62 kB / 0.5554 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.8547, allocations: 1.161 MB / 0.5565 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001087/0.8558, allocations: 0.9727 MB / 0.5574 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8558, allocations: 96 / 0.5574 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8558, allocations: 11.92 kB / 0.5575 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.8585, allocations: 2.307 MB / 0.5597 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8585, allocations: 0 / 0.5597 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.8589, allocations: 119.8 kB / 0.5598 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.8589, allocations: 0 / 0.5598 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.8589, allocations: 16 kB / 0.5598 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.8589, allocations: 4 kB / 0.5598 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8589, allocations: 3.953 kB / 0.5598 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.86, allocations: 0.8714 MB / 0.5607 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.8601, allocations: 140.2 kB / 0.5608 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.8602, allocations: 12 kB / 0.5608 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.8606, allocations: 91.48 kB / 0.5609 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.8606, allocations: 51.83 kB / 0.561 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.8607, allocations: 16 kB / 0.561 GB, free: 8.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.8608, allocations: 124.2 kB / 0.5611 GB, free: 8.633 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8608, allocations: 0 / 0.5611 GB, free: 8.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007762/0.8616, allocations: 223.4 kB / 0.5613 GB, free: 8.414 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.0005335/0.8621, allocations: 316.6 kB / 0.5616 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.8632, allocations: 0.7459 MB / 0.5624 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8632, allocations: 0 / 0.5624 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.8637, allocations: 370 kB / 0.5627 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.8653, allocations: 347.6 kB / 0.563 GB, free: 6.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.8675, allocations: 1.621 MB / 0.5646 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.8682, allocations: 0.9602 MB / 0.5656 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.8687, allocations: 136.5 kB / 0.5657 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.8688, allocations: 47.44 kB / 0.5657 GB, free: 3.844 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.8688, allocations: 0 / 0.5657 GB, free: 3.844 MB / 430.1 MB Notification: Performance of Templates: time 0.02011/0.8889, allocations: 11.93 MB / 0.5774 GB, free: 8.168 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) Environment - environmentSimulation: