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.001171/0.00117, 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.00125/0.00125, allocations: 195.5 kB / 16.14 MB, free: 6.66 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1121/0.1121, allocations: 2.76 MB / 292.7 MB, free: 3.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 63.89 kB / 353.8 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.08046, allocations: 50.24 MB / 404.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008214/0.0887, allocations: 8.841 MB / 412.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006183/0.09491, allocations: 8.424 MB / 421.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.09498, allocations: 3.938 kB / 421.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.0954, allocations: 147.2 kB / 421.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.09562, allocations: 83.47 kB / 421.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1374/0.233, allocations: 1.32 MB / 422.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.2334, allocations: 280 kB / 423.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.2334, allocations: 11.75 kB / 423.2 MB, free: 37.63 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.2009/0.4344, allocations: 12.45 MB / 435.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.4346, allocations: 72.22 kB / 435.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.4346, allocations: 3.156 kB / 435.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.4358, allocations: 326.2 kB / 436 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.4358, allocations: 22.17 kB / 436 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.4359, allocations: 75.69 kB / 436.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.4365, allocations: 340.9 kB / 436.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4366, allocations: 0 / 436.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.4366, allocations: 7.438 kB / 436.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.4366, allocations: 0 / 436.4 MB, free: 33.68 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.0005711/0.4372, allocations: 496.7 kB / 436.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4372, allocations: 13.53 kB / 436.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.4372, allocations: 50.05 kB / 437 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.4376, allocations: 93.91 kB / 437.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.4378, allocations: 196.6 kB / 437.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.4378, allocations: 21.88 kB / 437.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4378, allocations: 14.34 kB / 437.3 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.4382, allocations: 247.3 kB / 437.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4382, allocations: 3.984 kB / 437.5 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4382, allocations: 6.75 kB / 437.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4382, allocations: 10.42 kB / 437.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.4386, allocations: 239.3 kB / 437.8 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.4393, allocations: 0.8584 MB / 438.7 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.4395, allocations: 168.9 kB / 438.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.4397, allocations: 156.6 kB / 439 MB, free: 32.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4398, allocations: 7.688 kB / 439 MB, free: 32.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.4398, allocations: 37.34 kB / 439 MB, free: 32.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.4398, allocations: 0 / 439 MB, free: 32.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006286/0.4404, allocations: 403.6 kB / 439.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.4405, allocations: 54.22 kB / 439.5 MB, free: 32.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/0.4405, allocations: 116.4 kB / 439.6 MB, free: 32.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.4405, allocations: 32.45 kB / 439.6 MB, free: 32.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.4406, allocations: 106.5 kB / 439.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.4406, allocations: 104.6 kB / 439.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.4407, allocations: 44.7 kB / 439.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.4407, allocations: 322.8 kB / 440.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.4409, allocations: 121.5 kB / 440.3 MB, free: 31.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.4411, allocations: 168.4 kB / 440.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.4414, allocations: 208.6 kB / 440.7 MB, free: 31.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4414, allocations: 7.328 kB / 440.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000411/0.4419, allocations: 291.9 kB / 441 MB, free: 31.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4419, allocations: 14.28 kB / 441 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4419, allocations: 480 / 441 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4419, allocations: 2.875 kB / 441 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.442, allocations: 20.67 kB / 441 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4421, allocations: 2.969 kB / 441 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.4422, allocations: 24.06 kB / 441 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.4422, allocations: 3.344 kB / 441 MB, free: 31.34 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 7.056e-05/0.4423, allocations: 141.1 kB / 441.2 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.4423, allocations: 14.81 kB / 441.2 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/0.4429, allocations: 486.8 kB / 441.7 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004433/0.4433, allocations: 419.4 kB / 442.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4433, allocations: 96 / 442.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4433, allocations: 3.938 kB / 442.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/0.4442, allocations: 0.9232 MB / 443 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4442, allocations: 0 / 443 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.4444, allocations: 35.2 kB / 443 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4444, allocations: 7.062 kB / 443 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4444, allocations: 7.234 kB / 443 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4444, allocations: 3.125 kB / 443 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4444, allocations: 0 / 443 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.4449, allocations: 0.5199 MB / 443.6 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.445, allocations: 103.5 kB / 443.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.445, allocations: 4 kB / 443.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4451, allocations: 17.81 kB / 443.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4452, allocations: 20.19 kB / 443.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4452, allocations: 3.219 kB / 443.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.4452, allocations: 92.91 kB / 443.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4452, allocations: 0 / 443.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.4455, allocations: 70.12 kB / 443.9 MB, free: 30.37 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.0009393/0.4465, allocations: 1.211 MB / 445.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.447, allocations: 401.8 kB / 445.5 MB, free: 29.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.447, allocations: 320 / 445.5 MB, free: 29.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.4473, allocations: 229.7 kB / 445.7 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.4479, allocations: 112 kB / 445.8 MB, free: 29.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.4501, allocations: 2.523 MB / 448.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.4503, allocations: 0.7502 MB / 449.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4504, allocations: 21.61 kB / 449.1 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.4505, allocations: 71.16 kB / 449.2 MB, free: 26.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4505, allocations: 4 kB / 449.2 MB, free: 26.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.4689, allocations: 8.254 MB / 457.4 MB, free: 26.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.4691, allocations: 242.5 kB / 457.7 MB, free: 25.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.424, allocations: 4 kB / 457.7 MB, free: 25.83 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)