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.001269/0.001269, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001467/0.001467, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05147/0.05147, allocations: 9.15 MB / 295.2 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002344/0.002344, allocations: 67.62 kB / 411.9 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06943/0.07177, allocations: 50.77 MB / 462.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3161/0.3879, allocations: 129.4 MB / 0.5781 GB, free: 236 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1187/0.5066, allocations: 111.5 MB / 0.687 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/0.5071, allocations: 7.938 kB / 0.6871 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.5103, allocations: 1.598 MB / 0.6886 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.5142, allocations: 1.864 MB / 0.6904 GB, free: 3.902 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07503/0.5892, allocations: 31.55 MB / 0.7212 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002053/0.5913, allocations: 1.433 MB / 0.7226 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.5915, allocations: 93.91 kB / 0.7227 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5927, allocations: 0.615 MB / 0.7233 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/0.5933, allocations: 394.5 kB / 0.7237 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.5934, allocations: 44 kB / 0.7238 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2979/0.8912, allocations: 36.37 MB / 0.7593 GB, free: 44.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.8914, allocations: 127.8 kB / 0.7594 GB, free: 44.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.8919, allocations: 303.7 kB / 0.7597 GB, free: 44.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0339/0.9258, allocations: 14.01 MB / 0.7734 GB, free: 43.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9258, allocations: 3.938 kB / 0.7734 GB, free: 43.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9258, allocations: 0 / 0.7734 GB, free: 43.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.9258, allocations: 0 / 0.7734 GB, free: 43.78 MB / 0.545 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.005807/0.9316, allocations: 2.605 MB / 0.7759 GB, free: 42.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.9316, allocations: 14.31 kB / 0.7759 GB, free: 42.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.9316, allocations: 11.31 kB / 0.7759 GB, free: 42.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/0.9317, allocations: 82.67 kB / 0.776 GB, free: 42.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.9323, allocations: 94.39 kB / 0.7761 GB, free: 42.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.9326, allocations: 274.2 kB / 0.7764 GB, free: 42.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.9327, allocations: 35.41 kB / 0.7764 GB, free: 42.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.9327, allocations: 32.69 kB / 0.7764 GB, free: 42.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.9338, allocations: 0.6087 MB / 0.777 GB, free: 42.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.9338, allocations: 2.812 kB / 0.777 GB, free: 42.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.9339, allocations: 21.25 kB / 0.7771 GB, free: 42.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.9339, allocations: 17.69 kB / 0.7771 GB, free: 42.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.935, allocations: 0.5578 MB / 0.7776 GB, free: 42.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.9368, allocations: 2.526 MB / 0.7801 GB, free: 40.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/0.9378, allocations: 481.5 kB / 0.7805 GB, free: 40.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.9382, allocations: 319.9 kB / 0.7808 GB, free: 40.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1807/1.119, allocations: 43.91 MB / 0.8237 GB, free: 20.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.119, allocations: 34.84 kB / 0.8238 GB, free: 20.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 2.896e-06/1.119, allocations: 0 / 0.8238 GB, free: 20.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.005571/1.125, allocations: 2.237 MB / 0.8259 GB, free: 19.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/1.125, allocations: 59.41 kB / 0.826 GB, free: 19.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/1.125, allocations: 255.4 kB / 0.8262 GB, free: 18.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/1.125, allocations: 29.45 kB / 0.8263 GB, free: 18.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/1.125, allocations: 184.4 kB / 0.8264 GB, free: 18.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.125, allocations: 285.3 kB / 0.8267 GB, free: 18.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.125, allocations: 101.8 kB / 0.8268 GB, free: 18.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/1.125, allocations: 352.9 kB / 0.8272 GB, free: 18.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/1.126, allocations: 288.8 kB / 0.8274 GB, free: 17.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/1.126, allocations: 403.7 kB / 0.8278 GB, free: 17.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/1.127, allocations: 0.7223 MB / 0.8285 GB, free: 17.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.127, allocations: 0 / 0.8285 GB, free: 17.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001301/1.128, allocations: 0.8076 MB / 0.8293 GB, free: 16.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.128, allocations: 9.875 kB / 0.8293 GB, free: 16.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.128, allocations: 4.625 kB / 0.8293 GB, free: 16.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/1.129, allocations: 64.42 kB / 0.8294 GB, free: 16.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.129, allocations: 104.8 kB / 0.8295 GB, free: 16.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0628/1.192, allocations: 16.42 MB / 0.8455 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/1.192, allocations: 31.84 kB / 0.8456 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/1.192, allocations: 19.94 kB / 0.8456 GB, free: 448 kB / 0.545 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.0002429/1.193, allocations: 179.4 kB / 0.8457 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.193, allocations: 43.72 kB / 0.8458 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/1.195, allocations: 1.594 MB / 0.8473 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.195, allocations: 15.53 kB / 0.8474 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.195, allocations: 4 kB / 0.8474 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/1.196, allocations: 1.175 MB / 0.8485 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/1.199, allocations: 1.609 MB / 0.8501 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.199, allocations: 4 kB / 0.8501 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/1.199, allocations: 79.94 kB / 0.8502 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/1.199, allocations: 40.69 kB / 0.8502 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/1.199, allocations: 11.75 kB / 0.8502 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/1.201, allocations: 1.314 MB / 0.8515 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.201, allocations: 3.984 kB / 0.8515 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/1.203, allocations: 1.209 MB / 0.8527 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/1.203, allocations: 46.14 kB / 0.8527 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/1.203, allocations: 11.88 kB / 0.8527 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.203, allocations: 27.91 kB / 0.8528 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.203, allocations: 51.61 kB / 0.8528 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.203, allocations: 23.48 kB / 0.8528 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002647/1.204, allocations: 239.2 kB / 0.8531 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.204, allocations: 1.75 kB / 0.8531 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01003/1.214, allocations: 3.573 MB / 0.8565 GB, free: 6.84 MB / 0.5606 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.02075/1.234, allocations: 6.137 MB / 0.8625 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.236, allocations: 0.924 MB / 0.8634 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.236, allocations: 0 / 0.8634 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000908/1.237, allocations: 485 kB / 0.8639 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.239, allocations: 406.1 kB / 0.8643 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.257, allocations: 6.401 MB / 0.8705 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/1.258, allocations: 0.8526 MB / 0.8714 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007793/1.258, allocations: 165.5 kB / 0.8715 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.259, allocations: 166 kB / 0.8717 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/1.259, allocations: 0 / 0.8717 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4379/1.697, allocations: 133.1 MB / 1.002 GB, free: 243.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/19.21, allocations: 3.625 kB / 1.002 GB, free: 243.5 MB / 0.67 GB " [Timeout remaining time 641] (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: 25.366571794031188] Failed to read output from testmodel.py, exit status != 0: 19.45019016205333 19.46142716 18.532952445 Calling exit ...