Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.0008246/0.0008246, 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.0009034/0.0009034, 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.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02975/0.02975, allocations: 7.514 MB / 266.7 MB, free: 6.188 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 391.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.081e-05, allocations: 2.281 kB / 391.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2423/0.2424, allocations: 114.8 MB / 0.4947 GB, free: 24.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06533/0.3077, allocations: 98.7 MB / 0.5911 GB, free: 8.254 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.3082, allocations: 11.94 kB / 0.5911 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.3104, allocations: 1.263 MB / 0.5923 GB, free: 6.977 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.3131, allocations: 1.626 MB / 0.5939 GB, free: 5.344 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06201/0.3751, allocations: 31.84 MB / 0.625 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.3768, allocations: 1.456 MB / 0.6264 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.377, allocations: 89.58 kB / 0.6265 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.3779, allocations: 0.8415 MB / 0.6273 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.3783, allocations: 335.8 kB / 0.6277 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.3783, allocations: 44 kB / 0.6277 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2463/0.6246, allocations: 24.38 MB / 0.6515 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.6249, allocations: 131.4 kB / 0.6516 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.6253, allocations: 215.7 kB / 0.6518 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03616/0.6615, allocations: 14.38 MB / 0.6659 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6615, allocations: 0 / 0.6659 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6615, allocations: 0 / 0.6659 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.6615, allocations: 3.094 kB / 0.6659 GB, free: 28.43 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006932/0.6685, allocations: 2.583 MB / 0.6684 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.6685, allocations: 9.969 kB / 0.6684 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.6686, allocations: 84.19 kB / 0.6685 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.669, allocations: 89.48 kB / 0.6686 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.6694, allocations: 288.5 kB / 0.6689 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.6694, allocations: 25.69 kB / 0.6689 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.6695, allocations: 33.56 kB / 0.6689 GB, free: 26.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.6703, allocations: 0.7617 MB / 0.6697 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6703, allocations: 2.062 kB / 0.6697 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.6704, allocations: 13.91 kB / 0.6697 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.6704, allocations: 25.02 kB / 0.6697 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.6711, allocations: 0.5561 MB / 0.6702 GB, free: 26.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.6726, allocations: 1.692 MB / 0.6719 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.6732, allocations: 492.7 kB / 0.6724 GB, free: 25.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.6735, allocations: 312 kB / 0.6727 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09736/0.7709, allocations: 44.04 MB / 0.7157 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.7709, allocations: 38.72 kB / 0.7157 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.424e-06/0.7709, allocations: 0 / 0.7157 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.003384/0.7743, allocations: 2.235 MB / 0.7179 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.7743, allocations: 57.66 kB / 0.7179 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.7745, allocations: 259.4 kB / 0.7182 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.7745, allocations: 33.52 kB / 0.7182 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.7746, allocations: 190 kB / 0.7184 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.7746, allocations: 282 kB / 0.7187 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.7747, allocations: 96.75 kB / 0.7188 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.7748, allocations: 358.1 kB / 0.7191 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.775, allocations: 275.8 kB / 0.7194 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.7753, allocations: 408.5 kB / 0.7198 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.7758, allocations: 0.7185 MB / 0.7205 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7759, allocations: 8 kB / 0.7205 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007563/0.7766, allocations: 0.808 MB / 0.7213 GB, free: 192 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7766, allocations: 5.875 kB / 0.7213 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7766, allocations: 8.688 kB / 0.7213 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.7768, allocations: 60.3 kB / 0.7213 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.777, allocations: 105.5 kB / 0.7214 GB, free: 32 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0353/0.8123, allocations: 16.41 MB / 0.7375 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.8127, allocations: 24.72 kB / 0.7375 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.8127, allocations: 23.81 kB / 0.7375 GB, free: 188 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.8129, allocations: 194.5 kB / 0.7377 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.813, allocations: 47.91 kB / 0.7377 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.8145, allocations: 1.583 MB / 0.7393 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.8145, allocations: 23.56 kB / 0.7393 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8145, allocations: 3.75 kB / 0.7393 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008448/0.8154, allocations: 1.176 MB / 0.7404 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.8168, allocations: 1.555 MB / 0.742 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8168, allocations: 0 / 0.742 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.817, allocations: 83.06 kB / 0.742 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.8171, allocations: 40.58 kB / 0.7421 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.8171, allocations: 11.81 kB / 0.7421 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000666/0.8178, allocations: 1.313 MB / 0.7434 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8178, allocations: 0 / 0.7434 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.8189, allocations: 1.208 MB / 0.7446 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.819, allocations: 39.73 kB / 0.7446 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.819, allocations: 15.75 kB / 0.7446 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.8192, allocations: 31.41 kB / 0.7446 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.8193, allocations: 43.67 kB / 0.7447 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.8193, allocations: 15.86 kB / 0.7447 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001725/0.8194, allocations: 244.7 kB / 0.7449 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8194, allocations: 0 / 0.7449 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009379/0.8288, allocations: 3.571 MB / 0.7484 GB, free: 6.617 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01836/0.8472, allocations: 6.528 MB / 0.7548 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.8486, allocations: 0.9256 MB / 0.7557 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8486, allocations: 192 / 0.7557 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.8491, allocations: 478.5 kB / 0.7562 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.8503, allocations: 420.8 kB / 0.7566 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.862, allocations: 6.365 MB / 0.7628 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.8621, allocations: 242.3 kB / 0.763 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.8626, allocations: 169.3 kB / 0.7632 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.8628, allocations: 171.1 kB / 0.7633 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of SimCode: time 1.934e-06/0.8628, allocations: 4 kB / 0.7633 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3492/1.212, allocations: 134.9 MB / 0.8951 GB, free: 206.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.9, allocations: 5.578 kB / 0.8951 GB, free: 206.2 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.89523119945079] Failed to read output from testmodel.py, exit status != 0: 12.06227202154696 12.069038863 11.405872819 Calling exit ...