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.001322/0.001322, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001498/0.001498, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.98 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.05299/0.05299, allocations: 9.144 MB / 321.6 MB, free: 10.52 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.003087/0.003087, allocations: 63.89 kB / 447.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1233, allocations: 54.94 MB / 0.4903 GB, free: 9.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.375/0.4982, allocations: 142.8 MB / 0.6298 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1216/0.6199, allocations: 97.99 MB / 0.7255 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007373/0.6206, allocations: 7.938 kB / 0.7255 GB, free: 24 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.3068/0.9275, allocations: 1.55 MB / 0.727 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.9315, allocations: 1.824 MB / 0.7288 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.06601/0.9975, allocations: 31.55 MB / 0.7596 GB, free: 140 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001999/0.9995, allocations: 1.436 MB / 0.761 GB, free: 140 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.9998, allocations: 83.66 kB / 0.7611 GB, free: 128 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.01857/1.018, allocations: 10.28 MB / 0.7711 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007422/1.019, allocations: 396.5 kB / 0.7715 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/1.019, allocations: 43.03 kB / 0.7715 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05175/1.071, allocations: 30.76 MB / 0.8016 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/1.071, allocations: 125.5 kB / 0.8017 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006416/1.072, allocations: 308.7 kB / 0.802 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03849/1.11, allocations: 11.95 MB / 0.8137 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.11, allocations: 0 / 0.8137 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/1.11, allocations: 0 / 0.8137 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.11, allocations: 4 kB / 0.8137 GB, free: 11.81 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.005814/1.116, allocations: 2.161 MB / 0.8158 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.116, allocations: 8.031 kB / 0.8158 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/1.117, allocations: 80.73 kB / 0.8159 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/1.117, allocations: 286 kB / 0.8161 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/1.117, allocations: 24.47 kB / 0.8162 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/1.117, allocations: 38.89 kB / 0.8162 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.119, allocations: 0.5945 MB / 0.8168 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/1.119, allocations: 0 / 0.8168 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/1.119, allocations: 18.69 kB / 0.8168 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/1.119, allocations: 14.19 kB / 0.8168 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/1.12, allocations: 0.5255 MB / 0.8173 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/1.123, allocations: 2.46 MB / 0.8197 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.124, allocations: 455.1 kB / 0.8201 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/1.124, allocations: 298.5 kB / 0.8204 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1407/1.265, allocations: 34.05 MB / 0.8537 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/1.265, allocations: 43.97 kB / 0.8537 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/1.265, allocations: 0 / 0.8537 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.006764/1.272, allocations: 2.486 MB / 0.8562 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.272, allocations: 55.41 kB / 0.8562 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/1.272, allocations: 257.8 kB / 0.8565 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/1.272, allocations: 33.7 kB / 0.8565 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/1.272, allocations: 190.2 kB / 0.8567 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.273, allocations: 279.4 kB / 0.8569 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.273, allocations: 110.1 kB / 0.857 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.273, allocations: 350.8 kB / 0.8574 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/1.273, allocations: 286.9 kB / 0.8576 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/1.274, allocations: 413 kB / 0.858 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.275, allocations: 0.7369 MB / 0.8588 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.275, allocations: 4 kB / 0.8588 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001626/1.277, allocations: 0.8398 MB / 0.8596 GB, free: 36 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.277, allocations: 7.719 kB / 0.8596 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.277, allocations: 4 kB / 0.8596 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008541/1.278, allocations: 150.3 kB / 0.8597 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/1.278, allocations: 124 kB / 0.8599 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/1.281, allocations: 3.639 MB / 0.8634 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/1.282, allocations: 28.12 kB / 0.8634 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.282, allocations: 23.19 kB / 0.8635 GB, free: 11.88 MB / 0.6231 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.0002918/1.282, allocations: 188.7 kB / 0.8636 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.282, allocations: 47.66 kB / 0.8637 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/1.284, allocations: 1.707 MB / 0.8653 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.284, allocations: 14.58 kB / 0.8654 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/1.284, allocations: 4 kB / 0.8654 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/1.286, allocations: 1.273 MB / 0.8666 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/1.289, allocations: 1.732 MB / 0.8683 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.289, allocations: 0 / 0.8683 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/1.289, allocations: 67.83 kB / 0.8684 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/1.29, allocations: 271.4 kB / 0.8686 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/1.29, allocations: 4 kB / 0.8686 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/1.291, allocations: 1.788 MB / 0.8704 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.291, allocations: 6.656 kB / 0.8704 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/1.294, allocations: 1.498 MB / 0.8718 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.294, allocations: 39.69 kB / 0.8719 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/1.294, allocations: 12.88 kB / 0.8719 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/1.294, allocations: 23.97 kB / 0.8719 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.294, allocations: 47.28 kB / 0.872 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/1.294, allocations: 16.05 kB / 0.872 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002745/1.295, allocations: 223.1 kB / 0.8722 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/1.295, allocations: 6.625 kB / 0.8722 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005186/1.3, allocations: 2.009 MB / 0.8742 GB, free: 0.6328 MB / 0.6231 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.008613/1.308, allocations: 2.841 MB / 0.8769 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.311, allocations: 0.8589 MB / 0.8778 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.311, allocations: 0 / 0.8778 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/1.311, allocations: 394.4 kB / 0.8781 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.313, allocations: 401.2 kB / 0.8785 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/1.316, allocations: 1.226 MB / 0.8797 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/1.316, allocations: 0.8446 MB / 0.8806 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000382/1.316, allocations: 98.36 kB / 0.8806 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/1.317, allocations: 39.44 kB / 0.8807 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of SimCode: time 1.062e-06/1.317, allocations: 0 / 0.8807 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.1112/1.428, allocations: 72.26 MB / 0.9512 GB, free: 2.184 MB / 0.7012 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.969327094964683] Failed to read output from testmodel.py, exit status != 0: 1.4385656318627298 1.4519741849999999 0.33836027300000004 Calling exit ...