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.001565/0.001565, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001692/0.001692, allocations: 159.1 kB / 22.46 MB, free: 5.375 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.363/1.363, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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.04824/0.04824, allocations: 7.532 MB / 266.7 MB, free: 9.625 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 1.823e-06/1.823e-06, allocations: 0 / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.017e-05, allocations: 5.797 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.2868/0.2868, allocations: 126.8 MB / 0.5069 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.09907/0.3859, allocations: 86.74 MB / 0.5916 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.3864, allocations: 7.938 kB / 0.5916 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003076/0.3895, allocations: 1.237 MB / 0.5928 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.3931, allocations: 1.613 MB / 0.5944 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07005/0.4631, allocations: 31.86 MB / 0.6255 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.465, allocations: 1.437 MB / 0.6269 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.4652, allocations: 81.78 kB / 0.627 GB, free: 9.223 MB / 0.4981 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.2094/0.6745, allocations: 10.42 MB / 0.6372 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.6751, allocations: 341.8 kB / 0.6375 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.6751, allocations: 42.66 kB / 0.6376 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03698/0.7121, allocations: 24.86 MB / 0.6618 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.7124, allocations: 132.9 kB / 0.662 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.7129, allocations: 219.5 kB / 0.6622 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02952/0.7424, allocations: 14.52 MB / 0.6763 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7424, allocations: 0 / 0.6763 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7424, allocations: 0 / 0.6763 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.7424, allocations: 0 / 0.6763 GB, free: 34.65 MB / 0.4981 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.005161/0.7476, allocations: 2.592 MB / 0.6789 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.7476, allocations: 8.469 kB / 0.6789 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006163/0.7482, allocations: 85.75 kB / 0.679 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.7486, allocations: 279.4 kB / 0.6792 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.7486, allocations: 34.53 kB / 0.6793 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.7487, allocations: 36.27 kB / 0.6793 GB, free: 33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.7499, allocations: 0.7564 MB / 0.68 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7499, allocations: 3.594 kB / 0.68 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.7499, allocations: 16.45 kB / 0.6801 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.7499, allocations: 20.61 kB / 0.6801 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.7512, allocations: 0.5538 MB / 0.6806 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.7529, allocations: 1.637 MB / 0.6822 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.7539, allocations: 483.1 kB / 0.6827 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.7544, allocations: 306.6 kB / 0.683 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1893/0.9437, allocations: 44.04 MB / 0.726 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9438, allocations: 41.95 kB / 0.726 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 2.976e-06/0.9438, allocations: 0 / 0.726 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.005243/0.949, allocations: 2.231 MB / 0.7282 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.949, allocations: 65.28 kB / 0.7283 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.9492, allocations: 230.1 kB / 0.7285 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.9492, allocations: 41.45 kB / 0.7285 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.9493, allocations: 195.7 kB / 0.7287 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/0.9494, allocations: 275 kB / 0.729 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.9495, allocations: 96.5 kB / 0.7291 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.9495, allocations: 350.2 kB / 0.7294 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.95, allocations: 284.8 kB / 0.7297 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.9504, allocations: 418 kB / 0.7301 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000941/0.9514, allocations: 0.7222 MB / 0.7308 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9514, allocations: 6.062 kB / 0.7308 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001294/0.9527, allocations: 0.8108 MB / 0.7316 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9527, allocations: 10.53 kB / 0.7316 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.9527, allocations: 4 kB / 0.7316 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.9529, allocations: 71.33 kB / 0.7316 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.9536, allocations: 126.3 kB / 0.7318 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07497/1.029, allocations: 18.86 MB / 0.7502 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/1.029, allocations: 27.91 kB / 0.7502 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/1.029, allocations: 23.92 kB / 0.7502 GB, free: 14.28 MB / 0.5294 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.0002657/1.029, allocations: 189.5 kB / 0.7504 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.029, allocations: 51.53 kB / 0.7505 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/1.031, allocations: 1.609 MB / 0.752 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/1.031, allocations: 11.98 kB / 0.752 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.031, allocations: 4 kB / 0.752 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/1.033, allocations: 1.207 MB / 0.7532 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/1.035, allocations: 1.523 MB / 0.7547 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.035, allocations: 3.984 kB / 0.7547 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/1.036, allocations: 80.86 kB / 0.7548 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/1.036, allocations: 110.5 kB / 0.7549 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/1.036, allocations: 10.56 kB / 0.7549 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/1.038, allocations: 1.872 MB / 0.7567 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.038, allocations: 0 / 0.7567 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/1.04, allocations: 1.279 MB / 0.758 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/1.04, allocations: 31.8 kB / 0.758 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/1.04, allocations: 19.64 kB / 0.758 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.04, allocations: 27.84 kB / 0.7581 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.04, allocations: 43.67 kB / 0.7581 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/1.04, allocations: 15.86 kB / 0.7581 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002249/1.041, allocations: 224.3 kB / 0.7583 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.041, allocations: 0 / 0.7583 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009171/1.05, allocations: 3.574 MB / 0.7618 GB, free: 4.098 MB / 0.5294 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.01793/1.068, allocations: 5.016 MB / 0.7667 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.07, allocations: 0.9731 MB / 0.7677 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.07, allocations: 3.75 kB / 0.7677 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/1.071, allocations: 493.7 kB / 0.7681 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.073, allocations: 361.1 kB / 0.7685 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/1.074, allocations: 1.127 MB / 0.7696 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.075, allocations: 246.2 kB / 0.7698 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003514/1.075, allocations: 142.3 kB / 0.77 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/1.075, allocations: 40.38 kB / 0.77 GB, free: 12.86 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/1.075, allocations: 0 / 0.77 GB, free: 12.86 MB / 0.545 GB Notification: Performance of Templates: time 0.3054/1.381, allocations: 126.7 MB / 0.8938 GB, free: 302.2 MB / 0.6231 GB " [Timeout remaining time 659] 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: 14.756407264620066] Failed to read output from testmodel.py, exit status != 0: 1.3891179412603378 1.397302821 0.652665277 Calling exit ...