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.001427/0.001427, allocations: 109.2 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.001676/0.001676, allocations: 217.2 kB / 22.25 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.432/1.432, allocations: 207.6 MB / 233 MB, free: 9.984 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.05229/0.05229, allocations: 9.152 MB / 294.4 MB, free: 12.69 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_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: 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.00285/0.00285, allocations: 72.8 kB / 411.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07435/0.0772, allocations: 50.75 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3549/0.4321, allocations: 142.9 MB / 0.5906 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1044/0.5365, allocations: 98 MB / 0.6863 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.537, allocations: 11.94 kB / 0.6863 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.5404, allocations: 1.553 MB / 0.6879 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.5443, allocations: 1.828 MB / 0.6896 GB, free: 3.918 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.08168/0.626, allocations: 31.56 MB / 0.7205 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.6282, allocations: 1.429 MB / 0.7219 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.6285, allocations: 93.89 kB / 0.7219 GB, free: 2.727 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.01879/0.6473, allocations: 10.26 MB / 0.732 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006718/0.648, allocations: 402.3 kB / 0.7323 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.648, allocations: 40 kB / 0.7324 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3316/0.9797, allocations: 32.78 MB / 0.7644 GB, free: 45.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.9799, allocations: 121.3 kB / 0.7645 GB, free: 45.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.9803, allocations: 307.5 kB / 0.7648 GB, free: 45.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03142/1.012, allocations: 12.72 MB / 0.7772 GB, free: 45.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.012, allocations: 0 / 0.7772 GB, free: 45.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/1.012, allocations: 0 / 0.7772 GB, free: 45.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.626e-05/1.012, allocations: 3.562 kB / 0.7772 GB, free: 45.26 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.004961/1.017, allocations: 2.307 MB / 0.7795 GB, free: 43.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/1.017, allocations: 11.52 kB / 0.7795 GB, free: 43.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.825e-05/1.017, allocations: 90.22 kB / 0.7796 GB, free: 43.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/1.017, allocations: 86.66 kB / 0.7797 GB, free: 43.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/1.018, allocations: 274.3 kB / 0.7799 GB, free: 43.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/1.018, allocations: 34.75 kB / 0.78 GB, free: 43.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/1.018, allocations: 32.77 kB / 0.78 GB, free: 43.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/1.019, allocations: 0.5981 MB / 0.7806 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.019, allocations: 3.094 kB / 0.7806 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/1.019, allocations: 15.25 kB / 0.7806 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/1.019, allocations: 14.94 kB / 0.7806 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/1.02, allocations: 0.539 MB / 0.7811 GB, free: 43.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/1.022, allocations: 2.47 MB / 0.7835 GB, free: 42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009322/1.023, allocations: 476.1 kB / 0.784 GB, free: 41.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/1.023, allocations: 316.4 kB / 0.7843 GB, free: 41.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1447/1.168, allocations: 37.34 MB / 0.8208 GB, free: 25.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.168, allocations: 36.91 kB / 0.8208 GB, free: 25.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 3.507e-06/1.168, allocations: 0 / 0.8208 GB, free: 25.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005276/1.173, allocations: 2.236 MB / 0.823 GB, free: 23.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/1.173, allocations: 55.41 kB / 0.823 GB, free: 23.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.173, allocations: 262.5 kB / 0.8233 GB, free: 23.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.174, allocations: 29.52 kB / 0.8233 GB, free: 23.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/1.174, allocations: 191.5 kB / 0.8235 GB, free: 23.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/1.174, allocations: 278.6 kB / 0.8238 GB, free: 23.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.174, allocations: 104.6 kB / 0.8239 GB, free: 22.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/1.174, allocations: 348.2 kB / 0.8242 GB, free: 22.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/1.174, allocations: 284.8 kB / 0.8245 GB, free: 22.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/1.175, allocations: 400.1 kB / 0.8249 GB, free: 22.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/1.176, allocations: 0.7271 MB / 0.8256 GB, free: 21.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.176, allocations: 0.9375 kB / 0.8256 GB, free: 21.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001255/1.177, allocations: 0.8163 MB / 0.8264 GB, free: 21.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.177, allocations: 9.719 kB / 0.8264 GB, free: 21.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.177, allocations: 4 kB / 0.8264 GB, free: 21.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/1.177, allocations: 112 kB / 0.8265 GB, free: 20.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.178, allocations: 105.3 kB / 0.8266 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06553/1.243, allocations: 19.02 MB / 0.8452 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/1.244, allocations: 31.8 kB / 0.8452 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/1.244, allocations: 19.92 kB / 0.8452 GB, free: 2.477 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): 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.000223/1.244, allocations: 184.7 kB / 0.8454 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/1.244, allocations: 43.72 kB / 0.8454 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/1.246, allocations: 1.724 MB / 0.8471 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.246, allocations: 22.81 kB / 0.8471 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/1.246, allocations: 2.406 kB / 0.8471 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/1.247, allocations: 1.289 MB / 0.8484 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.25, allocations: 1.747 MB / 0.8501 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.25, allocations: 0 / 0.8501 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/1.25, allocations: 71.8 kB / 0.8502 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/1.25, allocations: 202.8 kB / 0.8504 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/1.25, allocations: 15.56 kB / 0.8504 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.252, allocations: 2.48 MB / 0.8528 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.252, allocations: 0 / 0.8528 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.255, allocations: 1.487 MB / 0.8542 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/1.255, allocations: 39.69 kB / 0.8543 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/1.255, allocations: 11.75 kB / 0.8543 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/1.255, allocations: 23.78 kB / 0.8543 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.255, allocations: 47.67 kB / 0.8544 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/1.255, allocations: 15.86 kB / 0.8544 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002357/1.256, allocations: 224.1 kB / 0.8546 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.256, allocations: 4 kB / 0.8546 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008594/1.264, allocations: 3.278 MB / 0.8578 GB, free: 7.48 MB / 0.5606 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.01918/1.283, allocations: 5.917 MB / 0.8636 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002246/1.286, allocations: 0.9748 MB / 0.8645 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.286, allocations: 4 kB / 0.8645 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/1.286, allocations: 0.491 MB / 0.865 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.288, allocations: 396.4 kB / 0.8654 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.302, allocations: 6.263 MB / 0.8715 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/1.302, allocations: 0.8514 MB / 0.8723 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004136/1.302, allocations: 110.7 kB / 0.8724 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.303, allocations: 177.5 kB / 0.8726 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.303, allocations: 0 / 0.8726 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4266/1.729, allocations: 129.4 MB / 0.999 GB, free: 249.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/20.9, allocations: 3.938 kB / 0.999 GB, free: 249.5 MB / 0.67 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 25.90572347499983] Failed to read output from testmodel.py, exit status != 0: 21.109937685003388 21.127665465 20.112093325 Calling exit ...