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.831/1.831, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001763/0.001763, allocations: 181 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.343/2.343, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.001092/0.001092, allocations: 89.45 kB / 0.751 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004458, allocations: 12 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3639, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.463/5.827, allocations: 2.087 GB / 3.075 GB, free: 132.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/5.827, allocations: 95.95 kB / 3.075 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.779/9.606, allocations: 1.038 GB / 4.113 GB, free: 120.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/9.606, allocations: 0 / 4.113 GB, free: 120.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000292/9.606, allocations: 50.02 kB / 4.113 GB, free: 120.9 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.007127/9.613, allocations: 2.371 MB / 4.115 GB, free: 119.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/9.613, allocations: 10.72 kB / 4.115 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/9.618, allocations: 0.6277 MB / 4.116 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/9.623, allocations: 1.445 MB / 4.118 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/9.623, allocations: 158.9 kB / 4.118 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/9.624, allocations: 119.6 kB / 4.118 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003942/9.628, allocations: 1.462 MB / 4.119 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/9.628, allocations: 11.75 kB / 4.119 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/9.628, allocations: 51.72 kB / 4.119 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/9.628, allocations: 41.16 kB / 4.119 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/9.631, allocations: 1.248 MB / 4.121 GB, free: 117.3 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0104/9.641, allocations: 5.877 MB / 4.126 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/9.643, allocations: 1.169 MB / 4.127 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/9.644, allocations: 313.9 kB / 4.128 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/9.645, allocations: 0.6339 MB / 4.128 GB, free: 112.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.296e-06/9.645, allocations: 0 / 4.128 GB, free: 112.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01152/9.656, allocations: 4.422 MB / 4.133 GB, free: 110.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/9.657, allocations: 200 kB / 4.133 GB, free: 110.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/9.659, allocations: 1.16 MB / 4.134 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/9.659, allocations: 45.36 kB / 4.134 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/9.66, allocations: 0.726 MB / 4.135 GB, free: 109.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/9.66, allocations: 327.5 kB / 4.135 GB, free: 109 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/9.66, allocations: 15.72 kB / 4.135 GB, free: 109 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/9.66, allocations: 344.6 kB / 4.135 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/9.661, allocations: 484.1 kB / 4.136 GB, free: 108.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/9.662, allocations: 0.7125 MB / 4.137 GB, free: 108.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/9.673, allocations: 2.545 MB / 4.139 GB, free: 107.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/9.673, allocations: 0 / 4.139 GB, free: 107.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004429/9.677, allocations: 1.827 MB / 4.141 GB, free: 106.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002949/9.678, allocations: 1.295 MB / 4.142 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/9.678, allocations: 3.844 kB / 4.142 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/9.679, allocations: 453.5 kB / 4.143 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/9.68, allocations: 174.5 kB / 4.143 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007279/9.687, allocations: 7.213 MB / 4.15 GB, free: 99.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/9.689, allocations: 159.7 kB / 4.15 GB, free: 99.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/9.689, allocations: 41.78 kB / 4.15 GB, free: 99.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/9.689, allocations: 3.25 kB / 4.15 GB, free: 99.38 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003956/9.693, allocations: 1.663 MB / 4.152 GB, free: 98.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/9.693, allocations: 3.812 kB / 4.152 GB, free: 98.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/9.694, allocations: 450.6 kB / 4.152 GB, free: 98.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/9.695, allocations: 180.2 kB / 4.152 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008614/9.704, allocations: 8.209 MB / 4.16 GB, free: 91.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/9.706, allocations: 152.1 kB / 4.16 GB, free: 91.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/9.706, allocations: 44.88 kB / 4.16 GB, free: 91.82 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 () * Number of clocked 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.001704/9.708, allocations: 0.5015 MB / 4.161 GB, free: 91.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008567/9.709, allocations: 163.2 kB / 4.161 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/9.713, allocations: 1.68 MB / 4.163 GB, free: 90.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/9.714, allocations: 11.42 kB / 4.163 GB, free: 90.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/9.714, allocations: 0 / 4.163 GB, free: 90.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003551/9.717, allocations: 1.532 MB / 4.164 GB, free: 90.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00939/9.727, allocations: 3.543 MB / 4.168 GB, free: 88.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/9.727, allocations: 8.156 kB / 4.168 GB, free: 88.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/9.727, allocations: 190.2 kB / 4.168 GB, free: 88.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006749/9.728, allocations: 239 kB / 4.168 GB, free: 88.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/9.728, allocations: 31.44 kB / 4.168 GB, free: 88.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/9.732, allocations: 2.724 MB / 4.171 GB, free: 86.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/9.732, allocations: 7.562 kB / 4.171 GB, free: 86.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/9.737, allocations: 2.7 MB / 4.173 GB, free: 84.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/9.738, allocations: 369.8 kB / 4.174 GB, free: 84.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005708/9.739, allocations: 38.88 kB / 4.174 GB, free: 84.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/9.741, allocations: 128.9 kB / 4.174 GB, free: 84.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/9.741, allocations: 70.55 kB / 4.174 GB, free: 84.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/9.741, allocations: 38.77 kB / 4.174 GB, free: 84.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001826/9.743, allocations: 0.9158 MB / 4.175 GB, free: 84.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/9.743, allocations: 0 / 4.175 GB, free: 84.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0045/9.747, allocations: 1.019 MB / 4.176 GB, free: 83.87 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.003918/9.751, allocations: 2.386 MB / 4.178 GB, free: 82.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004985/9.756, allocations: 2.954 MB / 4.181 GB, free: 80.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/9.756, allocations: 0 / 4.181 GB, free: 80.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/9.758, allocations: 0.8077 MB / 4.182 GB, free: 79.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/9.762, allocations: 0.8673 MB / 4.183 GB, free: 79.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/9.77, allocations: 3.945 MB / 4.187 GB, free: 75.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/9.771, allocations: 1.383 MB / 4.188 GB, free: 73.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002004/9.773, allocations: 343.5 kB / 4.188 GB, free: 73.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/9.773, allocations: 111.4 kB / 4.188 GB, free: 73.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/9.773, allocations: 0 / 4.188 GB, free: 73.2 MB / 0.948 GB Notification: Performance of Templates: time 0.08476/9.858, allocations: 62.08 MB / 4.249 GB, free: 11.63 MB / 0.948 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)