Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1145/0.1145, allocations: 2.763 MB / 293.2 MB, free: 3.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 59.91 kB / 354.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1059, allocations: 50.23 MB / 404.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1896/0.2956, allocations: 50.75 MB / 455.5 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.3136, allocations: 29.11 MB / 484.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.3143, allocations: 3 kB / 484.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.316, allocations: 0.6169 MB / 485.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006101/0.3221, allocations: 2.244 MB / 487.5 MB, free: 13.8 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008454/0.3306, allocations: 2.915 MB / 490.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.3321, allocations: 0.9286 MB / 491.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3323, allocations: 57.56 kB / 491.4 MB, free: 11.54 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.5537/0.8861, allocations: 51.24 MB / 0.5299 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007085/0.8868, allocations: 302.6 kB / 0.5302 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.8869, allocations: 44 kB / 0.5302 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1701/1.057, allocations: 27.04 MB / 0.5566 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/1.057, allocations: 111.5 kB / 0.5567 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006147/1.058, allocations: 334.4 kB / 0.557 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006844/1.065, allocations: 1.843 MB / 0.5588 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.065, allocations: 3.938 kB / 0.5588 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/1.065, allocations: 0 / 0.5588 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/1.065, allocations: 4 kB / 0.5589 GB, free: 10.19 MB / 430.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.002165/1.067, allocations: 1.096 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.067, allocations: 15.97 kB / 0.5599 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/1.067, allocations: 119 kB / 0.5601 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/1.069, allocations: 0.4957 MB / 0.5605 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/1.07, allocations: 335.6 kB / 0.5609 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/1.07, allocations: 49.86 kB / 0.5609 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/1.07, allocations: 63.88 kB / 0.561 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.072, allocations: 0.8607 MB / 0.5618 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.072, allocations: 0 / 0.5618 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/1.072, allocations: 28 kB / 0.5618 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/1.072, allocations: 43.89 kB / 0.5619 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.073, allocations: 0.7117 MB / 0.5626 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/1.079, allocations: 5.144 MB / 0.5676 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/1.079, allocations: 337.7 kB / 0.5679 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/1.08, allocations: 221.6 kB / 0.5681 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/1.081, allocations: 1.55 MB / 0.5696 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.081, allocations: 30.56 kB / 0.5697 GB, free: 14.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.265e-06/1.081, allocations: 0 / 0.5697 GB, free: 14.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=71): time 0.006038/1.087, allocations: 0.6041 MB / 0.5703 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.087, allocations: 77.11 kB / 0.5703 GB, free: 13.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/1.088, allocations: 190.7 kB / 0.5705 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/1.088, allocations: 33.7 kB / 0.5705 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.088, allocations: 279.5 kB / 0.5708 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.088, allocations: 240.4 kB / 0.571 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.088, allocations: 97.86 kB / 0.5711 GB, free: 12.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/1.088, allocations: 342.8 kB / 0.5715 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/1.089, allocations: 121.3 kB / 0.5716 GB, free: 12.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/1.089, allocations: 300 kB / 0.5719 GB, free: 11.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/1.09, allocations: 492.4 kB / 0.5723 GB, free: 11.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.09, allocations: 4 kB / 0.5723 GB, free: 11.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008926/1.091, allocations: 484.2 kB / 0.5728 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.091, allocations: 11.94 kB / 0.5728 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.091, allocations: 8.719 kB / 0.5728 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.091, allocations: 8 kB / 0.5728 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/1.091, allocations: 87.83 kB / 0.5729 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007417/1.092, allocations: 1.176 MB / 0.5741 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/1.092, allocations: 59.27 kB / 0.5741 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/1.092, allocations: 24.12 kB / 0.5741 GB, free: 9.297 MB / 446.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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002995/1.093, allocations: 196.2 kB / 0.5743 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/1.093, allocations: 27.62 kB / 0.5744 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/1.093, allocations: 26.64 kB / 0.5744 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.093, allocations: 4 kB / 0.5744 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.093, allocations: 3.938 kB / 0.5744 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.093, allocations: 0 / 0.5744 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/1.094, allocations: 0.4906 MB / 0.5749 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.094, allocations: 0 / 0.5749 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/1.094, allocations: 47.97 kB / 0.5749 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.094, allocations: 0 / 0.5749 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/1.094, allocations: 8 kB / 0.5749 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005707/1.094, allocations: 1.168 MB / 0.5761 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.094, allocations: 4.062 kB / 0.5761 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/1.095, allocations: 0.5213 MB / 0.5766 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.095, allocations: 112.5 kB / 0.5767 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/1.095, allocations: 7.984 kB / 0.5767 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.095, allocations: 8 kB / 0.5767 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/1.096, allocations: 15.98 kB / 0.5767 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/1.096, allocations: 8 kB / 0.5767 GB, free: 6.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001185/1.096, allocations: 128.2 kB / 0.5768 GB, free: 6.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.096, allocations: 0 / 0.5768 GB, free: 6.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007733/1.096, allocations: 191.4 kB / 0.577 GB, free: 6.203 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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/1.098, allocations: 1.248 MB / 0.5782 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/1.099, allocations: 0.6271 MB / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.099, allocations: 192 / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/1.1, allocations: 0.5115 MB / 0.5794 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.101, allocations: 184.8 kB / 0.5795 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/1.27, allocations: 3.608 MB / 0.583 GB, free: 142.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/1.271, allocations: 0.9441 MB / 0.584 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006021/1.271, allocations: 223 kB / 0.5842 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.272, allocations: 273.7 kB / 0.5844 GB, free: 141.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.272, allocations: 0 / 0.5844 GB, free: 141.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/1.31, allocations: 17.84 MB / 0.6019 GB, free: 140.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.72, allocations: 17.67 kB / 0.6019 GB, free: 140.3 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)