Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.001788/0.001788, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002227/0.002227, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.785 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.05192/0.05192, allocations: 9.131 MB / 321.6 MB, free: 10.21 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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.91 kB / 447 MB, free: 24 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 54.95 MB / 0.4902 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.4218/0.532, allocations: 115.1 MB / 0.6026 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1209/0.6529, allocations: 98.64 MB / 0.6989 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.6536, allocations: 7.938 kB / 0.6989 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003622/0.6573, allocations: 1.222 MB / 0.7001 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.6619, allocations: 1.575 MB / 0.7017 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4375/1.099, allocations: 31.34 MB / 0.7323 GB, free: 21.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002214/1.102, allocations: 1.424 MB / 0.7337 GB, free: 21.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/1.102, allocations: 76.42 kB / 0.7337 GB, free: 21.93 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.0192/1.121, allocations: 10.09 MB / 0.7436 GB, free: 21.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006243/1.122, allocations: 379.5 kB / 0.744 GB, free: 21.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/1.122, allocations: 41.09 kB / 0.744 GB, free: 21.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05008/1.172, allocations: 24.63 MB / 0.7681 GB, free: 21.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003227/1.172, allocations: 121.9 kB / 0.7682 GB, free: 21.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006956/1.173, allocations: 253.4 kB / 0.7684 GB, free: 21.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04595/1.219, allocations: 12.36 MB / 0.7805 GB, free: 20.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.219, allocations: 2.812 kB / 0.7805 GB, free: 20.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/1.219, allocations: 0 / 0.7805 GB, free: 20.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.219, allocations: 4 kB / 0.7805 GB, free: 20.4 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.00742/1.226, allocations: 2.587 MB / 0.783 GB, free: 18.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.226, allocations: 10.72 kB / 0.783 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/1.227, allocations: 85.7 kB / 0.7831 GB, free: 18.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/1.227, allocations: 285.7 kB / 0.7834 GB, free: 18.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/1.227, allocations: 32.69 kB / 0.7834 GB, free: 18.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/1.228, allocations: 34.69 kB / 0.7834 GB, free: 18.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/1.229, allocations: 0.7572 MB / 0.7842 GB, free: 18.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.229, allocations: 3.188 kB / 0.7842 GB, free: 18.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/1.229, allocations: 19.69 kB / 0.7842 GB, free: 18.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/1.229, allocations: 18.45 kB / 0.7842 GB, free: 18.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.23, allocations: 0.5504 MB / 0.7848 GB, free: 18.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/1.232, allocations: 1.65 MB / 0.7864 GB, free: 17.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.233, allocations: 471.9 kB / 0.7868 GB, free: 17.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/1.234, allocations: 321.9 kB / 0.7871 GB, free: 17.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1976/1.431, allocations: 44.04 MB / 0.8301 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/1.431, allocations: 42.25 kB / 0.8302 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 4.899e-06/1.431, allocations: 3.984 kB / 0.8302 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006261/1.438, allocations: 2.242 MB / 0.8324 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.438, allocations: 64.48 kB / 0.8324 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/1.438, allocations: 231 kB / 0.8326 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/1.438, allocations: 37.45 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/1.438, allocations: 195.7 kB / 0.8329 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.438, allocations: 277.6 kB / 0.8331 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/1.438, allocations: 101.7 kB / 0.8332 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.439, allocations: 356.8 kB / 0.8336 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/1.439, allocations: 288.4 kB / 0.8338 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/1.44, allocations: 395.5 kB / 0.8342 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.441, allocations: 0.7157 MB / 0.8349 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.441, allocations: 4 kB / 0.8349 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001489/1.442, allocations: 0.8136 MB / 0.8357 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.442, allocations: 8 kB / 0.8357 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.442, allocations: 0 / 0.8357 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/1.443, allocations: 64.3 kB / 0.8358 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/1.443, allocations: 147 kB / 0.8359 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07564/1.519, allocations: 19.44 MB / 0.8549 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/1.52, allocations: 28.3 kB / 0.8549 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/1.52, allocations: 20.62 kB / 0.855 GB, free: 6.676 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * 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, 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.0003345/1.52, allocations: 190.2 kB / 0.8551 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/1.52, allocations: 43.66 kB / 0.8552 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/1.522, allocations: 1.753 MB / 0.8569 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.522, allocations: 19.02 kB / 0.8569 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/1.522, allocations: 0.5469 kB / 0.8569 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001729/1.524, allocations: 1.322 MB / 0.8582 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.527, allocations: 1.65 MB / 0.8598 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.527, allocations: 4 kB / 0.8598 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/1.527, allocations: 78.91 kB / 0.8599 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/1.527, allocations: 163 kB / 0.8601 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/1.527, allocations: 7.688 kB / 0.8601 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.529, allocations: 2.443 MB / 0.8624 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.529, allocations: 7.969 kB / 0.8625 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/1.531, allocations: 1.406 MB / 0.8638 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/1.532, allocations: 39.73 kB / 0.8639 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/1.532, allocations: 13.44 kB / 0.8639 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/1.532, allocations: 24.84 kB / 0.8639 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.532, allocations: 43.73 kB / 0.8639 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/1.532, allocations: 19.73 kB / 0.864 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002214/1.532, allocations: 202.4 kB / 0.8642 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.532, allocations: 0 / 0.8642 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01025/1.542, allocations: 3.572 MB / 0.8676 GB, free: 11.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01866/1.561, allocations: 4.628 MB / 0.8722 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002563/1.564, allocations: 1.019 MB / 0.8732 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.564, allocations: 0 / 0.8732 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/1.565, allocations: 0.4939 MB / 0.8736 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.566, allocations: 369.2 kB / 0.874 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/1.569, allocations: 1.218 MB / 0.8752 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/1.569, allocations: 261.5 kB / 0.8754 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003866/1.569, allocations: 127.8 kB / 0.8756 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/1.569, allocations: 39.42 kB / 0.8756 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/1.569, allocations: 4 kB / 0.8756 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of Templates: time 0.5374/2.107, allocations: 127.5 MB / 1 GB, free: 192 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.38260079175234] Failed to read output from testmodel.py, exit status != 0: 2.1146582048386335 2.125999476 0.90446279 Calling exit ...