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.00132/0.00132, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001528/0.001528, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.785 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.04917/0.04917, allocations: 9.13 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.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: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 446.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.102, allocations: 54.94 MB / 0.4897 GB, free: 9.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.32/0.422, allocations: 114.4 MB / 0.6015 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1113/0.5333, allocations: 97.63 MB / 0.6968 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007139/0.534, allocations: 19.88 kB / 0.6968 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.5371, allocations: 1.14 MB / 0.698 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.5406, allocations: 1.458 MB / 0.6994 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3209/0.8615, allocations: 30.49 MB / 0.7292 GB, free: 23.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.8631, allocations: 1.341 MB / 0.7305 GB, free: 23.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.8633, allocations: 86.27 kB / 0.7305 GB, free: 23.61 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.01419/0.8775, allocations: 8.826 MB / 0.7392 GB, free: 23.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.878, allocations: 359.8 kB / 0.7395 GB, free: 23.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.8781, allocations: 41.56 kB / 0.7395 GB, free: 23.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03822/0.9163, allocations: 23.96 MB / 0.7629 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.9165, allocations: 131.6 kB / 0.7631 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.9171, allocations: 251.8 kB / 0.7633 GB, free: 23.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03096/0.9481, allocations: 12.35 MB / 0.7754 GB, free: 22.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9481, allocations: 0 / 0.7754 GB, free: 22.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9481, allocations: 0 / 0.7754 GB, free: 22.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.9481, allocations: 3.844 kB / 0.7754 GB, free: 22.98 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.006897/0.955, allocations: 2.589 MB / 0.7779 GB, free: 21.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.9551, allocations: 7.156 kB / 0.7779 GB, free: 21.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.846e-05/0.9551, allocations: 85.91 kB / 0.778 GB, free: 21.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.9558, allocations: 91.08 kB / 0.7781 GB, free: 21.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.9563, allocations: 284.1 kB / 0.7784 GB, free: 21.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.9563, allocations: 34.22 kB / 0.7784 GB, free: 21.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.9564, allocations: 37.09 kB / 0.7784 GB, free: 21.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.9575, allocations: 0.7592 MB / 0.7792 GB, free: 21.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.9575, allocations: 2.578 kB / 0.7792 GB, free: 21.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.9576, allocations: 17.47 kB / 0.7792 GB, free: 21.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.9576, allocations: 11.5 kB / 0.7792 GB, free: 21.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.9587, allocations: 0.558 MB / 0.7797 GB, free: 21.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.9607, allocations: 1.712 MB / 0.7814 GB, free: 20.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009626/0.9617, allocations: 487.2 kB / 0.7819 GB, free: 20.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.9621, allocations: 319.6 kB / 0.7822 GB, free: 20.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1872/1.149, allocations: 44.03 MB / 0.8252 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.149, allocations: 42.97 kB / 0.8252 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.365e-06/1.149, allocations: 4 kB / 0.8252 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.005749/1.155, allocations: 2.242 MB / 0.8274 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.155, allocations: 57.52 kB / 0.8275 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.155, allocations: 263.9 kB / 0.8277 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/1.155, allocations: 33.64 kB / 0.8278 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/1.156, allocations: 192 kB / 0.8279 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.156, allocations: 281.7 kB / 0.8282 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.156, allocations: 96.8 kB / 0.8283 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.156, allocations: 357.9 kB / 0.8286 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/1.157, allocations: 282.1 kB / 0.8289 GB, free: 356 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/1.157, allocations: 420.8 kB / 0.8293 GB, free: 8 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.158, allocations: 0.7395 MB / 0.83 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.158, allocations: 0 / 0.83 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00146/1.16, allocations: 0.8108 MB / 0.8308 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.16, allocations: 8 kB / 0.8308 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.16, allocations: 7.094 kB / 0.8308 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/1.16, allocations: 67.08 kB / 0.8309 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/1.161, allocations: 125.7 kB / 0.831 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07071/1.231, allocations: 19.67 MB / 0.8502 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/1.232, allocations: 35.66 kB / 0.8503 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/1.232, allocations: 19.94 kB / 0.8503 GB, free: 11.64 MB / 0.5919 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.0003118/1.232, allocations: 190.6 kB / 0.8505 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/1.232, allocations: 43.72 kB / 0.8505 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/1.234, allocations: 1.624 MB / 0.8521 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.234, allocations: 15.12 kB / 0.8521 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.234, allocations: 4 kB / 0.8521 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/1.236, allocations: 1.199 MB / 0.8533 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/1.238, allocations: 1.602 MB / 0.8548 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.238, allocations: 0 / 0.8548 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/1.238, allocations: 83.75 kB / 0.8549 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/1.239, allocations: 100.8 kB / 0.855 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.239, allocations: 11.81 kB / 0.855 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.24, allocations: 1.887 MB / 0.8569 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.24, allocations: 2.625 kB / 0.8569 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/1.242, allocations: 1.279 MB / 0.8581 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/1.242, allocations: 48.64 kB / 0.8582 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/1.242, allocations: 15.64 kB / 0.8582 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/1.243, allocations: 35.83 kB / 0.8582 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/1.243, allocations: 39.8 kB / 0.8583 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/1.243, allocations: 19.03 kB / 0.8583 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002552/1.243, allocations: 239.2 kB / 0.8585 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.243, allocations: 4 kB / 0.8585 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009075/1.252, allocations: 3.574 MB / 0.862 GB, free: 1.34 MB / 0.5919 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.01898/1.271, allocations: 6.295 MB / 0.8681 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.273, allocations: 0.9808 MB / 0.8691 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.273, allocations: 0.6562 kB / 0.8691 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000845/1.274, allocations: 486.1 kB / 0.8696 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.276, allocations: 394.1 kB / 0.8699 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.29, allocations: 6.436 MB / 0.8762 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.291, allocations: 253 kB / 0.8765 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000465/1.291, allocations: 149.6 kB / 0.8766 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/1.291, allocations: 165.9 kB / 0.8768 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/1.291, allocations: 0 / 0.8768 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4405/1.732, allocations: 134.6 MB / 1.008 GB, free: 247 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/19.54, allocations: 1.031 kB / 1.008 GB, free: 247 MB / 0.7012 GB " [Timeout remaining time 640] (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: 22.17898572795093] Failed to read output from testmodel.py, exit status != 0: 19.751774156000465 19.770719737 18.82002654 Calling exit ...