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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",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.0007412/0.0007414, 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.008563/0.008563, 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1235/0.1235, allocations: 2.784 MB / 294.2 MB, free: 4.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 12 kB / 356.3 MB, free: 3.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08818, allocations: 51.26 MB / 407.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2427/0.3309, allocations: 49.38 MB / 457 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.3487, allocations: 28.51 MB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.3495, allocations: 6.969 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3511, allocations: 0.5687 MB / 486 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006801/0.3579, allocations: 2.061 MB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008223/0.3662, allocations: 2.698 MB / 490.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3673, allocations: 0.9802 MB / 491.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3675, allocations: 57.81 kB / 491.8 MB, free: 13 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.9424/1.31, allocations: 47.06 MB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006581/1.311, allocations: 294.6 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/1.311, allocations: 20 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3778/1.688, allocations: 25.06 MB / 0.551 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/1.689, allocations: 103.5 kB / 0.5511 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004756/1.689, allocations: 344.1 kB / 0.5515 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/1.695, allocations: 1.808 MB / 0.5532 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/1.695, allocations: 0 / 0.5532 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/1.695, allocations: 0 / 0.5532 GB, free: 2.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/1.695, allocations: 0 / 0.5532 GB, free: 2.852 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.001417/1.696, allocations: 0.9861 MB / 0.5542 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.696, allocations: 12.03 kB / 0.5542 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/1.697, allocations: 123 kB / 0.5543 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/1.699, allocations: 0.5036 MB / 0.5548 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/1.699, allocations: 347.5 kB / 0.5551 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/1.699, allocations: 45.88 kB / 0.5552 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/1.699, allocations: 55.94 kB / 0.5552 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/1.701, allocations: 0.8801 MB / 0.5561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/1.701, allocations: 0 / 0.5561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/1.701, allocations: 27.98 kB / 0.5561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/1.701, allocations: 35.98 kB / 0.5562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.702, allocations: 0.7196 MB / 0.5569 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/1.706, allocations: 5.024 MB / 0.5618 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/1.706, allocations: 333.7 kB / 0.5621 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/1.707, allocations: 213.7 kB / 0.5623 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/1.708, allocations: 1.535 MB / 0.5638 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/1.708, allocations: 34.56 kB / 0.5638 GB, free: 7.059 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.513e-06/1.708, allocations: 4 kB / 0.5638 GB, free: 7.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001438/1.709, allocations: 0.6079 MB / 0.5644 GB, free: 6.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.709, allocations: 81.11 kB / 0.5645 GB, free: 6.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/1.71, allocations: 178.3 kB / 0.5647 GB, free: 6.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.71, allocations: 29.7 kB / 0.5647 GB, free: 6.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.71, allocations: 291.4 kB / 0.565 GB, free: 5.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/1.71, allocations: 228.5 kB / 0.5652 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/1.71, allocations: 61.69 kB / 0.5653 GB, free: 5.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.71, allocations: 338.8 kB / 0.5656 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.71, allocations: 129.3 kB / 0.5657 GB, free: 5.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.711, allocations: 304 kB / 0.566 GB, free: 4.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/1.711, allocations: 0.4887 MB / 0.5665 GB, free: 4.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.711, allocations: 0 / 0.5665 GB, free: 4.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007828/1.712, allocations: 496.8 kB / 0.5669 GB, free: 3.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.712, allocations: 16.06 kB / 0.567 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.712, allocations: 4 kB / 0.567 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.712, allocations: 8 kB / 0.567 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/1.713, allocations: 75.84 kB / 0.567 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.713, allocations: 8 kB / 0.567 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/1.713, allocations: 83.25 kB / 0.5671 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/1.713, allocations: 20 kB / 0.5671 GB, free: 3.43 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.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.0002236/1.713, allocations: 193.7 kB / 0.5673 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/1.713, allocations: 31.56 kB / 0.5674 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/1.715, allocations: 1.17 MB / 0.5685 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001185/1.716, allocations: 0.9806 MB / 0.5695 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.716, allocations: 0 / 0.5695 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.716, allocations: 3.984 kB / 0.5695 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/1.719, allocations: 2.317 MB / 0.5717 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.719, allocations: 8 kB / 0.5717 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/1.719, allocations: 119.8 kB / 0.5718 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.719, allocations: 0 / 0.5718 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.719, allocations: 12 kB / 0.5719 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.719, allocations: 4 kB / 0.5719 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.719, allocations: 0 / 0.5719 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/1.72, allocations: 0.8793 MB / 0.5727 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.72, allocations: 140.2 kB / 0.5729 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/1.72, allocations: 12 kB / 0.5729 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.721, allocations: 87.55 kB / 0.573 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/1.721, allocations: 43.94 kB / 0.573 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/1.721, allocations: 16 kB / 0.573 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/1.721, allocations: 132.2 kB / 0.5731 GB, free: 13.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.721, allocations: 0 / 0.5731 GB, free: 13.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006709/1.722, allocations: 227.4 kB / 0.5734 GB, free: 12.95 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.001598/1.723, allocations: 1.64 MB / 0.575 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009138/1.724, allocations: 0.7539 MB / 0.5757 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.724, allocations: 0 / 0.5757 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/1.725, allocations: 374.4 kB / 0.576 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.726, allocations: 324.9 kB / 0.5764 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/1.731, allocations: 4.25 MB / 0.5805 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.731, allocations: 0.956 MB / 0.5814 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004127/1.732, allocations: 141 kB / 0.5816 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/1.732, allocations: 271.3 kB / 0.5818 GB, free: 3.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/1.732, allocations: 0 / 0.5818 GB, free: 3.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1833/1.915, allocations: 18.55 MB / 0.5999 GB, free: 137.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/1.916, allocations: 267.1 kB / 0.6002 GB, free: 137.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/4.122, allocations: 4 kB / 0.6002 GB, free: 137.3 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1)