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.001312/0.001312, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00166/0.00166, allocations: 215.2 kB / 22.24 MB, free: 4.855 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.777 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.04893/0.04893, allocations: 9.136 MB / 321.6 MB, free: 10.24 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.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 0.001911/0.001911, allocations: 68.03 kB / 446.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.097, allocations: 54.96 MB / 0.4897 GB, free: 9.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3251/0.4221, allocations: 115.1 MB / 0.6021 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.103/0.5252, allocations: 98.62 MB / 0.6984 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.5257, allocations: 11.94 kB / 0.6985 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.5287, allocations: 1.234 MB / 0.6997 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.5323, allocations: 1.563 MB / 0.7012 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3214/0.8537, allocations: 31.34 MB / 0.7318 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.8553, allocations: 1.422 MB / 0.7332 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.8555, allocations: 79.98 kB / 0.7333 GB, free: 22.01 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.01519/0.8707, allocations: 10.09 MB / 0.7431 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.8712, allocations: 369.8 kB / 0.7435 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.8713, allocations: 41.38 kB / 0.7435 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03787/0.9091, allocations: 24.63 MB / 0.7676 GB, free: 21.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.9094, allocations: 128.2 kB / 0.7677 GB, free: 21.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005098/0.9099, allocations: 250.4 kB / 0.7679 GB, free: 21.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03397/0.9438, allocations: 12.37 MB / 0.78 GB, free: 20.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9438, allocations: 0 / 0.78 GB, free: 20.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9438, allocations: 0 / 0.78 GB, free: 20.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9439, allocations: 1.312 kB / 0.78 GB, free: 20.68 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.005807/0.9497, allocations: 2.586 MB / 0.7825 GB, free: 19.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9497, allocations: 13.28 kB / 0.7825 GB, free: 19.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.005e-05/0.9498, allocations: 84.23 kB / 0.7826 GB, free: 19.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/0.9503, allocations: 89.06 kB / 0.7827 GB, free: 19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.9508, allocations: 291.1 kB / 0.783 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.9508, allocations: 26.94 kB / 0.783 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.9508, allocations: 35.41 kB / 0.783 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.9519, allocations: 0.7609 MB / 0.7838 GB, free: 18.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.952, allocations: 0.7656 kB / 0.7838 GB, free: 18.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.952, allocations: 14.03 kB / 0.7838 GB, free: 18.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.952, allocations: 22.45 kB / 0.7838 GB, free: 18.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.9531, allocations: 0.5519 MB / 0.7844 GB, free: 18.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.955, allocations: 1.72 MB / 0.786 GB, free: 17.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.9559, allocations: 478.6 kB / 0.7865 GB, free: 17.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.9563, allocations: 319.2 kB / 0.7868 GB, free: 17.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1883/1.145, allocations: 44.04 MB / 0.8298 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/1.145, allocations: 34.56 kB / 0.8298 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.324e-06/1.145, allocations: 0 / 0.8298 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005745/1.15, allocations: 2.248 MB / 0.832 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.15, allocations: 58.69 kB / 0.8321 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/1.151, allocations: 266.4 kB / 0.8324 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.151, allocations: 37.62 kB / 0.8324 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.151, allocations: 188.7 kB / 0.8326 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/1.151, allocations: 277.2 kB / 0.8328 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/1.151, allocations: 100.2 kB / 0.8329 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.151, allocations: 362 kB / 0.8333 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/1.152, allocations: 278.8 kB / 0.8335 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/1.152, allocations: 412.2 kB / 0.8339 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.153, allocations: 0.7116 MB / 0.8346 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.153, allocations: 2.188 kB / 0.8346 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001374/1.155, allocations: 0.8246 MB / 0.8354 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.155, allocations: 8 kB / 0.8354 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.155, allocations: 6.719 kB / 0.8354 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/1.155, allocations: 61.3 kB / 0.8355 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/1.156, allocations: 145.3 kB / 0.8356 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06975/1.226, allocations: 19.48 MB / 0.8547 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.226, allocations: 29.02 kB / 0.8547 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/1.226, allocations: 23.48 kB / 0.8547 GB, free: 6.754 MB / 0.5919 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.0002819/1.226, allocations: 189.1 kB / 0.8549 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/1.226, allocations: 47.66 kB / 0.8549 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/1.229, allocations: 1.745 MB / 0.8567 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.229, allocations: 14 kB / 0.8567 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.229, allocations: 10.11 kB / 0.8567 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/1.23, allocations: 1.319 MB / 0.858 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.232, allocations: 1.711 MB / 0.8596 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.232, allocations: 0 / 0.8596 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/1.233, allocations: 74.56 kB / 0.8597 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/1.233, allocations: 172.2 kB / 0.8599 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/1.233, allocations: 11.69 kB / 0.8599 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.235, allocations: 2.461 MB / 0.8623 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.235, allocations: 4 kB / 0.8623 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/1.237, allocations: 1.409 MB / 0.8637 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/1.237, allocations: 48.56 kB / 0.8637 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/1.237, allocations: 7.125 kB / 0.8637 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/1.237, allocations: 29.03 kB / 0.8637 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/1.238, allocations: 45.86 kB / 0.8638 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/1.238, allocations: 15.61 kB / 0.8638 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002358/1.238, allocations: 223.9 kB / 0.864 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/1.238, allocations: 0 / 0.864 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009564/1.247, allocations: 3.571 MB / 0.8675 GB, free: 11.55 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 (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.01892/1.266, allocations: 6.34 MB / 0.8737 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.269, allocations: 1.014 MB / 0.8747 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.269, allocations: 2.188 kB / 0.8747 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008264/1.27, allocations: 498 kB / 0.8752 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/1.271, allocations: 420.5 kB / 0.8756 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.285, allocations: 6.338 MB / 0.8818 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/1.285, allocations: 246.2 kB / 0.882 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004675/1.286, allocations: 135.2 kB / 0.8821 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/1.286, allocations: 165.6 kB / 0.8823 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/1.286, allocations: 5.094 kB / 0.8823 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4334/1.719, allocations: 135.2 MB / 1.014 GB, free: 247 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.08/19.8, allocations: 15.73 kB / 1.014 GB, free: 247 MB / 0.7012 GB " [Timeout remaining time 640] (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: 26.287332959007472] Failed to read output from testmodel.py, exit status != 0: 19.999888237100095 20.012305227 19.065831904 Calling exit ...