Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.001107/0.001107, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001126/0.001126, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.136/1.136, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.101/0.101, allocations: 2.765 MB / 292.8 MB, free: 3.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 67.84 kB / 354 MB, free: 4.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06819/0.06922, allocations: 50.24 MB / 404.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1511/0.2204, allocations: 50.36 MB / 454.6 MB, free: 21.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.2337, allocations: 28.87 MB / 483.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.2342, allocations: 3.156 kB / 483.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.2353, allocations: 0.5757 MB / 484.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.2392, allocations: 2.055 MB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.2449, allocations: 2.716 MB / 488.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.2457, allocations: 0.9254 MB / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.2458, allocations: 56.75 kB / 489.8 MB, free: 12.77 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.6747/0.9205, allocations: 50.6 MB / 0.5277 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.9211, allocations: 302.6 kB / 0.528 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.9212, allocations: 40 kB / 0.5281 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3278/1.249, allocations: 26.72 MB / 0.5542 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/1.249, allocations: 111.5 kB / 0.5543 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/1.25, allocations: 342.4 kB / 0.5546 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/1.254, allocations: 1.836 MB / 0.5564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.254, allocations: 0 / 0.5564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/1.254, allocations: 0 / 0.5564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/1.254, allocations: 0 / 0.5564 GB, free: 12.7 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.001367/1.256, allocations: 1.108 MB / 0.5575 GB, free: 11.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.256, allocations: 12.03 kB / 0.5575 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/1.256, allocations: 119 kB / 0.5576 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/1.258, allocations: 0.4996 MB / 0.5581 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/1.258, allocations: 331.6 kB / 0.5584 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/1.258, allocations: 45.88 kB / 0.5584 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/1.258, allocations: 55.94 kB / 0.5585 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/1.259, allocations: 0.8801 MB / 0.5593 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.259, allocations: 0 / 0.5593 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/1.259, allocations: 28 kB / 0.5594 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/1.259, allocations: 31.98 kB / 0.5594 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.261, allocations: 0.7 MB / 0.5601 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/1.264, allocations: 5.144 MB / 0.5651 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/1.265, allocations: 333.7 kB / 0.5654 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/1.265, allocations: 221.6 kB / 0.5656 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.266, allocations: 1.539 MB / 0.5671 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/1.266, allocations: 38.5 kB / 0.5672 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.392e-06/1.266, allocations: 0 / 0.5672 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.00128/1.267, allocations: 0.6003 MB / 0.5678 GB, free: 72 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/1.267, allocations: 77.11 kB / 0.5678 GB, free: 15.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.267, allocations: 190.2 kB / 0.568 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/1.267, allocations: 25.7 kB / 0.568 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.268, allocations: 295.5 kB / 0.5683 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.268, allocations: 228.4 kB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.268, allocations: 97.91 kB / 0.5686 GB, free: 15.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/1.268, allocations: 338.8 kB / 0.569 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/1.268, allocations: 121.3 kB / 0.5691 GB, free: 14.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/1.268, allocations: 300 kB / 0.5694 GB, free: 14.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/1.269, allocations: 492.5 kB / 0.5698 GB, free: 13.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.269, allocations: 4 kB / 0.5698 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000653/1.27, allocations: 488.5 kB / 0.5703 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.27, allocations: 11.94 kB / 0.5703 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.27, allocations: 4 kB / 0.5703 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.27, allocations: 8 kB / 0.5703 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/1.27, allocations: 87.83 kB / 0.5704 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/1.271, allocations: 1.18 MB / 0.5716 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/1.271, allocations: 79.5 kB / 0.5716 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/1.271, allocations: 23.98 kB / 0.5717 GB, free: 11.81 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.0001749/1.271, allocations: 189.7 kB / 0.5718 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/1.271, allocations: 31.62 kB / 0.5719 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.272, allocations: 1.351 MB / 0.5732 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00114/1.274, allocations: 1.146 MB / 0.5743 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.274, allocations: 3.938 kB / 0.5743 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.274, allocations: 11.92 kB / 0.5743 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/1.276, allocations: 2.506 MB / 0.5768 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.276, allocations: 0 / 0.5768 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/1.276, allocations: 107.9 kB / 0.5769 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/1.277, allocations: 301.2 kB / 0.5772 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1.277, allocations: 12 kB / 0.5772 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000619/1.277, allocations: 1.265 MB / 0.5784 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.277, allocations: 0 / 0.5784 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/1.279, allocations: 1.17 MB / 0.5796 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/1.279, allocations: 136.2 kB / 0.5797 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/1.279, allocations: 12 kB / 0.5797 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/1.279, allocations: 91.48 kB / 0.5798 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/1.279, allocations: 43.88 kB / 0.5798 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.279, allocations: 24 kB / 0.5798 GB, free: 3.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.266e-05/1.279, allocations: 128.8 kB / 0.58 GB, free: 3.105 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.279, allocations: 0 / 0.58 GB, free: 3.105 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006344/1.28, allocations: 223.4 kB / 0.5802 GB, free: 2.887 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.1671/1.447, allocations: 1.617 MB / 0.5818 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/1.448, allocations: 0.7967 MB / 0.5825 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.448, allocations: 4 kB / 0.5825 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/1.449, allocations: 390.3 kB / 0.5829 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1075/1.556, allocations: 323.3 kB / 0.5832 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/1.56, allocations: 4.229 MB / 0.5874 GB, free: 141.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.56, allocations: 0.9525 MB / 0.5883 GB, free: 140.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003275/1.561, allocations: 126 kB / 0.5884 GB, free: 140.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/1.561, allocations: 277.1 kB / 0.5887 GB, free: 140.4 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/1.561, allocations: 3.75 kB / 0.5887 GB, free: 140.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.367/4.928, allocations: 20.03 MB / 0.6082 GB, free: 139 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/4.928, allocations: 284.9 kB / 0.6085 GB, free: 138.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/7.242, allocations: 1.859 kB / 0.6085 GB, free: 138.6 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1)