Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.0009038/0.0009038, 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.0008825/0.0008825, 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.9129/0.9129, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.02873/0.02873, allocations: 7.521 MB / 266.7 MB, free: 6.199 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.ButaneTestModel_dT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 391.8 MB, free: 6.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.888e-05, allocations: 2.281 kB / 391.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.2852/0.2852, allocations: 126.8 MB / 0.5064 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05714/0.3423, allocations: 86.74 MB / 0.5911 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.3429, allocations: 11.94 kB / 0.5911 GB, free: 8.23 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.3455, allocations: 1.24 MB / 0.5924 GB, free: 6.988 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.3487, allocations: 1.61 MB / 0.5939 GB, free: 5.371 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05564/0.4044, allocations: 31.86 MB / 0.625 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.406, allocations: 1.44 MB / 0.6264 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.4062, allocations: 93.62 kB / 0.6265 GB, free: 3.922 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.2294/0.6355, allocations: 10.44 MB / 0.6367 GB, free: 29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.6359, allocations: 335.6 kB / 0.637 GB, free: 29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.6359, allocations: 45.41 kB / 0.6371 GB, free: 29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02884/0.6647, allocations: 20.21 MB / 0.6568 GB, free: 28.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.6649, allocations: 126.1 kB / 0.6569 GB, free: 28.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.6654, allocations: 221.2 kB / 0.6572 GB, free: 28.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.6868, allocations: 11.83 MB / 0.6687 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6868, allocations: 7.281 kB / 0.6687 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6868, allocations: 0 / 0.6687 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6868, allocations: 0 / 0.6687 GB, free: 28.68 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.004089/0.6909, allocations: 2.129 MB / 0.6708 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6909, allocations: 8.438 kB / 0.6708 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/0.691, allocations: 88.91 kB / 0.6709 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.6913, allocations: 83.81 kB / 0.671 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.6918, allocations: 285.7 kB / 0.6712 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.6918, allocations: 29.09 kB / 0.6713 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.6918, allocations: 30.94 kB / 0.6713 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/0.6926, allocations: 0.7516 MB / 0.672 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6926, allocations: 0 / 0.672 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.6926, allocations: 16.56 kB / 0.6721 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.6927, allocations: 13.22 kB / 0.6721 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.6933, allocations: 0.5272 MB / 0.6726 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.6946, allocations: 1.685 MB / 0.6742 GB, free: 26.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.6952, allocations: 456.6 kB / 0.6747 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.6954, allocations: 297.6 kB / 0.6749 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06054/0.756, allocations: 34.15 MB / 0.7083 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.756, allocations: 42.7 kB / 0.7083 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.756, allocations: 0 / 0.7083 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.003701/0.7597, allocations: 2.481 MB / 0.7108 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.7597, allocations: 56.16 kB / 0.7108 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.7599, allocations: 259.9 kB / 0.7111 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.7599, allocations: 32.89 kB / 0.7111 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.76, allocations: 195 kB / 0.7113 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.7601, allocations: 275.4 kB / 0.7115 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.7602, allocations: 104.1 kB / 0.7116 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.7602, allocations: 351.4 kB / 0.712 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.7605, allocations: 283.8 kB / 0.7122 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.7608, allocations: 418.3 kB / 0.7126 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.7613, allocations: 0.7286 MB / 0.7134 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7613, allocations: 0 / 0.7134 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007772/0.7621, allocations: 0.8407 MB / 0.7142 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7621, allocations: 8 kB / 0.7142 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.7621, allocations: 4 kB / 0.7142 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.7625, allocations: 148.5 kB / 0.7143 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.7628, allocations: 125.9 kB / 0.7144 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.7641, allocations: 3.636 MB / 0.718 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.7643, allocations: 35.84 kB / 0.718 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.7643, allocations: 21.45 kB / 0.7181 GB, free: 19.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.7644, allocations: 193.2 kB / 0.7182 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.7645, allocations: 47.66 kB / 0.7183 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.7656, allocations: 1.705 MB / 0.7199 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.7656, allocations: 22.17 kB / 0.72 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7656, allocations: 6.938 kB / 0.72 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007362/0.7664, allocations: 1.262 MB / 0.7212 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.7676, allocations: 1.681 MB / 0.7228 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.7676, allocations: 0 / 0.7228 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.7678, allocations: 71.17 kB / 0.7229 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.7681, allocations: 261.7 kB / 0.7232 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.7681, allocations: 11.69 kB / 0.7232 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006224/0.7687, allocations: 1.801 MB / 0.7249 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7687, allocations: 0 / 0.7249 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.7699, allocations: 1.502 MB / 0.7264 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.7699, allocations: 39.69 kB / 0.7264 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.77, allocations: 15.62 kB / 0.7265 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.7701, allocations: 23.91 kB / 0.7265 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.7702, allocations: 46.98 kB / 0.7265 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.7702, allocations: 19.61 kB / 0.7265 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000151/0.7704, allocations: 220.8 kB / 0.7268 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.7704, allocations: 0 / 0.7268 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004429/0.7748, allocations: 2.005 MB / 0.7287 GB, free: 10.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007718/0.7825, allocations: 4.805 MB / 0.7334 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.7838, allocations: 0.8383 MB / 0.7342 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7838, allocations: 2.953 kB / 0.7342 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.7842, allocations: 396.7 kB / 0.7346 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.7852, allocations: 402.8 kB / 0.735 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.791, allocations: 5.787 MB / 0.7406 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.7912, allocations: 246 kB / 0.7409 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.7914, allocations: 89.73 kB / 0.741 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.7916, allocations: 169.9 kB / 0.7411 GB, free: 484 kB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.7916, allocations: 0 / 0.7411 GB, free: 484 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09347/0.885, allocations: 80.05 MB / 0.8193 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.653/10.54, allocations: 3.438 kB / 0.8193 GB, free: 1.051 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_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_ButaneTestModel_dT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.67145324125886] Failed to read output from testmodel.py, exit status != 0: 10.665488259866834 10.674732366 9.98599565 Calling exit ...