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.001777/0.001777, 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.002229/0.002229, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.04832/0.04832, allocations: 9.143 MB / 321.6 MB, free: 10.18 MB / 254.1 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 0.001963/0.001963, allocations: 63.91 kB / 446.6 MB, free: 476 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.1014, allocations: 54.94 MB / 0.4897 GB, free: 9.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3289/0.4303, allocations: 115 MB / 0.602 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.107/0.5373, allocations: 98.71 MB / 0.6984 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.5379, allocations: 7.938 kB / 0.6984 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.5414, allocations: 1.246 MB / 0.6996 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.5455, allocations: 1.591 MB / 0.7012 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3204/0.8659, allocations: 31.34 MB / 0.7318 GB, free: 21.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.8678, allocations: 1.435 MB / 0.7332 GB, free: 21.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.8681, allocations: 78.28 kB / 0.7333 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.8691, allocations: 0.631 MB / 0.7339 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000523/0.8696, allocations: 371.8 kB / 0.7343 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/0.8697, allocations: 42.5 kB / 0.7343 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04333/0.9131, allocations: 24.19 MB / 0.7579 GB, free: 21.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.9133, allocations: 123.9 kB / 0.758 GB, free: 21.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.9139, allocations: 252.6 kB / 0.7583 GB, free: 21.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.035/0.9489, allocations: 12.21 MB / 0.7702 GB, free: 21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.9489, allocations: 0 / 0.7702 GB, free: 21 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9489, allocations: 5.203 kB / 0.7702 GB, free: 21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.9489, allocations: 0 / 0.7702 GB, free: 21 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.006164/0.9551, allocations: 2.586 MB / 0.7727 GB, free: 19.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9551, allocations: 10.97 kB / 0.7727 GB, free: 19.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.01e-05/0.9552, allocations: 85.88 kB / 0.7728 GB, free: 19.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.9558, allocations: 92.11 kB / 0.7729 GB, free: 19.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.9563, allocations: 279 kB / 0.7732 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.9563, allocations: 34.97 kB / 0.7732 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.9563, allocations: 32.12 kB / 0.7732 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.9574, allocations: 0.7608 MB / 0.774 GB, free: 19.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.9575, allocations: 2.391 kB / 0.774 GB, free: 19.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.9575, allocations: 16.41 kB / 0.774 GB, free: 19.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.9575, allocations: 15.98 kB / 0.774 GB, free: 19.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.9586, allocations: 0.5539 MB / 0.7746 GB, free: 19.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.9604, allocations: 1.702 MB / 0.7762 GB, free: 18.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.9614, allocations: 491.2 kB / 0.7767 GB, free: 18.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.9618, allocations: 316.5 kB / 0.777 GB, free: 18.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1878/1.15, allocations: 44.04 MB / 0.82 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/1.15, allocations: 38.78 kB / 0.82 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/1.15, allocations: 0 / 0.82 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006369/1.156, allocations: 2.243 MB / 0.8222 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.156, allocations: 59.16 kB / 0.8223 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/1.156, allocations: 264 kB / 0.8225 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/1.156, allocations: 29.64 kB / 0.8226 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/1.157, allocations: 192.3 kB / 0.8227 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/1.157, allocations: 281.2 kB / 0.823 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.157, allocations: 96.92 kB / 0.8231 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.157, allocations: 357.9 kB / 0.8234 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/1.158, allocations: 279.1 kB / 0.8237 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/1.158, allocations: 409.4 kB / 0.8241 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.159, allocations: 0.7217 MB / 0.8248 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.159, allocations: 4.656 kB / 0.8248 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001566/1.161, allocations: 0.8032 MB / 0.8256 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.161, allocations: 12 kB / 0.8256 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.161, allocations: 0 / 0.8256 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/1.161, allocations: 61.92 kB / 0.8257 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/1.162, allocations: 102.2 kB / 0.8258 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06975/1.231, allocations: 16.44 MB / 0.8418 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/1.232, allocations: 27.72 kB / 0.8418 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/1.232, allocations: 19.94 kB / 0.8419 GB, free: 1.523 MB / 0.5762 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.0002995/1.232, allocations: 183.1 kB / 0.842 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.232, allocations: 54.97 kB / 0.8421 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/1.235, allocations: 1.587 MB / 0.8436 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.235, allocations: 12.41 kB / 0.8436 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.235, allocations: 4 kB / 0.8436 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/1.236, allocations: 1.17 MB / 0.8448 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/1.239, allocations: 1.551 MB / 0.8463 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.239, allocations: 0 / 0.8463 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/1.239, allocations: 86.47 kB / 0.8464 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/1.239, allocations: 41.17 kB / 0.8464 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/1.239, allocations: 7.875 kB / 0.8464 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.24, allocations: 1.326 MB / 0.8477 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.24, allocations: 0 / 0.8477 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/1.242, allocations: 1.21 MB / 0.8489 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.243, allocations: 39.94 kB / 0.8489 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/1.243, allocations: 14.81 kB / 0.849 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/1.243, allocations: 23.59 kB / 0.849 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.243, allocations: 50.73 kB / 0.849 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/1.243, allocations: 11.98 kB / 0.849 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002699/1.243, allocations: 243.8 kB / 0.8493 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/1.243, allocations: 0 / 0.8493 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009331/1.253, allocations: 3.574 MB / 0.8528 GB, free: 7.961 MB / 0.5919 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.0204/1.273, allocations: 6.159 MB / 0.8588 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.275, allocations: 0.9174 MB / 0.8597 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.275, allocations: 0 / 0.8597 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009346/1.276, allocations: 479.4 kB / 0.8601 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.278, allocations: 410.8 kB / 0.8605 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.292, allocations: 6.409 MB / 0.8668 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.293, allocations: 249.7 kB / 0.867 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004907/1.293, allocations: 165.8 kB / 0.8672 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.293, allocations: 167.9 kB / 0.8673 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/1.293, allocations: 0 / 0.8673 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4498/1.743, allocations: 134.4 MB / 0.9986 GB, free: 248.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.72, allocations: 0 / 0.9986 GB, free: 248.4 MB / 0.7012 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: 23.701038531027734] Failed to read output from testmodel.py, exit status != 0: 18.919588649179786 18.938602328 17.985865719 Calling exit ...