Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.001074/0.001074, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001593/0.001593, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.858/0.858, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.0294/0.0294, allocations: 7.524 MB / 266.7 MB, free: 6.184 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.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.464e-05, allocations: 5.234 kB / 391.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2397/0.2398, allocations: 114.9 MB / 0.4948 GB, free: 24.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.065/0.3048, allocations: 98.63 MB / 0.5911 GB, free: 8.223 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000503/0.3053, allocations: 15.94 kB / 0.5911 GB, free: 8.207 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.3076, allocations: 1.243 MB / 0.5924 GB, free: 6.961 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.3104, allocations: 1.602 MB / 0.5939 GB, free: 5.352 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05722/0.3677, allocations: 31.85 MB / 0.625 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.3694, allocations: 1.425 MB / 0.6264 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.3696, allocations: 97.69 kB / 0.6265 GB, free: 3.918 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.2163/0.5859, allocations: 10.4 MB / 0.6367 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.5864, allocations: 337 kB / 0.637 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.5864, allocations: 41.56 kB / 0.637 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03532/0.6218, allocations: 24.83 MB / 0.6613 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.622, allocations: 125.4 kB / 0.6614 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.6224, allocations: 219.3 kB / 0.6616 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0342/0.6566, allocations: 14.53 MB / 0.6758 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6566, allocations: 0 / 0.6758 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6566, allocations: 0 / 0.6758 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.6566, allocations: 1.219 kB / 0.6758 GB, free: 29.21 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.005577/0.6622, allocations: 2.588 MB / 0.6783 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6623, allocations: 11.78 kB / 0.6783 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.6623, allocations: 83.02 kB / 0.6784 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.6627, allocations: 94.56 kB / 0.6785 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.6631, allocations: 279.7 kB / 0.6788 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.6631, allocations: 27.06 kB / 0.6788 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.6631, allocations: 37.19 kB / 0.6788 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.6639, allocations: 0.766 MB / 0.6796 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6639, allocations: 0 / 0.6796 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.6639, allocations: 14.31 kB / 0.6796 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.6639, allocations: 16.77 kB / 0.6796 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.6646, allocations: 0.549 MB / 0.6801 GB, free: 27.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.6661, allocations: 1.721 MB / 0.6818 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.6667, allocations: 467.8 kB / 0.6823 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.6669, allocations: 326.5 kB / 0.6826 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09272/0.7596, allocations: 44.03 MB / 0.7256 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.7597, allocations: 44.55 kB / 0.7256 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 3.286e-06/0.7597, allocations: 0 / 0.7256 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.003765/0.7635, allocations: 2.243 MB / 0.7278 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.7635, allocations: 59.39 kB / 0.7279 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.7637, allocations: 263.5 kB / 0.7281 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.7637, allocations: 33.58 kB / 0.7281 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.7638, allocations: 198.9 kB / 0.7283 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.7639, allocations: 265.2 kB / 0.7286 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.764, allocations: 103.7 kB / 0.7287 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.7641, allocations: 352.5 kB / 0.729 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.7644, allocations: 287.1 kB / 0.7293 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.7648, allocations: 404.4 kB / 0.7297 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.7654, allocations: 0.7169 MB / 0.7304 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7654, allocations: 0 / 0.7304 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008828/0.7663, allocations: 0.8241 MB / 0.7312 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7663, allocations: 8 kB / 0.7312 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.7663, allocations: 5.406 kB / 0.7312 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.7665, allocations: 64.23 kB / 0.7313 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.7669, allocations: 139.1 kB / 0.7314 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03647/0.8034, allocations: 19.48 MB / 0.7504 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.8037, allocations: 31.69 kB / 0.7505 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.8037, allocations: 19.88 kB / 0.7505 GB, free: 5.926 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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.0002282/0.804, allocations: 193.5 kB / 0.7507 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.804, allocations: 47.7 kB / 0.7507 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8054, allocations: 1.75 MB / 0.7524 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.8054, allocations: 13.36 kB / 0.7524 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8054, allocations: 3.938 kB / 0.7524 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009502/0.8064, allocations: 1.316 MB / 0.7537 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.8079, allocations: 1.711 MB / 0.7554 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8079, allocations: 0 / 0.7554 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.8081, allocations: 77.42 kB / 0.7555 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.8083, allocations: 165.7 kB / 0.7556 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.8083, allocations: 15.8 kB / 0.7556 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.8094, allocations: 2.461 MB / 0.758 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8094, allocations: 4.062 kB / 0.758 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.8108, allocations: 1.414 MB / 0.7594 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.8109, allocations: 39.69 kB / 0.7595 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.8109, allocations: 15.42 kB / 0.7595 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.8111, allocations: 27.67 kB / 0.7595 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.8112, allocations: 43.34 kB / 0.7595 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.8112, allocations: 12 kB / 0.7595 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001608/0.8114, allocations: 229.1 kB / 0.7598 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.8114, allocations: 0 / 0.7598 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007956/0.8193, allocations: 3.573 MB / 0.7633 GB, free: 10.72 MB / 0.5417 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01867/0.838, allocations: 6.728 MB / 0.7698 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.8396, allocations: 1.015 MB / 0.7708 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8396, allocations: 4 kB / 0.7708 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005343/0.8402, allocations: 0.4948 MB / 0.7713 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.8413, allocations: 403.8 kB / 0.7717 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.8524, allocations: 6.296 MB / 0.7778 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.8526, allocations: 256.5 kB / 0.7781 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000411/0.853, allocations: 131.2 kB / 0.7782 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.8531, allocations: 172.4 kB / 0.7784 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of SimCode: time 1.273e-06/0.8531, allocations: 0 / 0.7784 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3506/1.204, allocations: 135.8 MB / 0.9109 GB, free: 214 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.85, allocations: 3.984 kB / 0.911 GB, free: 214 MB / 0.6198 GB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel_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_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.352570633403957] Failed to read output from testmodel.py, exit status != 0: 13.011727510020137 13.019452844 12.361218663 Calling exit ...