Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 173.4 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007687, allocations: 94.17 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 12.47 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5813/0.7492, allocations: 253.8 MB / 1.145 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.7624, allocations: 9.748 MB / 1.154 GB, free: 272 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.7647, allocations: 70.16 kB / 1.154 GB, free: 272 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.7667, allocations: 0.8213 MB / 1.155 GB, free: 252 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006001/0.7727, allocations: 2.554 MB / 1.157 GB, free: 116 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.7776, allocations: 1.967 MB / 1.159 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005759/0.7834, allocations: 5.507 MB / 1.165 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.785, allocations: 1.271 MB / 1.166 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.7883, allocations: 1.658 MB / 1.168 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.7905, allocations: 1.261 MB / 1.169 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.7907, allocations: 63.5 kB / 1.169 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.7963, allocations: 3.489 MB / 1.172 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.7968, allocations: 489.4 kB / 1.173 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.7979, allocations: 0.8957 MB / 1.174 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.8029, allocations: 3.703 MB / 1.177 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8029, allocations: 0 / 1.177 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8029, allocations: 4 kB / 1.177 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.576e-05/0.803, allocations: 0 / 1.177 GB, free: 8.109 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003275/0.8063, allocations: 2.142 MB / 1.179 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.8063, allocations: 6.719 kB / 1.179 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.8096, allocations: 0.6421 MB / 1.18 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.8119, allocations: 1.366 MB / 1.181 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.8123, allocations: 164.9 kB / 1.182 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.8124, allocations: 130 kB / 1.182 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.8147, allocations: 1.449 MB / 1.183 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.8148, allocations: 3 kB / 1.183 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.8149, allocations: 52.84 kB / 1.183 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.8149, allocations: 39.73 kB / 1.183 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.8173, allocations: 1.222 MB / 1.184 GB, free: 3.598 MB / 0.7136 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.007189/0.8245, allocations: 5.717 MB / 1.19 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.8263, allocations: 1.042 MB / 1.191 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/0.8272, allocations: 0.5409 MB / 1.191 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.8278, allocations: 327.6 kB / 1.192 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.8289, allocations: 0.5849 MB / 1.192 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 4.578e-06/0.8289, allocations: 3.984 kB / 1.192 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.00806/0.837, allocations: 3.626 MB / 1.196 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.8371, allocations: 88.73 kB / 1.196 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.8387, allocations: 1.354 MB / 1.197 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/0.8388, allocations: 45.7 kB / 1.197 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.8394, allocations: 0.736 MB / 1.198 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.8396, allocations: 315 kB / 1.198 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.8397, allocations: 97.66 kB / 1.198 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8399, allocations: 341.9 kB / 1.199 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.8408, allocations: 474 kB / 1.199 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.8419, allocations: 0.6849 MB / 1.2 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/0.8545, allocations: 3.631 MB / 1.203 GB, free: 340 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8545, allocations: 4 kB / 1.203 GB, free: 336 kB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003146/0.8577, allocations: 1.572 MB / 1.205 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.8578, allocations: 244.2 kB / 1.205 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8579, allocations: 8 kB / 1.205 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007308/0.8586, allocations: 238.2 kB / 1.205 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/0.8594, allocations: 201.4 kB / 1.206 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.8637, allocations: 4.503 MB / 1.21 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.8653, allocations: 147.9 kB / 1.21 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.8654, allocations: 39.98 kB / 1.21 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.8654, allocations: 4 kB / 1.21 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0027/0.8682, allocations: 1.396 MB / 1.212 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8682, allocations: 4 kB / 1.212 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/0.8687, allocations: 220.6 kB / 1.212 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.8695, allocations: 203.2 kB / 1.212 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/0.8743, allocations: 5.502 MB / 1.217 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.8757, allocations: 147.8 kB / 1.218 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.8758, allocations: 39.98 kB / 1.218 GB, free: 1.207 MB / 0.7448 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: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,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 (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * 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,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007576/0.8766, allocations: 0.5194 MB / 1.218 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.8769, allocations: 162.2 kB / 1.218 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.8796, allocations: 1.326 MB / 1.219 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002141/0.8817, allocations: 1.192 MB / 1.221 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8817, allocations: 0 / 1.221 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.8824, allocations: 347 kB / 1.221 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.8827, allocations: 27.92 kB / 1.221 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.8838, allocations: 107.8 kB / 1.221 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.8839, allocations: 56.92 kB / 1.221 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003028/0.887, allocations: 1.421 MB / 1.223 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00345/0.8904, allocations: 2.023 MB / 1.225 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009671/0.8914, allocations: 0.5426 MB / 1.225 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001391/0.8928, allocations: 0.9216 MB / 1.226 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of Backend: time 3.91e-07/0.8928, allocations: 0 / 1.226 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005893/0.8987, allocations: 2.865 MB / 1.229 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of SimCode: time 0.006992/0.9057, allocations: 4.46 MB / 1.233 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of Templates: time 0.064/0.9697, allocations: 40.83 MB / 1.273 GB, free: 8.543 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)