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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001056/0.001056, allocations: 195.9 kB / 16.14 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1199/0.1199, allocations: 2.759 MB / 292.7 MB, free: 3.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.91 kB / 353.8 MB, free: 4.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08289, allocations: 50.23 MB / 404.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1737/0.2567, allocations: 50.46 MB / 454.5 MB, free: 21.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.2715, allocations: 28.96 MB / 483.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.272, allocations: 3.156 kB / 483.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.2733, allocations: 0.5787 MB / 484.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.278, allocations: 2.059 MB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006727/0.2847, allocations: 2.72 MB / 488.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2858, allocations: 0.9787 MB / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2859, allocations: 60.94 kB / 489.9 MB, free: 12.75 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.9528/1.239, allocations: 47.06 MB / 0.5244 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006554/1.239, allocations: 294.6 kB / 0.5246 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/1.239, allocations: 20 kB / 0.5247 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3757/1.615, allocations: 25.07 MB / 0.5491 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/1.615, allocations: 91.47 kB / 0.5492 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/1.616, allocations: 322.4 kB / 0.5495 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/1.622, allocations: 1.828 MB / 0.5513 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.622, allocations: 0 / 0.5513 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/1.622, allocations: 0 / 0.5513 GB, free: 1.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/1.622, allocations: 3.938 kB / 0.5513 GB, free: 1.891 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.001489/1.623, allocations: 1.1 MB / 0.5524 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.623, allocations: 12.03 kB / 0.5524 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/1.623, allocations: 119 kB / 0.5525 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/1.625, allocations: 0.4957 MB / 0.553 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/1.626, allocations: 339.5 kB / 0.5533 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/1.626, allocations: 45.88 kB / 0.5534 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/1.626, allocations: 59.94 kB / 0.5534 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.627, allocations: 0.8646 MB / 0.5543 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.627, allocations: 3.938 kB / 0.5543 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/1.627, allocations: 28 kB / 0.5543 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/1.627, allocations: 31.98 kB / 0.5543 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/1.628, allocations: 0.7078 MB / 0.555 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/1.632, allocations: 5.14 MB / 0.56 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/1.633, allocations: 329.7 kB / 0.5604 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/1.633, allocations: 221.7 kB / 0.5606 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.634, allocations: 1.539 MB / 0.5621 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/1.634, allocations: 34.5 kB / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.463e-06/1.634, allocations: 0 / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001543/1.636, allocations: 0.6079 MB / 0.5627 GB, free: 5.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/1.636, allocations: 81.05 kB / 0.5628 GB, free: 5.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.636, allocations: 190.2 kB / 0.563 GB, free: 4.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/1.636, allocations: 29.7 kB / 0.563 GB, free: 4.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/1.636, allocations: 287.5 kB / 0.5633 GB, free: 4.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.636, allocations: 236.4 kB / 0.5635 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.636, allocations: 93.91 kB / 0.5636 GB, free: 4.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/1.636, allocations: 338.8 kB / 0.5639 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/1.636, allocations: 125.3 kB / 0.564 GB, free: 3.855 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/1.637, allocations: 300 kB / 0.5643 GB, free: 3.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/1.637, allocations: 496.5 kB / 0.5648 GB, free: 2.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.637, allocations: 0 / 0.5648 GB, free: 2.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006829/1.638, allocations: 484.2 kB / 0.5652 GB, free: 2.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.638, allocations: 11.94 kB / 0.5652 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/1.638, allocations: 4 kB / 0.5653 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.638, allocations: 8.719 kB / 0.5653 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/1.638, allocations: 79.89 kB / 0.5653 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004935/1.639, allocations: 1.184 MB / 0.5665 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/1.639, allocations: 79.45 kB / 0.5666 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/1.639, allocations: 23.94 kB / 0.5666 GB, free: 1.008 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.000184/1.639, allocations: 197.7 kB / 0.5668 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/1.639, allocations: 27.62 kB / 0.5668 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.641, allocations: 1.351 MB / 0.5681 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001161/1.642, allocations: 1.142 MB / 0.5692 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.642, allocations: 4 kB / 0.5692 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.642, allocations: 7.922 kB / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/1.645, allocations: 2.502 MB / 0.5717 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.645, allocations: 4 kB / 0.5717 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/1.645, allocations: 107.8 kB / 0.5718 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/1.645, allocations: 309.2 kB / 0.5721 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/1.645, allocations: 12 kB / 0.5721 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006219/1.646, allocations: 1.268 MB / 0.5733 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.646, allocations: 0 / 0.5733 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/1.647, allocations: 1.162 MB / 0.5745 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.647, allocations: 144.1 kB / 0.5746 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/1.647, allocations: 16 kB / 0.5746 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/1.648, allocations: 91.48 kB / 0.5747 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/1.648, allocations: 36.23 kB / 0.5748 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.648, allocations: 23.98 kB / 0.5748 GB, free: 8.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.422e-05/1.648, allocations: 128.2 kB / 0.5749 GB, free: 8.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.124e-06/1.648, allocations: 3.938 kB / 0.5749 GB, free: 8.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005952/1.648, allocations: 227.3 kB / 0.5751 GB, free: 8.07 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.001433/1.65, allocations: 1.613 MB / 0.5767 GB, free: 6.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009684/1.651, allocations: 0.7657 MB / 0.5774 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.651, allocations: 0 / 0.5774 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/1.651, allocations: 386.3 kB / 0.5778 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/1.653, allocations: 331.1 kB / 0.5781 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/1.657, allocations: 4.23 MB / 0.5823 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.125/1.782, allocations: 0.9535 MB / 0.5832 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004823/1.783, allocations: 119.9 kB / 0.5833 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/1.783, allocations: 274.7 kB / 0.5836 GB, free: 142.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/1.783, allocations: 1.156 kB / 0.5836 GB, free: 142.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/1.811, allocations: 19.46 MB / 0.6026 GB, free: 141.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.812, allocations: 297.5 kB / 0.6029 GB, free: 140.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/4.014, allocations: 4 kB / 0.6029 GB, free: 140.8 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)