Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.001391/0.001391, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.002188/0.002188, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.554/1.554, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.05342/0.05342, allocations: 9.147 MB / 290.8 MB, free: 13.89 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.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",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.002212/0.002212, allocations: 71.36 kB / 405.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.0966, allocations: 50.73 MB / 456.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.4274/0.524, allocations: 129.2 MB / 0.5721 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1197/0.6437, allocations: 111.3 MB / 0.6809 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.6443, allocations: 7.938 kB / 0.6809 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003444/0.6478, allocations: 1.551 MB / 0.6824 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.652, allocations: 1.826 MB / 0.6842 GB, free: 5.754 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.07967/0.7316, allocations: 31.3 MB / 0.7147 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.7338, allocations: 1.414 MB / 0.7161 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.7341, allocations: 89.72 kB / 0.7162 GB, free: 4.848 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.02028/0.7543, allocations: 9.935 MB / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.755, allocations: 396.3 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.7551, allocations: 44 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3601/1.115, allocations: 35.71 MB / 0.7612 GB, free: 48.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/1.115, allocations: 123.2 kB / 0.7613 GB, free: 48.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005717/1.116, allocations: 307.9 kB / 0.7616 GB, free: 48.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04662/1.163, allocations: 14.13 MB / 0.7754 GB, free: 48.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.163, allocations: 0 / 0.7754 GB, free: 48.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/1.163, allocations: 2.656 kB / 0.7754 GB, free: 48.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.12e-05/1.163, allocations: 0 / 0.7754 GB, free: 48.16 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.008929/1.172, allocations: 2.681 MB / 0.778 GB, free: 46.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.172, allocations: 7.125 kB / 0.778 GB, free: 46.65 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/1.172, allocations: 88.72 kB / 0.7781 GB, free: 46.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/1.172, allocations: 90.03 kB / 0.7782 GB, free: 46.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/1.173, allocations: 338.8 kB / 0.7785 GB, free: 46.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/1.173, allocations: 35.19 kB / 0.7786 GB, free: 46.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/1.173, allocations: 32.28 kB / 0.7786 GB, free: 46.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.174, allocations: 0.5957 MB / 0.7792 GB, free: 46.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/1.174, allocations: 7.359 kB / 0.7792 GB, free: 46.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.174, allocations: 14.84 kB / 0.7792 GB, free: 46.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.174, allocations: 13.42 kB / 0.7792 GB, free: 46.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.176, allocations: 0.5525 MB / 0.7798 GB, free: 46.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/1.178, allocations: 2.504 MB / 0.7822 GB, free: 44.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.179, allocations: 468.5 kB / 0.7826 GB, free: 44.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/1.18, allocations: 307 kB / 0.7829 GB, free: 44.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2453/1.425, allocations: 139 MB / 0.9187 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.425, allocations: 40.38 kB / 0.9187 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 3.266e-06/1.425, allocations: 0 / 0.9187 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.006076/1.431, allocations: 2.342 MB / 0.921 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/1.431, allocations: 55.41 kB / 0.921 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/1.431, allocations: 253 kB / 0.9213 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.431, allocations: 41.38 kB / 0.9213 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.432, allocations: 191.7 kB / 0.9215 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/1.432, allocations: 271.7 kB / 0.9218 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.432, allocations: 96.86 kB / 0.9219 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.432, allocations: 356 kB / 0.9222 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/1.433, allocations: 277.5 kB / 0.9225 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/1.433, allocations: 383.2 kB / 0.9228 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.434, allocations: 0.6836 MB / 0.9235 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.434, allocations: 4 kB / 0.9235 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001472/1.436, allocations: 0.7902 MB / 0.9243 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.436, allocations: 8 kB / 0.9243 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.436, allocations: 7.375 kB / 0.9243 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/1.436, allocations: 57.42 kB / 0.9243 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/1.437, allocations: 128.5 kB / 0.9245 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07599/1.513, allocations: 19.43 MB / 0.9434 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/1.513, allocations: 31.84 kB / 0.9435 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/1.513, allocations: 16.75 kB / 0.9435 GB, free: 4.391 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0003128/1.514, allocations: 190.7 kB / 0.9437 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.514, allocations: 43.72 kB / 0.9437 GB, free: 4.199 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/1.516, allocations: 1.667 MB / 0.9453 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/1.516, allocations: 15.55 kB / 0.9453 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.516, allocations: 0 / 0.9453 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001651/1.518, allocations: 1.244 MB / 0.9466 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/1.52, allocations: 1.701 MB / 0.9482 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.52, allocations: 5.125 kB / 0.9482 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/1.52, allocations: 80.62 kB / 0.9483 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/1.521, allocations: 104.3 kB / 0.9484 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.521, allocations: 7.812 kB / 0.9484 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/1.522, allocations: 1.996 MB / 0.9504 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.522, allocations: 0 / 0.9504 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.525, allocations: 1.296 MB / 0.9516 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/1.525, allocations: 120.8 kB / 0.9517 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/1.525, allocations: 18.06 kB / 0.9518 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/1.525, allocations: 30.09 kB / 0.9518 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.525, allocations: 43.36 kB / 0.9518 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.525, allocations: 15.98 kB / 0.9518 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003223/1.526, allocations: 222 kB / 0.9521 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.526, allocations: 0 / 0.9521 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01082/1.536, allocations: 3.574 MB / 0.9555 GB, free: 9.812 MB / 0.6856 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.02221/1.559, allocations: 6.285 MB / 0.9617 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00251/1.561, allocations: 0.9831 MB / 0.9626 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.561, allocations: 1.203 kB / 0.9626 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008942/1.562, allocations: 467.9 kB / 0.9631 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.564, allocations: 409.6 kB / 0.9635 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2328/1.797, allocations: 6.245 MB / 0.9696 GB, free: 344.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/1.797, allocations: 0.8573 MB / 0.9704 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006043/1.798, allocations: 141.8 kB / 0.9706 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/1.798, allocations: 172.9 kB / 0.9707 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of SimCode: time 8.82e-07/1.798, allocations: 0 / 0.9707 GB, free: 343.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1989/1.997, allocations: 133 MB / 1.101 GB, free: 238.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/20.02, allocations: 15.89 kB / 1.101 GB, free: 238.7 MB / 0.6856 GB " [Timeout remaining time 640] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.286253981292248] Failed to read output from testmodel.py, exit status != 0: 20.21456849295646 20.22496402 19.059943408 Calling exit ...