Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.001247/0.001247, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001532/0.001532, allocations: 213.9 kB / 22.25 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.805 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.049/0.049, allocations: 9.135 MB / 321.6 MB, free: 10.25 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.CarbondioxideTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_CarbondioxideTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_CarbondioxideTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.89 kB / 446.6 MB, free: 0.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09983, allocations: 54.94 MB / 0.4897 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.3262/0.426, allocations: 115.2 MB / 0.6022 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1037/0.5297, allocations: 98.63 MB / 0.6985 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.5303, allocations: 15.94 kB / 0.6986 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.5335, allocations: 1.23 MB / 0.6998 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.5378, allocations: 1.567 MB / 0.7013 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3222/0.86, allocations: 31.95 MB / 0.7325 GB, free: 22.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.8615, allocations: 1.416 MB / 0.7339 GB, free: 22.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.8617, allocations: 76.97 kB / 0.7339 GB, free: 22.12 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.01725/0.879, allocations: 11.9 MB / 0.7456 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.8794, allocations: 374 kB / 0.7459 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.8795, allocations: 40.66 kB / 0.746 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03877/0.9183, allocations: 26.17 MB / 0.7715 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.9185, allocations: 126.5 kB / 0.7716 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005098/0.919, allocations: 252.1 kB / 0.7719 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03369/0.9527, allocations: 12.6 MB / 0.7842 GB, free: 19.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.9527, allocations: 0 / 0.7842 GB, free: 19.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9527, allocations: 3.094 kB / 0.7842 GB, free: 19.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.9527, allocations: 0 / 0.7842 GB, free: 19.59 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.005993/0.9587, allocations: 2.579 MB / 0.7867 GB, free: 18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9588, allocations: 15.53 kB / 0.7867 GB, free: 18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.9588, allocations: 82.86 kB / 0.7868 GB, free: 17.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.9594, allocations: 88.91 kB / 0.7869 GB, free: 17.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.9598, allocations: 287.7 kB / 0.7872 GB, free: 17.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.9598, allocations: 32.03 kB / 0.7872 GB, free: 17.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.9599, allocations: 33.66 kB / 0.7872 GB, free: 17.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.961, allocations: 0.7669 MB / 0.788 GB, free: 17.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.961, allocations: 2.156 kB / 0.788 GB, free: 17.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.961, allocations: 13.03 kB / 0.788 GB, free: 17.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.961, allocations: 18.14 kB / 0.788 GB, free: 17.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.9622, allocations: 0.5571 MB / 0.7886 GB, free: 17.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.964, allocations: 1.728 MB / 0.7902 GB, free: 16.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/0.9649, allocations: 470.7 kB / 0.7907 GB, free: 16.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.9653, allocations: 318.1 kB / 0.791 GB, free: 16.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1903/1.156, allocations: 44.04 MB / 0.834 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.156, allocations: 37.81 kB / 0.834 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.384e-06/1.156, allocations: 0 / 0.834 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005921/1.162, allocations: 2.25 MB / 0.8362 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.162, allocations: 55.41 kB / 0.8363 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/1.162, allocations: 263.8 kB / 0.8365 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.162, allocations: 37.52 kB / 0.8366 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.162, allocations: 190.8 kB / 0.8368 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/1.162, allocations: 272 kB / 0.837 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.162, allocations: 100.8 kB / 0.8371 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.163, allocations: 365.3 kB / 0.8375 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/1.163, allocations: 279.6 kB / 0.8377 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/1.164, allocations: 403.4 kB / 0.8381 GB, free: 7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/1.165, allocations: 0.7113 MB / 0.8388 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.165, allocations: 0 / 0.8388 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001484/1.166, allocations: 0.8206 MB / 0.8396 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.166, allocations: 12.06 kB / 0.8396 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.166, allocations: 7.938 kB / 0.8396 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/1.166, allocations: 57.89 kB / 0.8397 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.167, allocations: 148.7 kB / 0.8398 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07335/1.241, allocations: 22.77 MB / 0.8621 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/1.241, allocations: 27.16 kB / 0.8621 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/1.241, allocations: 22.23 kB / 0.8621 GB, free: 15.54 MB / 0.6075 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.0003258/1.241, allocations: 195.8 kB / 0.8623 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/1.242, allocations: 47.66 kB / 0.8623 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/1.244, allocations: 1.753 MB / 0.8641 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/1.244, allocations: 14.36 kB / 0.8641 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.244, allocations: 0 / 0.8641 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/1.246, allocations: 1.32 MB / 0.8654 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/1.248, allocations: 1.707 MB / 0.867 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.248, allocations: 4.875 kB / 0.867 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/1.248, allocations: 69.73 kB / 0.8671 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/1.249, allocations: 174.9 kB / 0.8673 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/1.249, allocations: 7.875 kB / 0.8673 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/1.251, allocations: 2.459 MB / 0.8697 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.251, allocations: 4.062 kB / 0.8697 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/1.253, allocations: 1.417 MB / 0.8711 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.253, allocations: 43.62 kB / 0.8711 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/1.253, allocations: 15.12 kB / 0.8711 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/1.254, allocations: 27.03 kB / 0.8711 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.254, allocations: 43.59 kB / 0.8712 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.254, allocations: 11.94 kB / 0.8712 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002561/1.254, allocations: 222.6 kB / 0.8714 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.254, allocations: 4 kB / 0.8714 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009689/1.264, allocations: 3.575 MB / 0.8749 GB, free: 4.332 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.02111/1.285, allocations: 6.533 MB / 0.8813 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.287, allocations: 1.024 MB / 0.8823 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.287, allocations: 0 / 0.8823 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008707/1.288, allocations: 0.4897 MB / 0.8828 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.29, allocations: 400.7 kB / 0.8831 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.305, allocations: 6.341 MB / 0.8893 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/1.305, allocations: 255.8 kB / 0.8896 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004676/1.306, allocations: 141.1 kB / 0.8897 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/1.306, allocations: 163 kB / 0.8899 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/1.306, allocations: 0 / 0.8899 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4234/1.729, allocations: 135.3 MB / 1.022 GB, free: 249.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/21.68, allocations: 11.38 kB / 1.022 GB, free: 249.9 MB / 0.7012 GB " [Timeout remaining time 638] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel_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_CarbondioxideTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.545787115115672] Failed to read output from testmodel.py, exit status != 0: 21.89714882429689 21.908748743 20.95358365 Calling exit ...