Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001835/0.001835, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002292/0.002292, allocations: 159.9 kB / 23.01 MB, free: 4.941 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.04841/0.04841, allocations: 7.536 MB / 267.3 MB, free: 9.586 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_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 392.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 54.92 MB / 447.7 MB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.358/0.4629, allocations: 127 MB / 0.5612 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1044/0.5673, allocations: 86.73 MB / 0.6459 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007282/0.568, allocations: 11.94 kB / 0.6459 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.5718, allocations: 1.229 MB / 0.6471 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.577, allocations: 1.572 MB / 0.6487 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.08854/0.6655, allocations: 31.36 MB / 0.6793 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.6678, allocations: 1.434 MB / 0.6807 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.668, allocations: 77.92 kB / 0.6808 GB, free: 13.06 MB / 0.5606 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.01792/0.686, allocations: 10.19 MB / 0.6907 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.6866, allocations: 370.5 kB / 0.6911 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.6867, allocations: 44 kB / 0.6911 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3454/1.032, allocations: 20.05 MB / 0.7107 GB, free: 38.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/1.032, allocations: 123.2 kB / 0.7108 GB, free: 38.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006181/1.033, allocations: 253.9 kB / 0.7111 GB, free: 38.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04035/1.073, allocations: 10.13 MB / 0.721 GB, free: 37.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/1.073, allocations: 1.219 kB / 0.721 GB, free: 37.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/1.073, allocations: 0 / 0.721 GB, free: 37.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.073, allocations: 0 / 0.721 GB, free: 37.81 MB / 0.5606 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.01001/1.083, allocations: 2.145 MB / 0.7231 GB, free: 36.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.083, allocations: 9.438 kB / 0.7231 GB, free: 36.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000617/1.084, allocations: 80.12 kB / 0.7232 GB, free: 36.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/1.085, allocations: 279 kB / 0.7234 GB, free: 36.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.085, allocations: 29.84 kB / 0.7234 GB, free: 36.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/1.085, allocations: 35.39 kB / 0.7235 GB, free: 36.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.086, allocations: 0.7445 MB / 0.7242 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.086, allocations: 2.531 kB / 0.7242 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/1.086, allocations: 15.44 kB / 0.7242 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/1.086, allocations: 16.95 kB / 0.7242 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.087, allocations: 0.5194 MB / 0.7247 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/1.09, allocations: 1.63 MB / 0.7263 GB, free: 35.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.091, allocations: 457.6 kB / 0.7268 GB, free: 35.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/1.091, allocations: 295.6 kB / 0.7271 GB, free: 35.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1264/1.218, allocations: 34.16 MB / 0.7604 GB, free: 32.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.218, allocations: 38.03 kB / 0.7605 GB, free: 32.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/1.218, allocations: 0 / 0.7605 GB, free: 32.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.00592/1.224, allocations: 2.469 MB / 0.7629 GB, free: 31.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.224, allocations: 55.38 kB / 0.7629 GB, free: 31.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/1.224, allocations: 230.1 kB / 0.7631 GB, free: 31.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/1.224, allocations: 36.42 kB / 0.7632 GB, free: 31.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/1.224, allocations: 201.5 kB / 0.7634 GB, free: 31.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.224, allocations: 279.7 kB / 0.7636 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.224, allocations: 103.8 kB / 0.7637 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/1.224, allocations: 347.1 kB / 0.7641 GB, free: 30.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/1.225, allocations: 287.1 kB / 0.7643 GB, free: 30.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/1.225, allocations: 411.5 kB / 0.7647 GB, free: 30.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/1.226, allocations: 0.7415 MB / 0.7655 GB, free: 30.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.226, allocations: 5.094 kB / 0.7655 GB, free: 30.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001502/1.228, allocations: 0.8344 MB / 0.7663 GB, free: 29.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.228, allocations: 8 kB / 0.7663 GB, free: 29.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.228, allocations: 4 kB / 0.7663 GB, free: 29.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/1.229, allocations: 158.2 kB / 0.7664 GB, free: 29.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/1.229, allocations: 120.5 kB / 0.7665 GB, free: 29.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/1.231, allocations: 3.618 MB / 0.7701 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/1.231, allocations: 31.91 kB / 0.7701 GB, free: 25.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/1.231, allocations: 15.75 kB / 0.7701 GB, free: 25.6 MB / 0.5606 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): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002584/1.232, allocations: 203.1 kB / 0.7703 GB, free: 25.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/1.232, allocations: 46.33 kB / 0.7704 GB, free: 25.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/1.233, allocations: 1.7 MB / 0.772 GB, free: 24.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.233, allocations: 11.81 kB / 0.772 GB, free: 24.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/1.234, allocations: 3.938 kB / 0.772 GB, free: 24.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/1.235, allocations: 1.271 MB / 0.7733 GB, free: 23.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/1.237, allocations: 1.614 MB / 0.7749 GB, free: 22.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.237, allocations: 0 / 0.7749 GB, free: 22.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/1.237, allocations: 75.31 kB / 0.7749 GB, free: 21.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006089/1.238, allocations: 269.2 kB / 0.7752 GB, free: 21.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.238, allocations: 11.5 kB / 0.7752 GB, free: 21.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007753/1.239, allocations: 1.779 MB / 0.7769 GB, free: 19.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.239, allocations: 7.359 kB / 0.7769 GB, free: 19.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/1.241, allocations: 1.501 MB / 0.7784 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.241, allocations: 35.75 kB / 0.7784 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/1.241, allocations: 15.86 kB / 0.7785 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/1.241, allocations: 23.8 kB / 0.7785 GB, free: 18.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.241, allocations: 44.5 kB / 0.7785 GB, free: 18.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/1.241, allocations: 14.67 kB / 0.7785 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002134/1.242, allocations: 203.1 kB / 0.7787 GB, free: 18.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.242, allocations: 0 / 0.7787 GB, free: 18.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009158/1.251, allocations: 2.008 MB / 0.7807 GB, free: 16.77 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.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/1.267, allocations: 2.845 MB / 0.7835 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002062/1.269, allocations: 0.8535 MB / 0.7843 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.269, allocations: 0.6562 kB / 0.7843 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/1.27, allocations: 393.4 kB / 0.7847 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.272, allocations: 369.3 kB / 0.785 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/1.274, allocations: 1.213 MB / 0.7862 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/1.274, allocations: 251.4 kB / 0.7865 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003702/1.274, allocations: 83.2 kB / 0.7865 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/1.275, allocations: 36.44 kB / 0.7866 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/1.275, allocations: 0 / 0.7866 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.1097/1.384, allocations: 71.37 MB / 0.8563 GB, free: 4.988 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.943156745051965] Failed to read output from testmodel.py, exit status != 0: 1.3933334778994322 1.405647986 0.32938956399999997 Calling exit ...