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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 210.4 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01296/0.01296, allocations: 2.792 MB / 315.2 MB, free: 80 kB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 438.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09575, allocations: 54.18 MB / 492.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01039/0.1061, allocations: 8.167 MB / 0.4892 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.1137, allocations: 7.322 MB / 0.4964 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1139, allocations: 0 / 0.4964 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.1144, allocations: 119.2 kB / 0.4965 GB, free: 7.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1148, allocations: 95.36 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.1192, allocations: 1.421 MB / 0.498 GB, free: 5.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.1196, allocations: 254.8 kB / 0.4982 GB, free: 5.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.388e-05/0.1197, allocations: 5.75 kB / 0.4982 GB, free: 5.547 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.3459/0.4656, allocations: 13.75 MB / 0.5116 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.4657, allocations: 67.17 kB / 0.5117 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.4657, allocations: 6.438 kB / 0.5117 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009438/0.4667, allocations: 302 kB / 0.512 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.4667, allocations: 30.86 kB / 0.512 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.4668, allocations: 64.02 kB / 0.5121 GB, free: 9.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006705/0.4675, allocations: 350.6 kB / 0.5124 GB, free: 9.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4675, allocations: 0 / 0.5124 GB, free: 9.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4675, allocations: 1 kB / 0.5124 GB, free: 9.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4675, allocations: 0 / 0.5124 GB, free: 9.367 MB / 366.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.0006105/0.4681, allocations: 424.7 kB / 0.5128 GB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4682, allocations: 9.547 kB / 0.5128 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.4682, allocations: 51.31 kB / 0.5129 GB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.469, allocations: 94.56 kB / 0.513 GB, free: 9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4692, allocations: 140 kB / 0.5131 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.4692, allocations: 19.17 kB / 0.5131 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4693, allocations: 13.31 kB / 0.5131 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.4697, allocations: 303.5 kB / 0.5134 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4697, allocations: 0 / 0.5134 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4697, allocations: 4.188 kB / 0.5134 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4697, allocations: 11.47 kB / 0.5135 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.4701, allocations: 258.9 kB / 0.5137 GB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.4709, allocations: 0.6895 MB / 0.5144 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.4711, allocations: 147.7 kB / 0.5145 GB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.4713, allocations: 133 kB / 0.5146 GB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.4713, allocations: 8.641 kB / 0.5146 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.4713, allocations: 33.31 kB / 0.5147 GB, free: 8.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.263e-06/0.4713, allocations: 0 / 0.5147 GB, free: 8.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006718/0.472, allocations: 415 kB / 0.5151 GB, free: 8.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.472, allocations: 60.94 kB / 0.5151 GB, free: 8.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.4721, allocations: 114.9 kB / 0.5152 GB, free: 7.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4721, allocations: 33.45 kB / 0.5153 GB, free: 7.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.4721, allocations: 107.5 kB / 0.5154 GB, free: 7.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.4722, allocations: 115 kB / 0.5155 GB, free: 7.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.4723, allocations: 40.78 kB / 0.5155 GB, free: 7.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.4723, allocations: 326.8 kB / 0.5158 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4725, allocations: 124.7 kB / 0.516 GB, free: 7.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.4727, allocations: 173 kB / 0.5161 GB, free: 7.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.473, allocations: 220.5 kB / 0.5163 GB, free: 7.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.473, allocations: 2.625 kB / 0.5163 GB, free: 7.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004557/0.4735, allocations: 299.4 kB / 0.5166 GB, free: 7.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4735, allocations: 6.906 kB / 0.5166 GB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4735, allocations: 1.719 kB / 0.5166 GB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4735, allocations: 6.391 kB / 0.5166 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4737, allocations: 21.91 kB / 0.5167 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4737, allocations: 5.797 kB / 0.5167 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.4738, allocations: 26.66 kB / 0.5167 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4738, allocations: 4.797 kB / 0.5167 GB, free: 7.27 MB / 366.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.31e-05/0.4739, allocations: 134.2 kB / 0.5168 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.4739, allocations: 17.3 kB / 0.5168 GB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.4744, allocations: 339.1 kB / 0.5172 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.4744, allocations: 7.531 kB / 0.5172 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4744, allocations: 0 / 0.5172 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4744, allocations: 1.922 kB / 0.5172 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.4747, allocations: 256.2 kB / 0.5174 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4747, allocations: 5.656 kB / 0.5174 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.4748, allocations: 19.92 kB / 0.5174 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4748, allocations: 4.234 kB / 0.5174 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4748, allocations: 4.281 kB / 0.5174 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4748, allocations: 0.5625 kB / 0.5174 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4748, allocations: 0 / 0.5174 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.4753, allocations: 449.3 kB / 0.5179 GB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.4753, allocations: 20.78 kB / 0.5179 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4753, allocations: 6.859 kB / 0.5179 GB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4754, allocations: 5.375 kB / 0.5179 GB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.4755, allocations: 14.52 kB / 0.5179 GB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.4755, allocations: 3.734 kB / 0.5179 GB, free: 6.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.4755, allocations: 88.06 kB / 0.518 GB, free: 6.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4755, allocations: 0 / 0.518 GB, free: 6.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.4758, allocations: 61.94 kB / 0.5181 GB, free: 6.668 MB / 366.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: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001121/0.4769, allocations: 1.137 MB / 0.5192 GB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.4775, allocations: 345.8 kB / 0.5195 GB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4775, allocations: 1.531 kB / 0.5195 GB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.4778, allocations: 201 kB / 0.5197 GB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.4783, allocations: 76.11 kB / 0.5198 GB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.4806, allocations: 2.399 MB / 0.5221 GB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.4808, allocations: 142.7 kB / 0.5223 GB, free: 4.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.4809, allocations: 25.58 kB / 0.5223 GB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.4809, allocations: 71.39 kB / 0.5223 GB, free: 4.379 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.4809, allocations: 5.031 kB / 0.5223 GB, free: 4.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.5163, allocations: 9.018 MB / 0.5312 GB, free: 1.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.83, allocations: 1.781 kB / 0.5312 GB, free: 1.516 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.594519791193306] Failed to read output from testmodel.py, exit status != 0: 12.154529833234847 12.172791004 11.701725904 Calling exit ...