Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.001334/0.001334, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001457/0.001457, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.442/1.442, allocations: 207.6 MB / 233 MB, free: 10.01 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.07975/0.07975, allocations: 9.165 MB / 294.4 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.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",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.00227/0.00227, allocations: 72.14 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09556, allocations: 50.75 MB / 461.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.385/0.4806, allocations: 128.8 MB / 0.5768 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1212/0.6018, allocations: 110.4 MB / 0.6847 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.6025, allocations: 11.94 kB / 0.6847 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.6061, allocations: 1.461 MB / 0.6861 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.6107, allocations: 1.72 MB / 0.6878 GB, free: 5.859 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.0878/0.6985, allocations: 30.69 MB / 0.7178 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.7006, allocations: 1.343 MB / 0.7191 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.7008, allocations: 93.84 kB / 0.7192 GB, free: 5.617 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.01749/0.7183, allocations: 9.003 MB / 0.728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.7189, allocations: 378.5 kB / 0.7283 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.719, allocations: 40 kB / 0.7284 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3943/1.113, allocations: 35.06 MB / 0.7626 GB, free: 47.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/1.114, allocations: 128.6 kB / 0.7627 GB, free: 47.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/1.114, allocations: 305.7 kB / 0.763 GB, free: 47.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04595/1.16, allocations: 14.2 MB / 0.7769 GB, free: 47.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.16, allocations: 0 / 0.7769 GB, free: 47.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/1.16, allocations: 0 / 0.7769 GB, free: 47.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.16, allocations: 3.562 kB / 0.7769 GB, free: 47.55 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.0077/1.168, allocations: 2.604 MB / 0.7794 GB, free: 46.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.168, allocations: 14.27 kB / 0.7795 GB, free: 46.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.608e-05/1.168, allocations: 83.2 kB / 0.7795 GB, free: 46.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/1.169, allocations: 88.25 kB / 0.7796 GB, free: 46.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/1.169, allocations: 282.9 kB / 0.7799 GB, free: 45.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/1.169, allocations: 30.47 kB / 0.7799 GB, free: 45.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/1.169, allocations: 35.38 kB / 0.78 GB, free: 45.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/1.171, allocations: 0.6048 MB / 0.7805 GB, free: 45.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/1.171, allocations: 3.844 kB / 0.7805 GB, free: 45.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/1.171, allocations: 16.69 kB / 0.7806 GB, free: 45.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/1.171, allocations: 21.64 kB / 0.7806 GB, free: 45.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/1.172, allocations: 0.5571 MB / 0.7811 GB, free: 45.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/1.174, allocations: 2.477 MB / 0.7835 GB, free: 44.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.175, allocations: 483.4 kB / 0.784 GB, free: 44.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/1.175, allocations: 317.9 kB / 0.7843 GB, free: 44.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.19/1.366, allocations: 43.91 MB / 0.8272 GB, free: 20.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.366, allocations: 38.66 kB / 0.8272 GB, free: 20.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/1.366, allocations: 0 / 0.8272 GB, free: 20.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005604/1.371, allocations: 2.237 MB / 0.8294 GB, free: 18.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.371, allocations: 55.41 kB / 0.8295 GB, free: 18.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/1.371, allocations: 264.7 kB / 0.8297 GB, free: 18.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.371, allocations: 29.64 kB / 0.8297 GB, free: 18.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/1.372, allocations: 195.3 kB / 0.8299 GB, free: 18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/1.372, allocations: 282.2 kB / 0.8302 GB, free: 17.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/1.372, allocations: 96.8 kB / 0.8303 GB, free: 17.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/1.372, allocations: 349.5 kB / 0.8306 GB, free: 17.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/1.372, allocations: 291.9 kB / 0.8309 GB, free: 17.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/1.373, allocations: 408 kB / 0.8313 GB, free: 16.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/1.374, allocations: 0.7284 MB / 0.832 GB, free: 16.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.374, allocations: 4 kB / 0.832 GB, free: 16.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001262/1.375, allocations: 0.8137 MB / 0.8328 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.375, allocations: 8.875 kB / 0.8328 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.375, allocations: 6.391 kB / 0.8328 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/1.375, allocations: 69.8 kB / 0.8329 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/1.376, allocations: 128.9 kB / 0.833 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06768/1.444, allocations: 19.69 MB / 0.8522 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/1.444, allocations: 31.78 kB / 0.8523 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/1.444, allocations: 23.88 kB / 0.8523 GB, free: 12.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0003404/1.444, allocations: 184.5 kB / 0.8525 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.444, allocations: 43.72 kB / 0.8525 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/1.447, allocations: 1.613 MB / 0.8541 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/1.447, allocations: 15.47 kB / 0.8541 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.447, allocations: 0 / 0.8541 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/1.448, allocations: 1.21 MB / 0.8553 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/1.451, allocations: 1.644 MB / 0.8569 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.451, allocations: 4 kB / 0.8569 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/1.451, allocations: 79.78 kB / 0.857 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/1.451, allocations: 107.1 kB / 0.8571 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/1.451, allocations: 15.78 kB / 0.8571 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/1.453, allocations: 1.887 MB / 0.8589 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.453, allocations: 4.031 kB / 0.8589 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.455, allocations: 1.294 MB / 0.8602 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.455, allocations: 43.62 kB / 0.8602 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/1.455, allocations: 11.75 kB / 0.8602 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.456, allocations: 23.91 kB / 0.8603 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.456, allocations: 43.67 kB / 0.8603 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/1.456, allocations: 17.86 kB / 0.8603 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002935/1.456, allocations: 241.3 kB / 0.8606 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.456, allocations: 0 / 0.8606 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01091/1.467, allocations: 3.574 MB / 0.8641 GB, free: 2.059 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.02221/1.489, allocations: 6.308 MB / 0.8702 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002322/1.491, allocations: 0.9682 MB / 0.8712 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.491, allocations: 0 / 0.8712 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009214/1.492, allocations: 491.5 kB / 0.8716 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.494, allocations: 402 kB / 0.872 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.51, allocations: 6.428 MB / 0.8783 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/1.51, allocations: 0.85 MB / 0.8791 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004873/1.511, allocations: 142.6 kB / 0.8793 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.511, allocations: 172 kB / 0.8794 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/1.511, allocations: 5.781 kB / 0.8794 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.504/2.015, allocations: 133.3 MB / 1.01 GB, free: 242.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/21.71, allocations: 2.562 kB / 1.01 GB, free: 242.8 MB / 0.67 GB " [Timeout remaining time 638] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.527533005995792] Failed to read output from testmodel.py, exit status != 0: 21.917877540996415 21.932947411 20.769482726 Calling exit ...