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.00169/0.00169, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001502/0.001502, allocations: 211.9 kB / 22.25 MB, free: 5.137 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.969 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.05136/0.05136, allocations: 9.136 MB / 321.6 MB, free: 10.43 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_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 71.89 kB / 447.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1173, allocations: 54.95 MB / 0.4903 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3583/0.4756, allocations: 142.8 MB / 0.6298 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1096/0.5853, allocations: 97.98 MB / 0.7255 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.28/0.8653, allocations: 7.547 kB / 0.7255 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.8684, allocations: 1.554 MB / 0.727 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.872, allocations: 1.823 MB / 0.7288 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.06668/0.9387, allocations: 31.55 MB / 0.7596 GB, free: 132 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.9406, allocations: 1.432 MB / 0.761 GB, free: 132 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.9409, allocations: 85.28 kB / 0.7611 GB, free: 120 kB / 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.01607/0.957, allocations: 10.27 MB / 0.7711 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.9578, allocations: 403.1 kB / 0.7715 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.592e-05/0.9579, allocations: 42.22 kB / 0.7715 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05683/1.015, allocations: 32.78 MB / 0.8035 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/1.015, allocations: 128.2 kB / 0.8037 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000865/1.016, allocations: 306.9 kB / 0.8039 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03772/1.054, allocations: 12.71 MB / 0.8164 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.054, allocations: 2.625 kB / 0.8164 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/1.054, allocations: 0 / 0.8164 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.326e-05/1.054, allocations: 4 kB / 0.8164 GB, free: 10.17 MB / 0.5762 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.00569/1.059, allocations: 2.303 MB / 0.8186 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.059, allocations: 8.797 kB / 0.8186 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005837/1.06, allocations: 87.27 kB / 0.8187 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/1.06, allocations: 277.3 kB / 0.819 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/1.06, allocations: 31.53 kB / 0.819 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/1.061, allocations: 34.64 kB / 0.819 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.062, allocations: 0.5998 MB / 0.8196 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.062, allocations: 0 / 0.8196 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/1.062, allocations: 25.56 kB / 0.8196 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/1.062, allocations: 17.42 kB / 0.8197 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/1.063, allocations: 0.5302 MB / 0.8202 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/1.066, allocations: 2.477 MB / 0.8226 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/1.067, allocations: 472.7 kB / 0.823 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/1.068, allocations: 322.5 kB / 0.8234 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1652/1.233, allocations: 37.35 MB / 0.8598 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/1.233, allocations: 34.84 kB / 0.8599 GB, free: 180 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.454e-06/1.233, allocations: 1.094 kB / 0.8599 GB, free: 180 kB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005863/1.239, allocations: 2.235 MB / 0.862 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.239, allocations: 55.41 kB / 0.8621 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/1.239, allocations: 261.9 kB / 0.8623 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/1.239, allocations: 29.7 kB / 0.8624 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.239, allocations: 192.2 kB / 0.8626 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/1.239, allocations: 283.9 kB / 0.8628 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/1.24, allocations: 94.77 kB / 0.8629 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.24, allocations: 354.7 kB / 0.8633 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/1.24, allocations: 289.2 kB / 0.8635 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/1.241, allocations: 402 kB / 0.8639 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.242, allocations: 0.7177 MB / 0.8646 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.242, allocations: 0 / 0.8646 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001573/1.244, allocations: 0.8313 MB / 0.8654 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.244, allocations: 8 kB / 0.8654 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.244, allocations: 4 kB / 0.8654 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/1.244, allocations: 109.1 kB / 0.8655 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/1.245, allocations: 105.1 kB / 0.8656 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.072/1.317, allocations: 19.02 MB / 0.8842 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/1.317, allocations: 19.98 kB / 0.8842 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/1.317, allocations: 23.98 kB / 0.8843 GB, free: 6.785 MB / 0.6387 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.0003091/1.318, allocations: 189.4 kB / 0.8844 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/1.318, allocations: 48.59 kB / 0.8845 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/1.32, allocations: 1.723 MB / 0.8862 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/1.32, allocations: 17.94 kB / 0.8862 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.32, allocations: 0 / 0.8862 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001781/1.322, allocations: 1.292 MB / 0.8875 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/1.325, allocations: 1.76 MB / 0.8892 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.325, allocations: 1.203 kB / 0.8892 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/1.325, allocations: 69.08 kB / 0.8892 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004042/1.325, allocations: 201.2 kB / 0.8894 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/1.325, allocations: 12.03 kB / 0.8894 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.327, allocations: 2.489 MB / 0.8919 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.327, allocations: 0 / 0.8919 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/1.33, allocations: 1.492 MB / 0.8933 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.33, allocations: 47.64 kB / 0.8934 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/1.33, allocations: 8 kB / 0.8934 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/1.33, allocations: 29.02 kB / 0.8934 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.33, allocations: 43.92 kB / 0.8935 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/1.33, allocations: 15.98 kB / 0.8935 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002472/1.331, allocations: 219.1 kB / 0.8937 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.331, allocations: 0 / 0.8937 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009298/1.34, allocations: 3.287 MB / 0.8969 GB, free: 9.441 MB / 0.6544 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.01617/1.356, allocations: 4.211 MB / 0.901 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002273/1.358, allocations: 0.9664 MB / 0.9019 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.358, allocations: 0 / 0.9019 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/1.359, allocations: 0.4923 MB / 0.9024 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.361, allocations: 386.7 kB / 0.9028 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/1.363, allocations: 1.223 MB / 0.904 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/1.364, allocations: 0.8486 MB / 0.9048 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003805/1.364, allocations: 117.3 kB / 0.9049 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.364, allocations: 43.42 kB / 0.905 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/1.364, allocations: 8.594 kB / 0.905 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of Templates: time 0.3719/1.736, allocations: 122.8 MB / 1.025 GB, free: 353.5 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.871596661396325] Failed to read output from testmodel.py, exit status != 0: 1.7451507751829922 1.754431507 0.698199904 Calling exit ...