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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000797/0.0007969, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005615/0.005616, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1135/0.1135, allocations: 2.784 MB / 294.2 MB, free: 4.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 8 kB / 356.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09904, allocations: 51.26 MB / 407.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2006/0.2997, allocations: 49.37 MB / 457 MB, free: 22.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.3161, allocations: 28.51 MB / 485.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.3167, allocations: 2.938 kB / 485.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.3183, allocations: 0.5697 MB / 486 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.3242, allocations: 2.061 MB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007468/0.3317, allocations: 2.701 MB / 490.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3329, allocations: 0.9758 MB / 491.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.333, allocations: 60.23 kB / 491.8 MB, free: 13.16 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.9451/1.278, allocations: 47.06 MB / 0.5263 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007035/1.279, allocations: 298.5 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/1.279, allocations: 23.98 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3726/1.652, allocations: 25.06 MB / 0.551 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/1.652, allocations: 91.47 kB / 0.5511 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007638/1.653, allocations: 340.2 kB / 0.5515 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008816/1.661, allocations: 1.816 MB / 0.5532 GB, free: 2.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/1.661, allocations: 0 / 0.5532 GB, free: 2.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.465e-06/1.661, allocations: 0 / 0.5532 GB, free: 2.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.688e-05/1.661, allocations: 0 / 0.5532 GB, free: 2.988 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.001943/1.663, allocations: 0.9832 MB / 0.5542 GB, free: 1.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/1.663, allocations: 8.031 kB / 0.5542 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/1.664, allocations: 119 kB / 0.5543 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/1.666, allocations: 0.5075 MB / 0.5548 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/1.666, allocations: 335.5 kB / 0.5551 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/1.666, allocations: 45.88 kB / 0.5552 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/1.667, allocations: 59.94 kB / 0.5552 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.668, allocations: 0.8879 MB / 0.5561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.668, allocations: 4 kB / 0.5561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/1.668, allocations: 24 kB / 0.5561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/1.668, allocations: 31.97 kB / 0.5561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/1.67, allocations: 0.7196 MB / 0.5569 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/1.674, allocations: 4.973 MB / 0.5617 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/1.675, allocations: 349 kB / 0.562 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/1.676, allocations: 221.6 kB / 0.5623 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/1.677, allocations: 1.539 MB / 0.5638 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.677, allocations: 42.5 kB / 0.5638 GB, free: 7.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.833e-06/1.677, allocations: 0 / 0.5638 GB, free: 7.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001725/1.679, allocations: 0.627 MB / 0.5644 GB, free: 6.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.679, allocations: 81.11 kB / 0.5645 GB, free: 6.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/1.679, allocations: 167.7 kB / 0.5646 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/1.679, allocations: 33.7 kB / 0.5647 GB, free: 6.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/1.679, allocations: 283.5 kB / 0.5649 GB, free: 5.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/1.68, allocations: 236.3 kB / 0.5652 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/1.68, allocations: 57.67 kB / 0.5652 GB, free: 5.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/1.68, allocations: 342.8 kB / 0.5656 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/1.68, allocations: 125.3 kB / 0.5657 GB, free: 5.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/1.681, allocations: 289.4 kB / 0.566 GB, free: 4.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.682, allocations: 470.7 kB / 0.5664 GB, free: 4.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.682, allocations: 0 / 0.5664 GB, free: 4.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009808/1.683, allocations: 479.9 kB / 0.5669 GB, free: 3.875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.683, allocations: 12.94 kB / 0.5669 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.683, allocations: 4 kB / 0.5669 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/1.683, allocations: 12 kB / 0.5669 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/1.683, allocations: 67.91 kB / 0.5669 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/1.683, allocations: 19.86 kB / 0.567 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/1.684, allocations: 79.27 kB / 0.567 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.684, allocations: 23.98 kB / 0.5671 GB, free: 3.66 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.0006492/1.685, allocations: 185.7 kB / 0.5672 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/1.685, allocations: 35.55 kB / 0.5673 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/1.687, allocations: 1.185 MB / 0.5684 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001258/1.688, allocations: 0.9949 MB / 0.5694 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.688, allocations: 0 / 0.5694 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.688, allocations: 7.984 kB / 0.5694 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/1.691, allocations: 2.326 MB / 0.5717 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.692, allocations: 3.984 kB / 0.5717 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/1.692, allocations: 119.8 kB / 0.5718 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/1.692, allocations: 4 kB / 0.5718 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/1.692, allocations: 16 kB / 0.5718 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.692, allocations: 7.984 kB / 0.5718 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.692, allocations: 0 / 0.5718 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.693, allocations: 0.8908 MB / 0.5727 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/1.693, allocations: 140.2 kB / 0.5728 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/1.693, allocations: 12 kB / 0.5728 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/1.694, allocations: 95.41 kB / 0.5729 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/1.694, allocations: 51.92 kB / 0.573 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/1.694, allocations: 19.98 kB / 0.573 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001752/1.694, allocations: 127.9 kB / 0.5731 GB, free: 13.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.694, allocations: 4 kB / 0.5731 GB, free: 13.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007566/1.695, allocations: 223.4 kB / 0.5733 GB, free: 13.11 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.001869/1.697, allocations: 1.634 MB / 0.5749 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/1.698, allocations: 0.7608 MB / 0.5757 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.698, allocations: 0 / 0.5757 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/1.699, allocations: 386.3 kB / 0.5761 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.7, allocations: 320.9 kB / 0.5764 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/1.706, allocations: 4.247 MB / 0.5805 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/1.706, allocations: 0.957 MB / 0.5814 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000462/1.707, allocations: 141.1 kB / 0.5816 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/1.707, allocations: 275.3 kB / 0.5818 GB, free: 4.125 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/1.707, allocations: 0 / 0.5818 GB, free: 4.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/1.904, allocations: 18.93 MB / 0.6003 GB, free: 137.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.904, allocations: 269.8 kB / 0.6006 GB, free: 137.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/4.233, allocations: 0 / 0.6006 GB, free: 137.5 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1)