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.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001274/0.001274, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.105/0.105, allocations: 2.759 MB / 292.8 MB, free: 3.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 55.91 kB / 354 MB, free: 4.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07957, allocations: 50.24 MB / 404.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1752/0.2547, allocations: 50.36 MB / 454.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.2693, allocations: 28.88 MB / 483.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.2697, allocations: 3.062 kB / 483.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.271, allocations: 0.5669 MB / 484 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.276, allocations: 2.062 MB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006733/0.2828, allocations: 2.718 MB / 488.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009576/0.2837, allocations: 0.9255 MB / 489.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2838, allocations: 55.45 kB / 489.8 MB, free: 12.6 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.9338/1.218, allocations: 51.25 MB / 0.5284 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008423/1.218, allocations: 306.7 kB / 0.5287 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-05/1.219, allocations: 40 kB / 0.5287 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3624/1.581, allocations: 27.04 MB / 0.5551 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/1.581, allocations: 107.5 kB / 0.5552 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004367/1.582, allocations: 342.4 kB / 0.5555 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003951/1.586, allocations: 1.836 MB / 0.5573 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.586, allocations: 4 kB / 0.5573 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/1.586, allocations: 0 / 0.5573 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/1.586, allocations: 0 / 0.5573 GB, free: 11.61 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.001259/1.587, allocations: 1.108 MB / 0.5584 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/1.587, allocations: 8.031 kB / 0.5584 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/1.587, allocations: 119 kB / 0.5585 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/1.589, allocations: 0.4996 MB / 0.559 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/1.589, allocations: 335.5 kB / 0.5593 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/1.589, allocations: 45.88 kB / 0.5594 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/1.589, allocations: 59.94 kB / 0.5594 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.591, allocations: 0.8685 MB / 0.5603 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.591, allocations: 7.938 kB / 0.5603 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/1.591, allocations: 24 kB / 0.5603 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/1.591, allocations: 27.98 kB / 0.5603 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/1.592, allocations: 0.7117 MB / 0.561 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/1.596, allocations: 5.129 MB / 0.566 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/1.596, allocations: 341.6 kB / 0.5664 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/1.597, allocations: 221.5 kB / 0.5666 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.598, allocations: 1.542 MB / 0.5681 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.598, allocations: 34.56 kB / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 1.883e-06/1.598, allocations: 0 / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=71): time 0.001399/1.599, allocations: 0.6003 MB / 0.5687 GB, free: 14.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.599, allocations: 85.05 kB / 0.5688 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.599, allocations: 186.1 kB / 0.569 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/1.599, allocations: 29.7 kB / 0.569 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.6, allocations: 287.5 kB / 0.5693 GB, free: 14.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.6, allocations: 236.4 kB / 0.5695 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.6, allocations: 93.92 kB / 0.5696 GB, free: 14.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/1.6, allocations: 342.8 kB / 0.5699 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.6, allocations: 121.3 kB / 0.57 GB, free: 13.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/1.601, allocations: 300 kB / 0.5703 GB, free: 13.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/1.601, allocations: 492.4 kB / 0.5708 GB, free: 12.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.601, allocations: 0 / 0.5708 GB, free: 12.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007058/1.602, allocations: 485 kB / 0.5712 GB, free: 12.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.602, allocations: 11.94 kB / 0.5713 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.602, allocations: 8.031 kB / 0.5713 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.602, allocations: 8 kB / 0.5713 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/1.602, allocations: 87.83 kB / 0.5714 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006149/1.603, allocations: 1.172 MB / 0.5725 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/1.603, allocations: 91.25 kB / 0.5726 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/1.603, allocations: 20 kB / 0.5726 GB, free: 10.72 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.0001985/1.603, allocations: 196.2 kB / 0.5728 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/1.603, allocations: 27.62 kB / 0.5728 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.605, allocations: 1.351 MB / 0.5741 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00121/1.606, allocations: 1.142 MB / 0.5753 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.606, allocations: 7.984 kB / 0.5753 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.606, allocations: 3.938 kB / 0.5753 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/1.609, allocations: 2.499 MB / 0.5777 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.609, allocations: 0 / 0.5777 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/1.609, allocations: 111.8 kB / 0.5778 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/1.609, allocations: 297.2 kB / 0.5781 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.61, allocations: 12 kB / 0.5781 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006363/1.61, allocations: 1.272 MB / 0.5794 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.61, allocations: 4.031 kB / 0.5794 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.611, allocations: 1.166 MB / 0.5805 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/1.611, allocations: 136.2 kB / 0.5806 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/1.611, allocations: 15.98 kB / 0.5806 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/1.612, allocations: 103.4 kB / 0.5807 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/1.612, allocations: 39.94 kB / 0.5808 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/1.612, allocations: 16 kB / 0.5808 GB, free: 2.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.341e-05/1.612, allocations: 124.2 kB / 0.5809 GB, free: 2.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.612, allocations: 0 / 0.5809 GB, free: 2.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007434/1.613, allocations: 227.4 kB / 0.5811 GB, free: 1.801 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/1.614, allocations: 1.617 MB / 0.5827 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1233/1.738, allocations: 0.7862 MB / 0.5835 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.738, allocations: 0.9062 kB / 0.5835 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005402/1.738, allocations: 392.6 kB / 0.5838 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.74, allocations: 336.6 kB / 0.5842 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/1.743, allocations: 4.223 MB / 0.5883 GB, free: 140.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/1.743, allocations: 0.9647 MB / 0.5892 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003384/1.744, allocations: 120.3 kB / 0.5894 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/1.744, allocations: 272.2 kB / 0.5896 GB, free: 139.9 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/1.744, allocations: 0 / 0.5896 GB, free: 139.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.414/2.158, allocations: 20.07 MB / 0.6092 GB, free: 138.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/2.158, allocations: 302.5 kB / 0.6095 GB, free: 138.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/4.685, allocations: 1.547 kB / 0.6095 GB, free: 138.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)