Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_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.001642/0.001642, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001984/0.001984, allocations: 208.8 kB / 22.24 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.828 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.0537/0.0537, allocations: 9.142 MB / 321.6 MB, free: 10.27 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: translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 447 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 54.94 MB / 0.4902 GB, free: 9.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.4093/0.5308, allocations: 127 MB / 0.6142 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1088/0.6396, allocations: 86.73 MB / 0.6989 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000908/0.6405, allocations: 15.94 kB / 0.699 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.6447, allocations: 1.226 MB / 0.7002 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.6498, allocations: 1.571 MB / 0.7017 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4185/1.068, allocations: 31.35 MB / 0.7323 GB, free: 22.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002225/1.07, allocations: 1.413 MB / 0.7337 GB, free: 22.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/1.071, allocations: 88.38 kB / 0.7338 GB, free: 22.81 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.02139/1.092, allocations: 10.1 MB / 0.7436 GB, free: 22.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/1.093, allocations: 375.7 kB / 0.744 GB, free: 22.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/1.093, allocations: 42.47 kB / 0.744 GB, free: 22.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0524/1.145, allocations: 24.67 MB / 0.7681 GB, free: 22.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/1.146, allocations: 127.4 kB / 0.7682 GB, free: 22.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007903/1.146, allocations: 253.2 kB / 0.7685 GB, free: 22.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04722/1.194, allocations: 12.35 MB / 0.7806 GB, free: 21.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.194, allocations: 0 / 0.7806 GB, free: 21.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/1.194, allocations: 0 / 0.7806 GB, free: 21.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.194, allocations: 4 kB / 0.7806 GB, free: 21.36 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.009791/1.203, allocations: 2.588 MB / 0.7831 GB, free: 19.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.203, allocations: 7.25 kB / 0.7831 GB, free: 19.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/1.204, allocations: 86.14 kB / 0.7832 GB, free: 19.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/1.205, allocations: 297.8 kB / 0.7835 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/1.205, allocations: 25.12 kB / 0.7835 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/1.205, allocations: 33.62 kB / 0.7835 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.206, allocations: 0.7609 MB / 0.7843 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.206, allocations: 0.6562 kB / 0.7843 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/1.206, allocations: 14.91 kB / 0.7843 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.206, allocations: 20.67 kB / 0.7843 GB, free: 19.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/1.207, allocations: 0.5545 MB / 0.7848 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/1.209, allocations: 1.639 MB / 0.7864 GB, free: 18.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.21, allocations: 485.1 kB / 0.7869 GB, free: 18.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/1.211, allocations: 315.1 kB / 0.7872 GB, free: 17.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2024/1.413, allocations: 44.05 MB / 0.8302 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/1.413, allocations: 34.78 kB / 0.8302 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/1.413, allocations: 0.9375 kB / 0.8302 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of matching and sorting (n=82): time 0.006643/1.42, allocations: 2.239 MB / 0.8324 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/1.42, allocations: 59.34 kB / 0.8325 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/1.42, allocations: 230.6 kB / 0.8327 GB, free: 13 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/1.42, allocations: 28.83 kB / 0.8327 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.42, allocations: 200.5 kB / 0.8329 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/1.421, allocations: 278.6 kB / 0.8332 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/1.421, allocations: 104.1 kB / 0.8333 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.421, allocations: 349.4 kB / 0.8336 GB, free: 12.15 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/1.422, allocations: 290.4 kB / 0.8339 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/1.422, allocations: 413.5 kB / 0.8343 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.423, allocations: 0.7348 MB / 0.835 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.423, allocations: 0 / 0.835 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001596/1.425, allocations: 0.8023 MB / 0.8358 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.425, allocations: 12.45 kB / 0.8358 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.425, allocations: 8 kB / 0.8358 GB, free: 10.56 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/1.425, allocations: 60.69 kB / 0.8359 GB, free: 10.51 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/1.426, allocations: 127.3 kB / 0.836 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07581/1.502, allocations: 18.86 MB / 0.8544 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/1.502, allocations: 27.47 kB / 0.8544 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/1.502, allocations: 15.62 kB / 0.8545 GB, free: 8.129 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * 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, 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.0003366/1.503, allocations: 205.1 kB / 0.8547 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.503, allocations: 39.77 kB / 0.8547 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/1.505, allocations: 1.62 MB / 0.8563 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.505, allocations: 14.39 kB / 0.8563 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.505, allocations: 0 / 0.8563 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/1.507, allocations: 1.202 MB / 0.8575 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/1.509, allocations: 1.533 MB / 0.859 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.509, allocations: 0 / 0.859 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.51, allocations: 82.66 kB / 0.859 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/1.51, allocations: 106 kB / 0.8591 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/1.51, allocations: 12.36 kB / 0.8591 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/1.512, allocations: 1.879 MB / 0.861 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.512, allocations: 0.7656 kB / 0.861 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/1.514, allocations: 1.277 MB / 0.8622 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.514, allocations: 35.75 kB / 0.8623 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/1.514, allocations: 18.75 kB / 0.8623 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/1.514, allocations: 23.84 kB / 0.8623 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.514, allocations: 46.67 kB / 0.8624 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/1.514, allocations: 19.86 kB / 0.8624 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002946/1.515, allocations: 226.8 kB / 0.8626 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.515, allocations: 0 / 0.8626 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01214/1.527, allocations: 3.564 MB / 0.8661 GB, free: 13.94 MB / 0.6075 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: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02162/1.549, allocations: 4.632 MB / 0.8706 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002496/1.551, allocations: 0.9762 MB / 0.8715 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.551, allocations: 0 / 0.8715 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000973/1.552, allocations: 490.5 kB / 0.872 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.554, allocations: 375.2 kB / 0.8724 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.556, allocations: 1.176 MB / 0.8735 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/1.556, allocations: 246.2 kB / 0.8738 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004114/1.557, allocations: 145.7 kB / 0.8739 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.557, allocations: 38.38 kB / 0.8739 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/1.557, allocations: 0 / 0.8739 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.4562/2.013, allocations: 127.2 MB / 0.9982 GB, free: 330.4 MB / 0.7013 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.025147834792733] Failed to read output from testmodel.py, exit status != 0: 2.0220257360488176 2.034272388 0.837843084 Calling exit ...