Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.00131/0.00131, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00136/0.00136, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.414/1.414, allocations: 207.6 MB / 230.5 MB, free: 3.992 MB / 174.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.04989/0.04989, allocations: 9.145 MB / 291.5 MB, free: 7.172 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.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",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.003559/0.003559, allocations: 66.41 kB / 406.6 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2845, allocations: 50.72 MB / 457.3 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.1597/0.4442, allocations: 129 MB / 0.5726 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3489/0.7931, allocations: 111.3 MB / 0.6813 GB, free: 0 / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/0.7938, allocations: 7.812 kB / 0.6813 GB, free: 0 / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.7968, allocations: 1.556 MB / 0.6828 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.8003, allocations: 1.83 MB / 0.6846 GB, free: 15.94 MB / 494.1 MB [/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.08077/0.8811, allocations: 31.04 MB / 0.7149 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.8833, allocations: 1.405 MB / 0.7163 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.8835, allocations: 85.59 kB / 0.7164 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01759/0.9011, allocations: 10.69 MB / 0.7268 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.9017, allocations: 392.1 kB / 0.7272 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.9018, allocations: 43.94 kB / 0.7272 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06455/0.9664, allocations: 34.97 MB / 0.7614 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.9666, allocations: 115.5 kB / 0.7615 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.9671, allocations: 308.3 kB / 0.7618 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0404/1.007, allocations: 13.97 MB / 0.7754 GB, free: 7.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.008, allocations: 0 / 0.7754 GB, free: 7.328 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/1.008, allocations: 0 / 0.7754 GB, free: 7.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.721e-05/1.008, allocations: 0 / 0.7754 GB, free: 7.328 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.006822/1.014, allocations: 2.675 MB / 0.778 GB, free: 4.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.014, allocations: 8.031 kB / 0.778 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.296e-05/1.014, allocations: 8.656 kB / 0.7781 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/1.015, allocations: 82.52 kB / 0.7781 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/1.015, allocations: 99.62 kB / 0.7782 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/1.016, allocations: 343.9 kB / 0.7786 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/1.016, allocations: 32.66 kB / 0.7786 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/1.016, allocations: 32 kB / 0.7786 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.017, allocations: 0.601 MB / 0.7792 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/1.017, allocations: 4 kB / 0.7792 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/1.017, allocations: 16 kB / 0.7792 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/1.017, allocations: 15.27 kB / 0.7792 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/1.019, allocations: 0.5493 MB / 0.7798 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/1.022, allocations: 2.465 MB / 0.7822 GB, free: 100 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/1.023, allocations: 463.1 kB / 0.7826 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/1.024, allocations: 306 kB / 0.7829 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4058/1.429, allocations: 139 MB / 0.9186 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.43, allocations: 46.17 kB / 0.9187 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 2.735e-06/1.43, allocations: 0 / 0.9187 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.005333/1.435, allocations: 2.339 MB / 0.921 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/1.435, allocations: 55.41 kB / 0.921 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/1.435, allocations: 260.7 kB / 0.9213 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/1.435, allocations: 41.64 kB / 0.9213 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/1.435, allocations: 193.6 kB / 0.9215 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/1.435, allocations: 276.3 kB / 0.9218 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/1.435, allocations: 98.11 kB / 0.9219 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/1.435, allocations: 354.7 kB / 0.9222 GB, free: 198.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/1.436, allocations: 279.7 kB / 0.9225 GB, free: 198.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/1.436, allocations: 389.6 kB / 0.9228 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/1.437, allocations: 0.7047 MB / 0.9235 GB, free: 197.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.437, allocations: 0 / 0.9235 GB, free: 197.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001216/1.438, allocations: 0.7894 MB / 0.9243 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.438, allocations: 8 kB / 0.9243 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.438, allocations: 4 kB / 0.9243 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/1.439, allocations: 72.95 kB / 0.9244 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/1.439, allocations: 143.3 kB / 0.9245 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06237/1.502, allocations: 18.43 MB / 0.9425 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/1.502, allocations: 32.05 kB / 0.9425 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/1.502, allocations: 19.98 kB / 0.9426 GB, free: 177.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0002199/1.502, allocations: 190.2 kB / 0.9427 GB, free: 177.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/1.502, allocations: 47.66 kB / 0.9428 GB, free: 177.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/1.504, allocations: 1.692 MB / 0.9444 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.504, allocations: 15.59 kB / 0.9444 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.504, allocations: 7.984 kB / 0.9445 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/1.505, allocations: 1.277 MB / 0.9457 GB, free: 174.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/1.507, allocations: 1.737 MB / 0.9474 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.507, allocations: 4 kB / 0.9474 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/1.507, allocations: 71.89 kB / 0.9475 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/1.508, allocations: 170.3 kB / 0.9476 GB, free: 172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/1.508, allocations: 4 kB / 0.9476 GB, free: 172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009516/1.509, allocations: 2.578 MB / 0.9502 GB, free: 169.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.509, allocations: 0 / 0.9502 GB, free: 169.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.51, allocations: 1.37 MB / 0.9515 GB, free: 167.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/1.51, allocations: 122 kB / 0.9516 GB, free: 167.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/1.51, allocations: 8 kB / 0.9516 GB, free: 167.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/1.511, allocations: 28.03 kB / 0.9516 GB, free: 167.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/1.511, allocations: 43.94 kB / 0.9517 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/1.511, allocations: 15.98 kB / 0.9517 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001596/1.511, allocations: 223.1 kB / 0.9519 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/1.511, allocations: 0 / 0.9519 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00767/1.519, allocations: 3.571 MB / 0.9554 GB, free: 164.3 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01677/1.535, allocations: 6.192 MB / 0.9614 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002094/1.537, allocations: 0.9975 MB / 0.9624 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.537, allocations: 0 / 0.9624 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.538, allocations: 487.6 kB / 0.9629 GB, free: 157 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.54, allocations: 406.5 kB / 0.9633 GB, free: 156.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.55, allocations: 6.282 MB / 0.9694 GB, free: 150.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/1.55, allocations: 0.8526 MB / 0.9702 GB, free: 149.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003708/1.55, allocations: 150 kB / 0.9704 GB, free: 149.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/1.551, allocations: 167.4 kB / 0.9705 GB, free: 149 MB / 0.6075 GB Notification: Performance of SimCode: time 7.52e-07/1.551, allocations: 0 / 0.9705 GB, free: 149 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1859/1.737, allocations: 133.3 MB / 1.101 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/18.63, allocations: 8.047 kB / 1.101 GB, free: 15.52 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.219777283025905] Failed to read output from testmodel.py, exit status != 0: 18.862774096021894 18.877928038 17.866830412 Calling exit ...