Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.9 MB / 297.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 176.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.3 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008594, allocations: 86.3 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.575e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7772, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.185/5.962, allocations: 2.086 GB / 3.06 GB, free: 42.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/5.962, allocations: 92.94 kB / 3.06 GB, free: 42.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.59/9.553, allocations: 1.025 GB / 4.085 GB, free: 97.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/9.553, allocations: 0 / 4.085 GB, free: 97.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001484/9.553, allocations: 47.92 kB / 4.085 GB, free: 97.17 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.004251/9.557, allocations: 2.065 MB / 4.087 GB, free: 95.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/9.557, allocations: 8.031 kB / 4.087 GB, free: 95.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/9.561, allocations: 0.6298 MB / 4.088 GB, free: 94.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/9.564, allocations: 1.43 MB / 4.089 GB, free: 92.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/9.564, allocations: 118.2 kB / 4.089 GB, free: 92.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/9.564, allocations: 75.91 kB / 4.089 GB, free: 92.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/9.566, allocations: 0.9769 MB / 4.09 GB, free: 91.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/9.568, allocations: 1.188 MB / 4.091 GB, free: 90.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/9.568, allocations: 4 kB / 4.091 GB, free: 90.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/9.568, allocations: 4 kB / 4.091 GB, free: 90.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/9.568, allocations: 50.17 kB / 4.092 GB, free: 90.42 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.007121/9.575, allocations: 5.624 MB / 4.097 GB, free: 84.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/9.576, allocations: 0.9402 MB / 4.098 GB, free: 83.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/9.576, allocations: 470.7 kB / 4.098 GB, free: 83.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/9.577, allocations: 316 kB / 4.099 GB, free: 82.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/9.578, allocations: 0.5053 MB / 4.099 GB, free: 82.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/9.578, allocations: 0 / 4.099 GB, free: 82.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.006724/9.584, allocations: 2.983 MB / 4.102 GB, free: 79.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/9.584, allocations: 192.7 kB / 4.102 GB, free: 78.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/9.586, allocations: 0.9132 MB / 4.103 GB, free: 77.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/9.586, allocations: 29.7 kB / 4.103 GB, free: 77.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/9.586, allocations: 0.7308 MB / 4.104 GB, free: 77.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/9.586, allocations: 311.4 kB / 4.104 GB, free: 76.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/9.587, allocations: 0 / 4.104 GB, free: 76.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/9.587, allocations: 349.9 kB / 4.105 GB, free: 76.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/9.587, allocations: 366.5 kB / 4.105 GB, free: 76.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/9.588, allocations: 0.5897 MB / 4.105 GB, free: 75.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/9.591, allocations: 1.343 MB / 4.107 GB, free: 74.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/9.591, allocations: 0 / 4.107 GB, free: 74.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003542/9.595, allocations: 1.61 MB / 4.108 GB, free: 72.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002694/9.595, allocations: 1.289 MB / 4.11 GB, free: 71.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/9.595, allocations: 4 kB / 4.11 GB, free: 71.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008873/9.596, allocations: 418.4 kB / 4.11 GB, free: 70.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/9.597, allocations: 167.8 kB / 4.11 GB, free: 70.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005525/9.602, allocations: 6.532 MB / 4.117 GB, free: 63.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/9.604, allocations: 123.8 kB / 4.117 GB, free: 63.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/9.604, allocations: 43.98 kB / 4.117 GB, free: 63.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/9.604, allocations: 4 kB / 4.117 GB, free: 63.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003161/9.607, allocations: 1.428 MB / 4.118 GB, free: 62.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/9.607, allocations: 4 kB / 4.118 GB, free: 62.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/9.608, allocations: 415 kB / 4.119 GB, free: 61.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/9.609, allocations: 171.8 kB / 4.119 GB, free: 61.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006002/9.615, allocations: 7.463 MB / 4.126 GB, free: 53.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/9.616, allocations: 123.9 kB / 4.126 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/9.616, allocations: 39.98 kB / 4.126 GB, free: 53.36 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.0003857/9.617, allocations: 178.7 kB / 4.126 GB, free: 53.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/9.617, allocations: 150.2 kB / 4.126 GB, free: 53.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/9.62, allocations: 1.391 MB / 4.128 GB, free: 51.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/9.62, allocations: 15.94 kB / 4.128 GB, free: 51.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/9.62, allocations: 3.953 kB / 4.128 GB, free: 51.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002456/9.623, allocations: 1.277 MB / 4.129 GB, free: 50.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/9.628, allocations: 3.134 MB / 4.132 GB, free: 47.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/9.628, allocations: 4 kB / 4.132 GB, free: 47.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/9.629, allocations: 196.2 kB / 4.132 GB, free: 46.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/9.629, allocations: 193.5 kB / 4.133 GB, free: 46.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/9.629, allocations: 19.98 kB / 4.133 GB, free: 46.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/9.632, allocations: 2.431 MB / 4.135 GB, free: 44.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/9.632, allocations: 4 kB / 4.135 GB, free: 44.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/9.635, allocations: 2.335 MB / 4.137 GB, free: 41.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/9.636, allocations: 347.2 kB / 4.138 GB, free: 41.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/9.636, allocations: 12 kB / 4.138 GB, free: 41.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/9.637, allocations: 127.7 kB / 4.138 GB, free: 41.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/9.638, allocations: 68.59 kB / 4.138 GB, free: 40.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/9.638, allocations: 43.97 kB / 4.138 GB, free: 40.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009539/9.639, allocations: 0.699 MB / 4.138 GB, free: 40.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/9.639, allocations: 0 / 4.138 GB, free: 40.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003847/9.642, allocations: 0.9685 MB / 4.139 GB, free: 39.23 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.003232/9.646, allocations: 2.629 MB / 4.142 GB, free: 36.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002961/9.649, allocations: 2.56 MB / 4.144 GB, free: 33.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/9.649, allocations: 4 kB / 4.144 GB, free: 33.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/9.649, allocations: 0.6689 MB / 4.145 GB, free: 33.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/9.653, allocations: 0.7305 MB / 4.146 GB, free: 32.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/9.658, allocations: 2.533 MB / 4.148 GB, free: 29.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/9.659, allocations: 1.393 MB / 4.15 GB, free: 28.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00189/9.661, allocations: 423.4 kB / 4.15 GB, free: 27.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/9.661, allocations: 79.42 kB / 4.15 GB, free: 27.81 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/9.661, allocations: 0 / 4.15 GB, free: 27.81 MB / 0.948 GB Notification: Performance of Templates: time 0.6734/10.33, allocations: 46.55 MB / 4.196 GB, free: 164.8 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)