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.001303/0.001303, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.002604/0.002604, allocations: 218.6 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.6 MB / 233 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05264/0.05264, allocations: 9.16 MB / 294.4 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 73.16 kB / 411.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08387, allocations: 50.76 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3666/0.4505, allocations: 142.9 MB / 0.5906 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1061/0.5566, allocations: 98 MB / 0.6863 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.5572, allocations: 11.94 kB / 0.6863 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.5612, allocations: 1.551 MB / 0.6879 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.5662, allocations: 1.829 MB / 0.6896 GB, free: 3.922 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07799/0.6442, allocations: 31.56 MB / 0.7205 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.6462, allocations: 1.425 MB / 0.7219 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.6464, allocations: 97.89 kB / 0.7219 GB, free: 2.723 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:620:5-620:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01833/0.6648, allocations: 10.26 MB / 0.732 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.6654, allocations: 390.4 kB / 0.7323 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.6655, allocations: 48 kB / 0.7324 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3465/1.012, allocations: 30.76 MB / 0.7624 GB, free: 45.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/1.012, allocations: 121.5 kB / 0.7625 GB, free: 45.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005037/1.013, allocations: 312.4 kB / 0.7628 GB, free: 45.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03709/1.05, allocations: 11.97 MB / 0.7745 GB, free: 45.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.05, allocations: 0 / 0.7745 GB, free: 45.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.455e-06/1.05, allocations: 2.625 kB / 0.7745 GB, free: 45.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.645e-05/1.05, allocations: 0 / 0.7745 GB, free: 45.16 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.005838/1.056, allocations: 2.155 MB / 0.7766 GB, free: 43.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.056, allocations: 14.73 kB / 0.7766 GB, free: 43.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.052e-05/1.056, allocations: 84.19 kB / 0.7767 GB, free: 43.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/1.056, allocations: 83.97 kB / 0.7768 GB, free: 43.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/1.057, allocations: 271.4 kB / 0.7771 GB, free: 43.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/1.057, allocations: 35.03 kB / 0.7771 GB, free: 43.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/1.057, allocations: 33.16 kB / 0.7771 GB, free: 43.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.058, allocations: 0.5947 MB / 0.7777 GB, free: 43.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.058, allocations: 2.719 kB / 0.7777 GB, free: 43.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.058, allocations: 13.47 kB / 0.7777 GB, free: 43.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/1.058, allocations: 21.31 kB / 0.7777 GB, free: 43.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/1.059, allocations: 0.5227 MB / 0.7783 GB, free: 43.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/1.061, allocations: 2.466 MB / 0.7807 GB, free: 42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/1.062, allocations: 455.2 kB / 0.7811 GB, free: 41.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/1.062, allocations: 293.1 kB / 0.7814 GB, free: 41.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1266/1.189, allocations: 34.06 MB / 0.8146 GB, free: 30.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.189, allocations: 42.7 kB / 0.8147 GB, free: 30.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/1.189, allocations: 0 / 0.8147 GB, free: 30.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.00557/1.194, allocations: 2.474 MB / 0.8171 GB, free: 28.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/1.194, allocations: 58.03 kB / 0.8172 GB, free: 28.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/1.195, allocations: 259.6 kB / 0.8174 GB, free: 28.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/1.195, allocations: 33.64 kB / 0.8174 GB, free: 28.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/1.195, allocations: 192.2 kB / 0.8176 GB, free: 28.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.195, allocations: 276.4 kB / 0.8179 GB, free: 28.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/1.195, allocations: 100.8 kB / 0.818 GB, free: 27.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/1.195, allocations: 352.3 kB / 0.8183 GB, free: 27.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/1.196, allocations: 290.8 kB / 0.8186 GB, free: 27.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/1.196, allocations: 416.8 kB / 0.819 GB, free: 27.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/1.197, allocations: 0.7328 MB / 0.8197 GB, free: 26.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.197, allocations: 0 / 0.8197 GB, free: 26.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001242/1.198, allocations: 0.8403 MB / 0.8205 GB, free: 26.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.198, allocations: 5.688 kB / 0.8205 GB, free: 26.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.198, allocations: 4 kB / 0.8205 GB, free: 26.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/1.199, allocations: 144.5 kB / 0.8207 GB, free: 25.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/1.199, allocations: 126.1 kB / 0.8208 GB, free: 25.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/1.201, allocations: 3.65 MB / 0.8244 GB, free: 22.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/1.201, allocations: 27.72 kB / 0.8244 GB, free: 22.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/1.201, allocations: 19.94 kB / 0.8244 GB, free: 22.09 MB / 0.545 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.0002073/1.202, allocations: 194.6 kB / 0.8246 GB, free: 21.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/1.202, allocations: 51.64 kB / 0.8246 GB, free: 21.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.204, allocations: 1.706 MB / 0.8263 GB, free: 20.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.204, allocations: 15.53 kB / 0.8263 GB, free: 20.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/1.204, allocations: 0 / 0.8263 GB, free: 20.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/1.205, allocations: 1.27 MB / 0.8276 GB, free: 19.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/1.207, allocations: 1.735 MB / 0.8292 GB, free: 18.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.207, allocations: 4.031 kB / 0.8293 GB, free: 18.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/1.207, allocations: 70.73 kB / 0.8293 GB, free: 18.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005954/1.208, allocations: 266.9 kB / 0.8296 GB, free: 18.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.208, allocations: 11.86 kB / 0.8296 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007385/1.209, allocations: 1.79 MB / 0.8313 GB, free: 16.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.209, allocations: 4.031 kB / 0.8313 GB, free: 16.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/1.21, allocations: 1.498 MB / 0.8328 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/1.21, allocations: 35.75 kB / 0.8328 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/1.21, allocations: 15.56 kB / 0.8328 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/1.211, allocations: 23.86 kB / 0.8329 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/1.211, allocations: 51.28 kB / 0.8329 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/1.211, allocations: 15.92 kB / 0.8329 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001781/1.211, allocations: 222.8 kB / 0.8331 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.211, allocations: 0 / 0.8331 GB, free: 15.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004627/1.216, allocations: 2.004 MB / 0.8351 GB, free: 13.12 MB / 0.545 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.009461/1.225, allocations: 4.557 MB / 0.8396 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001726/1.227, allocations: 0.8622 MB / 0.8404 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.227, allocations: 0 / 0.8404 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/1.227, allocations: 391.5 kB / 0.8408 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.229, allocations: 409.1 kB / 0.8412 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/1.237, allocations: 5.825 MB / 0.8468 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.238, allocations: 0.8423 MB / 0.8477 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000421/1.238, allocations: 89.62 kB / 0.8478 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.238, allocations: 169.6 kB / 0.8479 GB, free: 2.258 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/1.238, allocations: 0 / 0.8479 GB, free: 2.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/1.386, allocations: 78.69 MB / 0.9248 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.63, allocations: 14.44 kB / 0.9248 GB, free: 3.852 MB / 0.6231 GB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 23.30451352300588] Failed to read output from testmodel.py, exit status != 0: 17.79120691100252 17.80625173 16.753028154 Calling exit ...