Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",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.00118/0.00118, 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.001033/0.001033, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1096/0.1096, allocations: 2.756 MB / 292.8 MB, free: 3.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 354 MB, free: 4.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09989, allocations: 50.24 MB / 404.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008624/0.1085, allocations: 8.814 MB / 413.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.1146, allocations: 8.389 MB / 421.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.1147, allocations: 0 / 421.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.1152, allocations: 151.2 kB / 421.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1155, allocations: 83.48 kB / 421.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1372/0.2527, allocations: 1.32 MB / 423 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.2531, allocations: 247.4 kB / 423.2 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.2532, allocations: 14.19 kB / 423.2 MB, free: 37.52 MB / 350.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.1955/0.4486, allocations: 13.56 MB / 436.8 MB, free: 32.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.4488, allocations: 70.14 kB / 436.9 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.4488, allocations: 6.469 kB / 436.9 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009672/0.4498, allocations: 308.5 kB / 437.2 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.4499, allocations: 27.91 kB / 437.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.45, allocations: 71.52 kB / 437.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.4507, allocations: 345.8 kB / 437.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.4507, allocations: 0 / 437.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4507, allocations: 0 / 437.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.4507, allocations: 3.938 kB / 437.6 MB, free: 32.51 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005213/0.4513, allocations: 0.4972 MB / 438.1 MB, free: 32.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.4513, allocations: 9.594 kB / 438.1 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.4514, allocations: 48.78 kB / 438.2 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.4517, allocations: 89.72 kB / 438.3 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4519, allocations: 190.8 kB / 438.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.4519, allocations: 21.31 kB / 438.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4519, allocations: 11.09 kB / 438.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.4522, allocations: 253.8 kB / 438.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.4523, allocations: 0 / 438.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4523, allocations: 3.875 kB / 438.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4523, allocations: 10.2 kB / 438.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.4526, allocations: 242.9 kB / 439 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.4533, allocations: 0.8543 MB / 439.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4535, allocations: 173.9 kB / 440 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4537, allocations: 154.8 kB / 440.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4537, allocations: 3.938 kB / 440.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.4537, allocations: 42.12 kB / 440.2 MB, free: 31.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.202e-06/0.4537, allocations: 4 kB / 440.2 MB, free: 31.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005629/0.4543, allocations: 408.5 kB / 440.6 MB, free: 31.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.4543, allocations: 51.41 kB / 440.7 MB, free: 30.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.4544, allocations: 119.4 kB / 440.8 MB, free: 30.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.4544, allocations: 25.7 kB / 440.8 MB, free: 30.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.4544, allocations: 113.8 kB / 440.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.4545, allocations: 102.2 kB / 441 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.4545, allocations: 41.88 kB / 441 MB, free: 30.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.4546, allocations: 324 kB / 441.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4547, allocations: 119.6 kB / 441.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.4549, allocations: 172.1 kB / 441.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.4552, allocations: 208.5 kB / 441.9 MB, free: 30.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4552, allocations: 2.938 kB / 441.9 MB, free: 30.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003819/0.4556, allocations: 290.2 kB / 442.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.4556, allocations: 3.031 kB / 442.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.4556, allocations: 2.969 kB / 442.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4557, allocations: 3.094 kB / 442.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4558, allocations: 31.42 kB / 442.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4558, allocations: 0 / 442.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.4559, allocations: 28.58 kB / 442.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4559, allocations: 3.094 kB / 442.2 MB, free: 30.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.456, allocations: 126.8 kB / 442.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.456, allocations: 18.27 kB / 442.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.4565, allocations: 494.3 kB / 442.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004189/0.457, allocations: 420.7 kB / 443.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.457, allocations: 0 / 443.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.457, allocations: 3.562 kB / 443.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.4578, allocations: 0.9242 MB / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4579, allocations: 0 / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.458, allocations: 45.48 kB / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.458, allocations: 0 / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.458, allocations: 6.719 kB / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.458, allocations: 4 kB / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.458, allocations: 0 / 444.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.4585, allocations: 0.5167 MB / 444.7 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.4585, allocations: 98.17 kB / 444.8 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4586, allocations: 3.938 kB / 444.8 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4587, allocations: 21.12 kB / 444.9 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.4587, allocations: 19.91 kB / 444.9 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4587, allocations: 6.453 kB / 444.9 MB, free: 29.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.675e-05/0.4588, allocations: 85.59 kB / 445 MB, free: 29.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4588, allocations: 0 / 445 MB, free: 29.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.4591, allocations: 69.25 kB / 445 MB, free: 29.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (fluid.state.phase,$cse3.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008597/0.46, allocations: 1.225 MB / 446.3 MB, free: 28.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.4605, allocations: 408.3 kB / 446.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4605, allocations: 0 / 446.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4608, allocations: 226.6 kB / 446.9 MB, free: 28.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.4614, allocations: 117.2 kB / 447 MB, free: 28.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4634, allocations: 2.504 MB / 449.5 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.4635, allocations: 0.7505 MB / 450.3 MB, free: 25.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.4636, allocations: 29 kB / 450.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.4637, allocations: 66.03 kB / 450.3 MB, free: 25.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4637, allocations: 7.125 kB / 450.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4967/0.9604, allocations: 8.522 MB / 458.9 MB, free: 24.87 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/0.9606, allocations: 243.3 kB / 459.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.844, allocations: 0 / 459.1 MB, free: 24.61 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1)