Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.0008676/0.0008676, 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.0008911/0.0008911, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8932/0.8932, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02863/0.02863, allocations: 7.513 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_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_dT_component_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.186e-05, allocations: 6.219 kB / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.245/0.245, allocations: 126.8 MB / 0.5064 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05376/0.2988, allocations: 86.74 MB / 0.5911 GB, free: 8.254 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.2995, allocations: 11.94 kB / 0.5912 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.302, allocations: 1.243 MB / 0.5924 GB, free: 6.996 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.305, allocations: 1.61 MB / 0.5939 GB, free: 5.379 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05302/0.3581, allocations: 31.85 MB / 0.625 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3593, allocations: 1.437 MB / 0.6264 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3595, allocations: 93.69 kB / 0.6265 GB, free: 3.934 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.2096/0.5691, allocations: 10.42 MB / 0.6367 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.5694, allocations: 342.7 kB / 0.637 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.5694, allocations: 43.84 kB / 0.6371 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02734/0.5968, allocations: 21.76 MB / 0.6583 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.5969, allocations: 132.4 kB / 0.6585 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.5973, allocations: 216.6 kB / 0.6587 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0248/0.6221, allocations: 12.74 MB / 0.6711 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6221, allocations: 2.125 kB / 0.6711 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6221, allocations: 0 / 0.6711 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6221, allocations: 0 / 0.6711 GB, free: 28.65 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.003239/0.6253, allocations: 2.282 MB / 0.6733 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6254, allocations: 10.72 kB / 0.6733 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.6254, allocations: 82.06 kB / 0.6734 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.6257, allocations: 85.19 kB / 0.6735 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.6261, allocations: 286.1 kB / 0.6738 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.6261, allocations: 29.72 kB / 0.6738 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.6261, allocations: 29.84 kB / 0.6738 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.6269, allocations: 0.7508 MB / 0.6746 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6269, allocations: 6.5 kB / 0.6746 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.6269, allocations: 13.03 kB / 0.6746 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.6269, allocations: 20.16 kB / 0.6746 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.6276, allocations: 0.5312 MB / 0.6751 GB, free: 26.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.629, allocations: 1.695 MB / 0.6768 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.6295, allocations: 479.5 kB / 0.6772 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.6298, allocations: 314.4 kB / 0.6775 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07054/0.7004, allocations: 37.46 MB / 0.7141 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.7004, allocations: 37.47 kB / 0.7142 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.7004, allocations: 4 kB / 0.7142 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.003517/0.7039, allocations: 2.23 MB / 0.7163 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.7039, allocations: 59.28 kB / 0.7164 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.7041, allocations: 262.9 kB / 0.7166 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.7041, allocations: 33.52 kB / 0.7167 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.7042, allocations: 192.3 kB / 0.7169 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.7043, allocations: 267.5 kB / 0.7171 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.7044, allocations: 98.31 kB / 0.7172 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.7044, allocations: 360.2 kB / 0.7175 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.7047, allocations: 278.6 kB / 0.7178 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.705, allocations: 414.3 kB / 0.7182 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.7056, allocations: 0.7115 MB / 0.7189 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7056, allocations: 4 kB / 0.7189 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007667/0.7063, allocations: 0.8266 MB / 0.7197 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.7063, allocations: 4 kB / 0.7197 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7064, allocations: 4 kB / 0.7197 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.7067, allocations: 108 kB / 0.7198 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.7069, allocations: 110.5 kB / 0.7199 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03643/0.7434, allocations: 19 MB / 0.7385 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.7438, allocations: 27.72 kB / 0.7385 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.7438, allocations: 27.8 kB / 0.7385 GB, free: 288 kB / 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 2} * 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.0002561/0.744, allocations: 191.5 kB / 0.7387 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.7441, allocations: 43.72 kB / 0.7388 GB, free: 88 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.7455, allocations: 1.732 MB / 0.7405 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.7455, allocations: 10.91 kB / 0.7405 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7455, allocations: 1.438 kB / 0.7405 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009416/0.7464, allocations: 1.292 MB / 0.7417 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.7479, allocations: 1.693 MB / 0.7434 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7479, allocations: 0 / 0.7434 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.7481, allocations: 78.95 kB / 0.7435 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.7483, allocations: 192.1 kB / 0.7436 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.7483, allocations: 11.88 kB / 0.7437 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.7493, allocations: 2.484 MB / 0.7461 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7493, allocations: 0 / 0.7461 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.7507, allocations: 1.485 MB / 0.7475 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.7508, allocations: 43.64 kB / 0.7476 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.7508, allocations: 15.25 kB / 0.7476 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.751, allocations: 27.91 kB / 0.7476 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.7511, allocations: 43.61 kB / 0.7477 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.7511, allocations: 15.8 kB / 0.7477 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001613/0.7512, allocations: 221 kB / 0.7479 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.7512, allocations: 0 / 0.7479 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007848/0.7591, allocations: 3.276 MB / 0.7511 GB, free: 5.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/0.7709, allocations: 6.251 MB / 0.7572 GB, free: 16 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.7721, allocations: 0.9698 MB / 0.7581 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7721, allocations: 0 / 0.7581 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.7726, allocations: 0.4908 MB / 0.7586 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7736, allocations: 399.1 kB / 0.759 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006713/0.7803, allocations: 6.204 MB / 0.765 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.7804, allocations: 249.7 kB / 0.7653 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.7807, allocations: 129.6 kB / 0.7654 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.7808, allocations: 162.6 kB / 0.7656 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of SimCode: time 1.143e-06/0.7808, allocations: 0 / 0.7656 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3656/1.146, allocations: 130.6 MB / 0.8932 GB, free: 76.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.63, allocations: 3.75 kB / 0.8932 GB, free: 76.1 MB / 0.6198 GB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph_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_component_ph.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.68187158741057] Failed to read output from testmodel.py, exit status != 0: 12.78368007298559 12.791162875 12.167148616 Calling exit ...