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.0007863/0.0007864, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006238/0.006238, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1237/0.1237, allocations: 2.785 MB / 294.2 MB, free: 4.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8 kB / 356.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09855, allocations: 51.26 MB / 407.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.2386/0.3372, allocations: 49.42 MB / 457 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.3533, allocations: 28.51 MB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.3539, allocations: 7.219 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.3553, allocations: 0.5741 MB / 486.1 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.3609, allocations: 2.064 MB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007131/0.3681, allocations: 2.709 MB / 490.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.3692, allocations: 0.9783 MB / 491.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3693, allocations: 58.75 kB / 491.9 MB, free: 12.86 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.9409/1.31, allocations: 47.05 MB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/1.311, allocations: 298.5 kB / 0.5266 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/1.311, allocations: 28 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3827/1.694, allocations: 25.06 MB / 0.5511 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/1.694, allocations: 87.48 kB / 0.5512 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000747/1.695, allocations: 352 kB / 0.5515 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007269/1.702, allocations: 1.812 MB / 0.5533 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.702, allocations: 0 / 0.5533 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.997e-06/1.702, allocations: 3.984 kB / 0.5533 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/1.702, allocations: 0 / 0.5533 GB, free: 2.801 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.001746/1.704, allocations: 0.9909 MB / 0.5543 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.704, allocations: 12.03 kB / 0.5543 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/1.704, allocations: 119 kB / 0.5544 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.706, allocations: 0.4997 MB / 0.5549 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/1.707, allocations: 335.4 kB / 0.5552 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/1.707, allocations: 53.81 kB / 0.5552 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/1.707, allocations: 59.94 kB / 0.5553 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.709, allocations: 0.8762 MB / 0.5562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.709, allocations: 0 / 0.5562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/1.709, allocations: 28 kB / 0.5562 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/1.709, allocations: 31.97 kB / 0.5562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/1.71, allocations: 0.7196 MB / 0.5569 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/1.714, allocations: 5.155 MB / 0.5619 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/1.715, allocations: 337.7 kB / 0.5623 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/1.715, allocations: 221.7 kB / 0.5625 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/1.717, allocations: 1.539 MB / 0.564 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.717, allocations: 42.48 kB / 0.564 GB, free: 6.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.984e-06/1.717, allocations: 0 / 0.564 GB, free: 6.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001487/1.718, allocations: 0.6157 MB / 0.5646 GB, free: 6.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.718, allocations: 81.11 kB / 0.5647 GB, free: 6.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/1.719, allocations: 182.2 kB / 0.5649 GB, free: 5.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/1.719, allocations: 29.7 kB / 0.5649 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/1.719, allocations: 279.5 kB / 0.5652 GB, free: 5.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.719, allocations: 236.4 kB / 0.5654 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/1.719, allocations: 61.67 kB / 0.5655 GB, free: 5.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/1.719, allocations: 342.8 kB / 0.5658 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/1.719, allocations: 121.3 kB / 0.5659 GB, free: 4.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/1.72, allocations: 304 kB / 0.5662 GB, free: 4.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/1.72, allocations: 0.4965 MB / 0.5667 GB, free: 3.902 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.72, allocations: 0 / 0.5667 GB, free: 3.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007701/1.721, allocations: 492.9 kB / 0.5671 GB, free: 3.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.721, allocations: 11.94 kB / 0.5672 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.721, allocations: 8 kB / 0.5672 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.721, allocations: 8 kB / 0.5672 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/1.722, allocations: 83.89 kB / 0.5673 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/1.722, allocations: 1.184 MB / 0.5684 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/1.723, allocations: 87.3 kB / 0.5685 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/1.723, allocations: 16 kB / 0.5685 GB, free: 1.973 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): 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.0002359/1.723, allocations: 193.7 kB / 0.5687 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/1.723, allocations: 27.62 kB / 0.5687 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/1.724, allocations: 1.351 MB / 0.57 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001309/1.726, allocations: 1.154 MB / 0.5712 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.726, allocations: 4.281 kB / 0.5712 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.726, allocations: 11.92 kB / 0.5712 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/1.729, allocations: 2.521 MB / 0.5736 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.729, allocations: 3.938 kB / 0.5736 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/1.729, allocations: 115.9 kB / 0.5738 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/1.73, allocations: 305.2 kB / 0.574 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/1.73, allocations: 16 kB / 0.5741 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007165/1.73, allocations: 1.265 MB / 0.5753 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.73, allocations: 8 kB / 0.5753 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.732, allocations: 1.166 MB / 0.5764 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.732, allocations: 152.1 kB / 0.5766 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/1.732, allocations: 12 kB / 0.5766 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/1.732, allocations: 95.39 kB / 0.5767 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/1.732, allocations: 39.95 kB / 0.5767 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/1.732, allocations: 23.98 kB / 0.5768 GB, free: 9.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.716e-05/1.733, allocations: 124.2 kB / 0.5769 GB, free: 9.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.733, allocations: 0 / 0.5769 GB, free: 9.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007536/1.733, allocations: 219.4 kB / 0.5771 GB, free: 8.984 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.001902/1.735, allocations: 1.629 MB / 0.5787 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/1.736, allocations: 0.7695 MB / 0.5794 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.736, allocations: 0 / 0.5794 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/1.737, allocations: 398.3 kB / 0.5798 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.739, allocations: 325 kB / 0.5801 GB, free: 5.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/1.744, allocations: 4.296 MB / 0.5843 GB, free: 1.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/1.744, allocations: 0.9561 MB / 0.5852 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/1.745, allocations: 125 kB / 0.5854 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1553/1.9, allocations: 271.6 kB / 0.5856 GB, free: 138.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/1.9, allocations: 0 / 0.5856 GB, free: 138.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/1.931, allocations: 19.02 MB / 0.6042 GB, free: 137.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.931, allocations: 304.4 kB / 0.6045 GB, free: 137.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/4.14, allocations: 4 kB / 0.6045 GB, free: 137.2 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)