Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.656/2.656, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 172.9 kB / 365.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 94.89 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.824e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8269, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.903/6.73, allocations: 2.086 GB / 3.056 GB, free: 10.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/6.731, allocations: 91.33 kB / 3.056 GB, free: 10.94 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.471/12.2, allocations: 1.036 GB / 4.092 GB, free: 65.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/12.2, allocations: 8 kB / 4.092 GB, free: 65.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003534/12.2, allocations: 43.98 kB / 4.092 GB, free: 65.65 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.008077/12.21, allocations: 2.071 MB / 4.094 GB, free: 63.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/12.21, allocations: 8.031 kB / 4.094 GB, free: 63.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008825/12.22, allocations: 0.6298 MB / 4.095 GB, free: 62.87 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/12.23, allocations: 1.423 MB / 4.096 GB, free: 61.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008464/12.23, allocations: 162.2 kB / 4.097 GB, free: 61.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/12.23, allocations: 127.9 kB / 4.097 GB, free: 61.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/12.23, allocations: 1.352 MB / 4.098 GB, free: 59.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/12.23, allocations: 7.922 kB / 4.098 GB, free: 59.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/12.23, allocations: 48 kB / 4.098 GB, free: 59.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.85e-05/12.23, allocations: 46.22 kB / 4.098 GB, free: 59.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/12.24, allocations: 1.04 MB / 4.099 GB, free: 58.53 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/12.25, allocations: 5.888 MB / 4.105 GB, free: 52.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/12.26, allocations: 0.9848 MB / 4.106 GB, free: 51.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/12.26, allocations: 483.1 kB / 4.106 GB, free: 50.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009805/12.26, allocations: 312 kB / 4.107 GB, free: 50.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/12.26, allocations: 0.5341 MB / 4.107 GB, free: 49.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 5.401e-06/12.26, allocations: 0 / 4.107 GB, free: 49.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01402/12.28, allocations: 3.046 MB / 4.11 GB, free: 46.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/12.28, allocations: 196.7 kB / 4.11 GB, free: 46.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/12.28, allocations: 1.142 MB / 4.111 GB, free: 45.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003296/12.28, allocations: 45.7 kB / 4.111 GB, free: 45.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007528/12.28, allocations: 0.7293 MB / 4.112 GB, free: 44.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/12.28, allocations: 327.2 kB / 4.112 GB, free: 44.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/12.28, allocations: 16 kB / 4.112 GB, free: 44.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/12.28, allocations: 341.9 kB / 4.113 GB, free: 43.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/12.28, allocations: 388.8 kB / 4.113 GB, free: 43.56 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/12.28, allocations: 0.6108 MB / 4.114 GB, free: 42.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/12.3, allocations: 2.358 MB / 4.116 GB, free: 40.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/12.3, allocations: 4 kB / 4.116 GB, free: 40.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006376/12.31, allocations: 1.654 MB / 4.118 GB, free: 38.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003004/12.31, allocations: 1.303 MB / 4.119 GB, free: 37.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/12.31, allocations: 7.984 kB / 4.119 GB, free: 37.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/12.31, allocations: 423.1 kB / 4.119 GB, free: 36.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/12.31, allocations: 171.8 kB / 4.12 GB, free: 36.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009988/12.32, allocations: 6.885 MB / 4.126 GB, free: 29.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/12.32, allocations: 147.8 kB / 4.126 GB, free: 29.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/12.32, allocations: 39.98 kB / 4.126 GB, free: 29.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/12.32, allocations: 4.781 kB / 4.126 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005762/12.33, allocations: 1.503 MB / 4.128 GB, free: 27.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/12.33, allocations: 7.938 kB / 4.128 GB, free: 27.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/12.33, allocations: 419.5 kB / 4.128 GB, free: 27.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/12.33, allocations: 168 kB / 4.128 GB, free: 27.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/12.34, allocations: 7.901 MB / 4.136 GB, free: 18.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/12.35, allocations: 143.7 kB / 4.136 GB, free: 18.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/12.35, allocations: 44.09 kB / 4.136 GB, free: 18.51 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004018/12.35, allocations: 195.2 kB / 4.137 GB, free: 18.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/12.35, allocations: 170 kB / 4.137 GB, free: 18.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/12.35, allocations: 1.457 MB / 4.138 GB, free: 16.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/12.35, allocations: 8 kB / 4.138 GB, free: 16.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/12.35, allocations: 3.984 kB / 4.138 GB, free: 16.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004435/12.36, allocations: 1.318 MB / 4.139 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009512/12.37, allocations: 3.334 MB / 4.143 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/12.37, allocations: 8.031 kB / 4.143 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/12.37, allocations: 191.8 kB / 4.143 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000721/12.37, allocations: 201.6 kB / 4.143 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/12.37, allocations: 35.95 kB / 4.143 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/12.37, allocations: 2.49 MB / 4.146 GB, free: 8.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/12.37, allocations: 7.938 kB / 4.146 GB, free: 8.723 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006702/12.38, allocations: 2.405 MB / 4.148 GB, free: 6.129 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/12.38, allocations: 367 kB / 4.148 GB, free: 5.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003685/12.38, allocations: 31.89 kB / 4.148 GB, free: 5.719 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/12.38, allocations: 139.8 kB / 4.148 GB, free: 5.582 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/12.38, allocations: 68.59 kB / 4.148 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/12.39, allocations: 44.3 kB / 4.149 GB, free: 5.473 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001799/12.39, allocations: 0.8934 MB / 4.149 GB, free: 4.582 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/12.39, allocations: 0 / 4.149 GB, free: 4.582 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005036/12.39, allocations: 1.019 MB / 4.15 GB, free: 3.562 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004349/12.4, allocations: 2.361 MB / 4.153 GB, free: 1.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006313/12.4, allocations: 2.707 MB / 4.155 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/12.4, allocations: 4 kB / 4.155 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/12.4, allocations: 0.7097 MB / 4.156 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008015/12.41, allocations: 0.8812 MB / 4.157 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/12.42, allocations: 2.611 MB / 4.159 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/12.42, allocations: 1.39 MB / 4.161 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003804/12.43, allocations: 0.4889 MB / 4.161 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/12.43, allocations: 87.41 kB / 4.161 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/12.43, allocations: 0 / 4.161 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of Templates: time 0.881/13.31, allocations: 70.64 MB / 4.23 GB, free: 153.8 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)