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.001397/0.001397, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001856/0.001856, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.487/1.487, allocations: 207.6 MB / 233 MB, free: 9.984 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.05212/0.05212, allocations: 9.153 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.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.002268/0.002268, allocations: 76.66 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09785, allocations: 50.75 MB / 461.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.429/0.5268, allocations: 129.5 MB / 0.5775 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1391/0.666, allocations: 111.4 MB / 0.6863 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.6665, allocations: 7.938 kB / 0.6864 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.6699, allocations: 1.555 MB / 0.6879 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.6738, allocations: 1.822 MB / 0.6897 GB, free: 3.781 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.08062/0.7545, allocations: 31.52 MB / 0.7204 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.7571, allocations: 1.422 MB / 0.7218 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.7574, allocations: 89.89 kB / 0.7219 GB, free: 2.637 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.01872/0.7761, allocations: 10.14 MB / 0.7318 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.7767, allocations: 394.4 kB / 0.7322 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.7768, allocations: 44 kB / 0.7322 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3332/1.11, allocations: 36.65 MB / 0.768 GB, free: 46.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/1.11, allocations: 126 kB / 0.7681 GB, free: 46.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005219/1.111, allocations: 303.8 kB / 0.7684 GB, free: 46.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0361/1.147, allocations: 14.17 MB / 0.7823 GB, free: 46.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.147, allocations: 0 / 0.7823 GB, free: 46.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/1.147, allocations: 0 / 0.7823 GB, free: 46.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.437e-06/1.147, allocations: 4 kB / 0.7823 GB, free: 46.52 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.006559/1.153, allocations: 2.605 MB / 0.7848 GB, free: 45.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.153, allocations: 10.67 kB / 0.7848 GB, free: 45.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.428e-05/1.154, allocations: 86.98 kB / 0.7849 GB, free: 45.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006437/1.154, allocations: 92.86 kB / 0.785 GB, free: 45.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/1.155, allocations: 279.2 kB / 0.7853 GB, free: 44.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/1.155, allocations: 31.12 kB / 0.7853 GB, free: 44.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/1.155, allocations: 33.14 kB / 0.7853 GB, free: 44.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.156, allocations: 0.6083 MB / 0.7859 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.156, allocations: 2.438 kB / 0.7859 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/1.156, allocations: 19.2 kB / 0.7859 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/1.156, allocations: 18.84 kB / 0.7859 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.157, allocations: 0.5577 MB / 0.7865 GB, free: 44.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/1.16, allocations: 2.48 MB / 0.7889 GB, free: 43.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/1.161, allocations: 484.3 kB / 0.7894 GB, free: 43.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/1.161, allocations: 316.3 kB / 0.7897 GB, free: 43.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1896/1.351, allocations: 43.9 MB / 0.8326 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.351, allocations: 42.78 kB / 0.8326 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.365e-06/1.351, allocations: 0 / 0.8326 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005091/1.356, allocations: 2.239 MB / 0.8348 GB, free: 14.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/1.356, allocations: 55.41 kB / 0.8348 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/1.356, allocations: 251.4 kB / 0.8351 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/1.356, allocations: 37.45 kB / 0.8351 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/1.356, allocations: 196.4 kB / 0.8353 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/1.356, allocations: 273.6 kB / 0.8356 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/1.356, allocations: 104.6 kB / 0.8357 GB, free: 13.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/1.356, allocations: 356.3 kB / 0.836 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/1.357, allocations: 281.4 kB / 0.8363 GB, free: 12.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/1.357, allocations: 393.9 kB / 0.8366 GB, free: 12.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/1.358, allocations: 0.7017 MB / 0.8373 GB, free: 12.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.358, allocations: 0 / 0.8373 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001187/1.359, allocations: 0.8171 MB / 0.8381 GB, free: 11.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.359, allocations: 5.406 kB / 0.8381 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.359, allocations: 5.125 kB / 0.8381 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/1.36, allocations: 61.36 kB / 0.8382 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/1.36, allocations: 131.1 kB / 0.8383 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0681/1.428, allocations: 19.24 MB / 0.8571 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/1.429, allocations: 34.28 kB / 0.8571 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/1.429, allocations: 16.19 kB / 0.8572 GB, free: 8.562 MB / 0.5606 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.0002845/1.429, allocations: 197 kB / 0.8573 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/1.429, allocations: 43.72 kB / 0.8574 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/1.431, allocations: 1.705 MB / 0.859 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.431, allocations: 9.812 kB / 0.8591 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.431, allocations: 4 kB / 0.8591 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001617/1.433, allocations: 1.283 MB / 0.8603 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/1.435, allocations: 1.716 MB / 0.862 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.435, allocations: 0 / 0.862 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/1.436, allocations: 82.56 kB / 0.8621 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/1.436, allocations: 106.5 kB / 0.8622 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/1.436, allocations: 7.875 kB / 0.8622 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/1.438, allocations: 1.905 MB / 0.864 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.438, allocations: 2.906 kB / 0.864 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/1.44, allocations: 1.33 MB / 0.8653 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/1.44, allocations: 41.69 kB / 0.8654 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/1.44, allocations: 12.31 kB / 0.8654 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/1.44, allocations: 30.84 kB / 0.8654 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.44, allocations: 45.84 kB / 0.8655 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/1.441, allocations: 12.12 kB / 0.8655 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002661/1.441, allocations: 219.4 kB / 0.8657 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.441, allocations: 3.938 kB / 0.8657 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009908/1.451, allocations: 3.575 MB / 0.8692 GB, free: 14.07 MB / 0.5762 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.02015/1.471, allocations: 6.321 MB / 0.8754 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.473, allocations: 0.9909 MB / 0.8763 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.473, allocations: 0 / 0.8763 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/1.474, allocations: 489.3 kB / 0.8768 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.476, allocations: 391.1 kB / 0.8772 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.49, allocations: 6.333 MB / 0.8833 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/1.49, allocations: 0.8507 MB / 0.8842 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004751/1.491, allocations: 143.2 kB / 0.8843 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/1.491, allocations: 169.3 kB / 0.8845 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of SimCode: time 1.713e-06/1.491, allocations: 0 / 0.8845 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4381/1.929, allocations: 133.6 MB / 1.015 GB, free: 241 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.81/21.74, allocations: 11.17 kB / 1.015 GB, free: 241 MB / 0.67 GB " [Timeout remaining time 638] (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: 27.857205849999445] Failed to read output from testmodel.py, exit status != 0: 21.94712432799861 21.959277166 20.809852299 Calling exit ...