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.0009483/0.0009483, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.001013/0.001013, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.931/0.931, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.03114/0.03114, allocations: 7.513 MB / 266.7 MB, free: 6.211 MB / 250.7 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 3.417e-06/3.417e-06, allocations: 7.922 kB / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.24e-05, allocations: 2.281 kB / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2402/0.2402, allocations: 114.2 MB / 0.4941 GB, free: 24.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06508/0.3053, allocations: 97.65 MB / 0.5895 GB, free: 9.926 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.3059, allocations: 7.938 kB / 0.5895 GB, free: 9.918 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.3082, allocations: 1.146 MB / 0.5906 GB, free: 8.77 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.3113, allocations: 1.5 MB / 0.5921 GB, free: 7.262 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05754/0.3688, allocations: 31.01 MB / 0.6224 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.3707, allocations: 1.358 MB / 0.6237 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.3709, allocations: 93.7 kB / 0.6238 GB, free: 6.734 MB / 0.4948 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.2159/0.5868, allocations: 9.106 MB / 0.6327 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.5872, allocations: 317.4 kB / 0.633 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.5873, allocations: 43.09 kB / 0.633 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03491/0.6222, allocations: 24.15 MB / 0.6566 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.6224, allocations: 134.8 kB / 0.6567 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.6229, allocations: 219.7 kB / 0.6569 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0349/0.6578, allocations: 14.51 MB / 0.6711 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6578, allocations: 0 / 0.6711 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6578, allocations: 0 / 0.6711 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.6578, allocations: 1.562 kB / 0.6711 GB, free: 30.8 MB / 0.4948 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.005865/0.6637, allocations: 2.59 MB / 0.6736 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6637, allocations: 10.84 kB / 0.6737 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/0.6638, allocations: 82.05 kB / 0.6737 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.6642, allocations: 87.66 kB / 0.6738 GB, free: 29.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.6646, allocations: 289.2 kB / 0.6741 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.6646, allocations: 28.47 kB / 0.6741 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.6647, allocations: 32.72 kB / 0.6742 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.6655, allocations: 0.7598 MB / 0.6749 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.6655, allocations: 5.5 kB / 0.6749 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.6655, allocations: 13.16 kB / 0.6749 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.6656, allocations: 27.7 kB / 0.6749 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.6663, allocations: 0.5526 MB / 0.6755 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.6677, allocations: 1.701 MB / 0.6771 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.6684, allocations: 488 kB / 0.6776 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.6686, allocations: 315.6 kB / 0.6779 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09456/0.7632, allocations: 44.04 MB / 0.7209 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.7632, allocations: 41.69 kB / 0.7209 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.224e-06/0.7632, allocations: 0 / 0.7209 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.003385/0.7666, allocations: 2.246 MB / 0.7231 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.7667, allocations: 55.41 kB / 0.7232 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.7668, allocations: 259 kB / 0.7234 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.7668, allocations: 33.64 kB / 0.7235 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.7669, allocations: 188.8 kB / 0.7237 GB, free: 476 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.767, allocations: 277.5 kB / 0.7239 GB, free: 236 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.7671, allocations: 95.92 kB / 0.724 GB, free: 168 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.7672, allocations: 354.2 kB / 0.7243 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.7674, allocations: 287.5 kB / 0.7246 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.7678, allocations: 418.3 kB / 0.725 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.7685, allocations: 0.7197 MB / 0.7257 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7685, allocations: 4 kB / 0.7257 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008963/0.7694, allocations: 0.8229 MB / 0.7265 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7694, allocations: 4.469 kB / 0.7265 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7694, allocations: 11.98 kB / 0.7265 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.7696, allocations: 57.8 kB / 0.7266 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.7699, allocations: 126.2 kB / 0.7267 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03751/0.8074, allocations: 19.69 MB / 0.746 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.8078, allocations: 31.72 kB / 0.746 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.8078, allocations: 19.48 kB / 0.746 GB, free: 10.92 MB / 0.5261 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.000237/0.808, allocations: 189.1 kB / 0.7462 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.8081, allocations: 47.72 kB / 0.7462 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.8094, allocations: 1.625 MB / 0.7478 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.8094, allocations: 22.44 kB / 0.7478 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8094, allocations: 0.875 kB / 0.7478 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008955/0.8103, allocations: 1.197 MB / 0.749 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.8119, allocations: 1.593 MB / 0.7506 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.812, allocations: 4.031 kB / 0.7506 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.8121, allocations: 74.56 kB / 0.7506 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.8123, allocations: 114 kB / 0.7507 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.8124, allocations: 12.38 kB / 0.7508 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009204/0.8133, allocations: 1.886 MB / 0.7526 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8133, allocations: 0 / 0.7526 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.8148, allocations: 1.278 MB / 0.7538 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.8149, allocations: 36.88 kB / 0.7539 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.8149, allocations: 19.45 kB / 0.7539 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.8151, allocations: 31.91 kB / 0.7539 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.8152, allocations: 43.36 kB / 0.754 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.8152, allocations: 15.8 kB / 0.754 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001882/0.8154, allocations: 243.5 kB / 0.7542 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.8154, allocations: 2.906 kB / 0.7542 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009192/0.8246, allocations: 3.571 MB / 0.7577 GB, free: 0.6211 MB / 0.5261 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.01889/0.8435, allocations: 6.682 MB / 0.7642 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.845, allocations: 0.974 MB / 0.7652 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.845, allocations: 3.938 kB / 0.7652 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.8456, allocations: 485 kB / 0.7657 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.8468, allocations: 409.5 kB / 0.766 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.8578, allocations: 6.394 MB / 0.7723 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.8579, allocations: 250.2 kB / 0.7725 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.8584, allocations: 142 kB / 0.7727 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.8585, allocations: 171 kB / 0.7728 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/0.8585, allocations: 0 / 0.7728 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3332/1.192, allocations: 135.1 MB / 0.9048 GB, free: 209.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.71, allocations: 6.844 kB / 0.9048 GB, free: 209.4 MB / 0.6198 GB " [Timeout remaining time 647] (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: 14.697857734747231] Failed to read output from testmodel.py, exit status != 0: 12.871705124154687 12.881724278 12.222250385 Calling exit ...