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.00155/0.00155, allocations: 85.11 kB / 19.18 MB, free: 2.527 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.001704/0.001704, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.355/1.355, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.04875/0.04875, allocations: 7.526 MB / 266.7 MB, free: 9.645 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 4.178e-06/4.178e-06, allocations: 4 kB / 392.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.476e-05, allocations: 6.281 kB / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.2731/0.2731, allocations: 126.8 MB / 0.5069 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.09442/0.3675, allocations: 86.74 MB / 0.5916 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.368, allocations: 7.938 kB / 0.5916 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.3709, allocations: 1.241 MB / 0.5928 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.3743, allocations: 1.609 MB / 0.5944 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07025/0.4445, allocations: 31.87 MB / 0.6255 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.4465, allocations: 1.444 MB / 0.6269 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.4467, allocations: 81.72 kB / 0.627 GB, free: 9.234 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.2055/0.6522, allocations: 10.41 MB / 0.6372 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.6527, allocations: 343 kB / 0.6375 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.6528, allocations: 42.69 kB / 0.6376 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03049/0.6833, allocations: 20.22 MB / 0.6573 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.6835, allocations: 127.9 kB / 0.6574 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.6839, allocations: 220.5 kB / 0.6576 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02286/0.7068, allocations: 11.84 MB / 0.6692 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7068, allocations: 2.25 kB / 0.6692 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7068, allocations: 0 / 0.6692 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7068, allocations: 0 / 0.6692 GB, free: 34.82 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.004088/0.7109, allocations: 2.134 MB / 0.6713 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.7109, allocations: 11.78 kB / 0.6713 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.7114, allocations: 83.86 kB / 0.6714 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.7118, allocations: 274 kB / 0.6716 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.7118, allocations: 31.25 kB / 0.6717 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.7118, allocations: 33.14 kB / 0.6717 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.7129, allocations: 0.7446 MB / 0.6724 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.7129, allocations: 0.875 kB / 0.6724 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.7129, allocations: 21.31 kB / 0.6724 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.7129, allocations: 11.88 kB / 0.6724 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.714, allocations: 0.5268 MB / 0.673 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.7157, allocations: 1.611 MB / 0.6745 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/0.7166, allocations: 466.5 kB / 0.675 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.717, allocations: 295.2 kB / 0.6753 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1229/0.84, allocations: 34.15 MB / 0.7086 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.84, allocations: 36.41 kB / 0.7086 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.84, allocations: 8 kB / 0.7087 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.005669/0.8457, allocations: 2.477 MB / 0.7111 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.8457, allocations: 57.92 kB / 0.7111 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.8459, allocations: 233.5 kB / 0.7113 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.8459, allocations: 37.45 kB / 0.7114 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.846, allocations: 196.2 kB / 0.7116 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.8461, allocations: 279.3 kB / 0.7118 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.8462, allocations: 99.31 kB / 0.7119 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.8462, allocations: 349.4 kB / 0.7123 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.8467, allocations: 288.1 kB / 0.7125 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.8472, allocations: 412.7 kB / 0.7129 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.8481, allocations: 0.7428 MB / 0.7137 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8481, allocations: 0 / 0.7137 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001301/0.8494, allocations: 0.836 MB / 0.7145 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8494, allocations: 10.03 kB / 0.7145 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8494, allocations: 8.641 kB / 0.7145 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007448/0.8502, allocations: 147.2 kB / 0.7146 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.8507, allocations: 122.5 kB / 0.7148 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.8522, allocations: 3.62 MB / 0.7183 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.8525, allocations: 31.84 kB / 0.7183 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.8525, allocations: 15.81 kB / 0.7183 GB, free: 12.48 MB / 0.4981 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.0001886/0.8527, allocations: 190.6 kB / 0.7185 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.8528, allocations: 43.72 kB / 0.7186 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.8546, allocations: 1.711 MB / 0.7202 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.8546, allocations: 14.67 kB / 0.7202 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.8546, allocations: 4 kB / 0.7202 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.8558, allocations: 1.267 MB / 0.7215 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.8577, allocations: 1.604 MB / 0.723 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.8577, allocations: 4 kB / 0.7231 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.858, allocations: 78.03 kB / 0.7231 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005671/0.8586, allocations: 262.2 kB / 0.7234 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.8586, allocations: 8.875 kB / 0.7234 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006788/0.8593, allocations: 1.785 MB / 0.7251 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8593, allocations: 8.016 kB / 0.7251 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.8611, allocations: 1.494 MB / 0.7266 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.8612, allocations: 35.88 kB / 0.7266 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.8612, allocations: 19.66 kB / 0.7266 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.8615, allocations: 23.98 kB / 0.7267 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.8616, allocations: 47.48 kB / 0.7267 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.8617, allocations: 22.3 kB / 0.7267 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001431/0.8618, allocations: 194.5 kB / 0.7269 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.8618, allocations: 0 / 0.7269 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004239/0.866, allocations: 2.011 MB / 0.7289 GB, free: 3.633 MB / 0.4981 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.008649/0.8747, allocations: 3.071 MB / 0.7319 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.8765, allocations: 0.8477 MB / 0.7327 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8765, allocations: 4.062 kB / 0.7327 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.8771, allocations: 395.7 kB / 0.7331 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.879, allocations: 378.5 kB / 0.7335 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.8809, allocations: 1.138 MB / 0.7346 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.8812, allocations: 242.2 kB / 0.7348 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000318/0.8815, allocations: 83.2 kB / 0.7349 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.8816, allocations: 40.38 kB / 0.7349 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.8816, allocations: 0 / 0.7349 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.1021/0.9837, allocations: 71.62 MB / 0.8049 GB, free: 7.371 MB / 0.5762 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: 11.354349497705698] Failed to read output from testmodel.py, exit status != 0: 0.992132518440485 1.003989155 0.294307105 Calling exit ...