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.001382/0.001382, 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.001562/0.001562, allocations: 213.6 kB / 22.25 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.789 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.04888/0.04888, allocations: 9.132 MB / 321.6 MB, free: 10.21 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.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: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.89 kB / 446.6 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.1003, allocations: 54.94 MB / 0.4897 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3196/0.4199, allocations: 115.1 MB / 0.6022 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1037/0.5236, allocations: 98.62 MB / 0.6985 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.5242, allocations: 7.938 kB / 0.6985 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.5273, allocations: 1.233 MB / 0.6997 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.5309, allocations: 1.567 MB / 0.7012 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3215/0.8524, allocations: 31.32 MB / 0.7318 GB, free: 22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.8541, allocations: 1.419 MB / 0.7332 GB, free: 22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.8543, allocations: 77.42 kB / 0.7333 GB, free: 21.99 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01569/0.87, allocations: 9.982 MB / 0.743 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.8705, allocations: 378.8 kB / 0.7434 GB, free: 21.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.8705, allocations: 42.03 kB / 0.7434 GB, free: 21.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0391/0.9097, allocations: 24.54 MB / 0.7674 GB, free: 21.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.9099, allocations: 127.5 kB / 0.7675 GB, free: 21.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.9104, allocations: 247.1 kB / 0.7677 GB, free: 21.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02975/0.9401, allocations: 12.33 MB / 0.7798 GB, free: 21.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9401, allocations: 0 / 0.7798 GB, free: 21.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9401, allocations: 0 / 0.7798 GB, free: 21.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.9402, allocations: 4 kB / 0.7798 GB, free: 21.04 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.006161/0.9463, allocations: 2.582 MB / 0.7823 GB, free: 19.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9464, allocations: 10.34 kB / 0.7823 GB, free: 19.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.9464, allocations: 85.39 kB / 0.7824 GB, free: 19.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.947, allocations: 92 kB / 0.7825 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.9474, allocations: 280.7 kB / 0.7827 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.9475, allocations: 32.97 kB / 0.7828 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.9475, allocations: 29.78 kB / 0.7828 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.9486, allocations: 0.774 MB / 0.7836 GB, free: 18.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.9486, allocations: 4 kB / 0.7836 GB, free: 18.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.9487, allocations: 14.28 kB / 0.7836 GB, free: 18.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.9487, allocations: 12.81 kB / 0.7836 GB, free: 18.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.9498, allocations: 0.5506 MB / 0.7841 GB, free: 18.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.9516, allocations: 1.722 MB / 0.7858 GB, free: 17.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.9525, allocations: 478.3 kB / 0.7863 GB, free: 17.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.9529, allocations: 312.1 kB / 0.7866 GB, free: 17.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1881/1.141, allocations: 44.05 MB / 0.8296 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.141, allocations: 38.78 kB / 0.8296 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/1.141, allocations: 0 / 0.8296 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006277/1.147, allocations: 2.237 MB / 0.8318 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.147, allocations: 59.16 kB / 0.8319 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/1.148, allocations: 264.4 kB / 0.8321 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/1.148, allocations: 29.2 kB / 0.8321 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.148, allocations: 192 kB / 0.8323 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/1.148, allocations: 283.8 kB / 0.8326 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.148, allocations: 96.98 kB / 0.8327 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.148, allocations: 357.1 kB / 0.833 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/1.149, allocations: 288 kB / 0.8333 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/1.149, allocations: 392.1 kB / 0.8337 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.151, allocations: 0.6987 MB / 0.8343 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/1.151, allocations: 4 kB / 0.8344 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001424/1.152, allocations: 0.8105 MB / 0.8351 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.152, allocations: 5.203 kB / 0.8351 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.152, allocations: 4.781 kB / 0.8352 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/1.152, allocations: 61.58 kB / 0.8352 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/1.153, allocations: 133.6 kB / 0.8353 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07132/1.224, allocations: 19.23 MB / 0.8541 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/1.225, allocations: 31.91 kB / 0.8542 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/1.225, allocations: 20.75 kB / 0.8542 GB, free: 7.555 MB / 0.5919 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.0003064/1.225, allocations: 187.8 kB / 0.8543 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/1.225, allocations: 43.72 kB / 0.8544 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/1.227, allocations: 1.714 MB / 0.8561 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/1.227, allocations: 18.55 kB / 0.8561 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.227, allocations: 0 / 0.8561 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/1.229, allocations: 1.287 MB / 0.8573 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/1.231, allocations: 1.667 MB / 0.859 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.231, allocations: 1.125 kB / 0.859 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/1.232, allocations: 82.69 kB / 0.859 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/1.232, allocations: 101 kB / 0.8591 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/1.232, allocations: 7.797 kB / 0.8592 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/1.233, allocations: 1.887 MB / 0.861 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.233, allocations: 4.031 kB / 0.861 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.235, allocations: 1.336 MB / 0.8623 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.236, allocations: 39.69 kB / 0.8623 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/1.236, allocations: 14.88 kB / 0.8624 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/1.236, allocations: 28.33 kB / 0.8624 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.236, allocations: 47.83 kB / 0.8624 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/1.236, allocations: 16 kB / 0.8624 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002474/1.236, allocations: 220.8 kB / 0.8627 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.236, allocations: 0 / 0.8627 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009756/1.246, allocations: 3.576 MB / 0.8661 GB, free: 13.1 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 (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.02136/1.267, allocations: 6.319 MB / 0.8723 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002465/1.27, allocations: 0.9959 MB / 0.8733 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.27, allocations: 0 / 0.8733 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/1.271, allocations: 480.6 kB / 0.8737 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.273, allocations: 387.5 kB / 0.8741 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.287, allocations: 6.351 MB / 0.8803 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/1.287, allocations: 246.4 kB / 0.8806 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004691/1.288, allocations: 149.1 kB / 0.8807 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/1.288, allocations: 169.2 kB / 0.8809 GB, free: 460 kB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/1.288, allocations: 0 / 0.8809 GB, free: 460 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4409/1.729, allocations: 134.9 MB / 1.013 GB, free: 246.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.69, allocations: 1.844 kB / 1.013 GB, free: 246.7 MB / 0.7012 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: 24.45301673281938] Failed to read output from testmodel.py, exit status != 0: 19.897531698923558 19.910107733 18.967464852 Calling exit ...