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.0008033/0.0008033, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008493/0.0008493, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8965/0.8965, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008817/0.008817, allocations: 1.983 MB / 261.2 MB, free: 11.26 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 384.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.414e-05, allocations: 6.219 kB / 384.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.006392/0.006406, allocations: 8.147 MB / 392.8 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.01046, allocations: 7.302 MB / 400.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.01053, allocations: 3.938 kB / 400.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.01092, allocations: 143.1 kB / 400.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.01117, allocations: 95.3 kB / 400.3 MB, free: 12.16 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.002808/0.01397, allocations: 1.466 MB / 401.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.01434, allocations: 258.7 kB / 402 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.0144, allocations: 5.812 kB / 402 MB, free: 10.43 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.6405/0.6549, allocations: 13.77 MB / 415.8 MB, free: 26.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.6551, allocations: 57.92 kB / 415.9 MB, free: 26.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.6551, allocations: 6.594 kB / 415.9 MB, free: 26.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008717/0.656, allocations: 304.2 kB / 416.2 MB, free: 26.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.6561, allocations: 27.02 kB / 416.2 MB, free: 26.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.6561, allocations: 52.72 kB / 416.3 MB, free: 26.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.6568, allocations: 357 kB / 416.6 MB, free: 26.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6568, allocations: 1.594 kB / 416.6 MB, free: 26.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6568, allocations: 3.594 kB / 416.6 MB, free: 26.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.6568, allocations: 0 / 416.6 MB, free: 26.62 MB / 330.7 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.0005404/0.6573, allocations: 430.2 kB / 417 MB, free: 26.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6574, allocations: 9.656 kB / 417 MB, free: 26.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.6574, allocations: 52.17 kB / 417.1 MB, free: 26.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.6577, allocations: 92.66 kB / 417.2 MB, free: 26.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.6578, allocations: 139.8 kB / 417.3 MB, free: 26.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.6579, allocations: 22.84 kB / 417.3 MB, free: 26.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.6579, allocations: 6.859 kB / 417.3 MB, free: 26.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.6582, allocations: 309.4 kB / 417.7 MB, free: 26.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6582, allocations: 5.766 kB / 417.7 MB, free: 26.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6582, allocations: 5.031 kB / 417.7 MB, free: 26.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.6583, allocations: 14.14 kB / 417.7 MB, free: 26.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.6585, allocations: 252.4 kB / 417.9 MB, free: 26.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.6592, allocations: 0.6884 MB / 418.6 MB, free: 25.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.6594, allocations: 149.6 kB / 418.8 MB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.6595, allocations: 129.5 kB / 418.9 MB, free: 25.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.6595, allocations: 5.406 kB / 418.9 MB, free: 25.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.6595, allocations: 35.42 kB / 418.9 MB, free: 25.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.212e-06/0.6595, allocations: 1.344 kB / 418.9 MB, free: 25.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004658/0.66, allocations: 421.9 kB / 419.3 MB, free: 25.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.66, allocations: 52.5 kB / 419.4 MB, free: 25.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.6601, allocations: 118.1 kB / 419.5 MB, free: 25.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.6601, allocations: 25.7 kB / 419.5 MB, free: 25.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.6601, allocations: 111.5 kB / 419.6 MB, free: 25.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.6602, allocations: 114.1 kB / 419.7 MB, free: 25.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.6602, allocations: 39.62 kB / 419.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.6602, allocations: 327.1 kB / 420.1 MB, free: 24.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6604, allocations: 121.4 kB / 420.2 MB, free: 24.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.6605, allocations: 178.3 kB / 420.4 MB, free: 24.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.6607, allocations: 213.3 kB / 420.6 MB, free: 24.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6607, allocations: 0 / 420.6 MB, free: 24.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000326/0.6611, allocations: 300 kB / 420.9 MB, free: 24.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6611, allocations: 11.06 kB / 420.9 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6611, allocations: 5.344 kB / 420.9 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6611, allocations: 2.125 kB / 420.9 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.6612, allocations: 23.03 kB / 420.9 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6612, allocations: 5.5 kB / 420.9 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.6613, allocations: 30.28 kB / 421 MB, free: 24.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6613, allocations: 5.219 kB / 421 MB, free: 24.57 MB / 330.7 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.863e-05/0.6613, allocations: 125.8 kB / 421.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.6614, allocations: 16.66 kB / 421.1 MB, free: 24.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.6617, allocations: 345.8 kB / 421.5 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6617, allocations: 6.047 kB / 421.5 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6618, allocations: 0 / 421.5 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6618, allocations: 1.859 kB / 421.5 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.6619, allocations: 256.6 kB / 421.7 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6619, allocations: 0 / 421.7 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.662, allocations: 20.14 kB / 421.7 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.662, allocations: 7.406 kB / 421.7 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.662, allocations: 8.781 kB / 421.8 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.662, allocations: 480 / 421.8 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.662, allocations: 2.031 kB / 421.8 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.6623, allocations: 446 kB / 422.2 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.6623, allocations: 23.95 kB / 422.2 MB, free: 24.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.6624, allocations: 5.891 kB / 422.2 MB, free: 24.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.6624, allocations: 13.97 kB / 422.2 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.6625, allocations: 14.94 kB / 422.2 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.6625, allocations: 3.156 kB / 422.3 MB, free: 24.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.417e-05/0.6625, allocations: 92.55 kB / 422.3 MB, free: 23.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6625, allocations: 1.25 kB / 422.3 MB, free: 23.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.6627, allocations: 55.31 kB / 422.4 MB, free: 23.96 MB / 330.7 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.0007249/0.6635, allocations: 1.114 MB / 423.5 MB, free: 23.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.6638, allocations: 358.8 kB / 423.9 MB, free: 23.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6638, allocations: 0 / 423.9 MB, free: 23.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.664, allocations: 207.8 kB / 424.1 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.6643, allocations: 80.28 kB / 424.1 MB, free: 23.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6659, allocations: 2.368 MB / 426.5 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.666, allocations: 135.1 kB / 426.6 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.6661, allocations: 22.81 kB / 426.7 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.6662, allocations: 64.22 kB / 426.7 MB, free: 21.69 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6662, allocations: 1.375 kB / 426.7 MB, free: 21.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.6852, allocations: 9.156 MB / 435.9 MB, free: 18.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/7.476, allocations: 0 / 435.9 MB, free: 18.66 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.875198600813746] Failed to read output from testmodel.py, exit status != 0: 7.809185256250203 7.815160441 7.157039172 Calling exit ...