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.505/1.505, allocations: 252 MB / 268 MB, free: 10.86 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.001057/0.001057, allocations: 174.6 kB / 327.6 MB, free: 2.09 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.676/1.676, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0009292/0.0009295, allocations: 92.06 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 13.48 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.69/0.8989, allocations: 250.7 MB / 1.146 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.9149, allocations: 9.651 MB / 1.156 GB, free: 372 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.9182, allocations: 65.16 kB / 1.156 GB, free: 372 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.9212, allocations: 0.8187 MB / 1.157 GB, free: 348 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008561/0.9298, allocations: 2.55 MB / 1.159 GB, free: 216 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.9359, allocations: 1.978 MB / 1.161 GB, free: 128 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008342/0.9442, allocations: 5.566 MB / 1.166 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.9473, allocations: 1.283 MB / 1.168 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004867/0.9522, allocations: 1.656 MB / 1.169 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.956, allocations: 1.26 MB / 1.171 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006174/0.9567, allocations: 63.69 kB / 1.171 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007599/0.9643, allocations: 3.496 MB / 1.174 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.9655, allocations: 485.6 kB / 1.174 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.9673, allocations: 0.9163 MB / 1.175 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.9719, allocations: 2.698 MB / 1.178 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9719, allocations: 0 / 1.178 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9719, allocations: 0 / 1.178 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.674e-05/0.972, allocations: 0 / 1.178 GB, free: 9.141 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.004146/0.9761, allocations: 2.137 MB / 1.18 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.9762, allocations: 8.844 kB / 1.18 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.9797, allocations: 0.6309 MB / 1.181 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.9824, allocations: 1.375 MB / 1.182 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.9828, allocations: 161.2 kB / 1.182 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.9831, allocations: 132.2 kB / 1.182 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.9858, allocations: 1.443 MB / 1.184 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.9859, allocations: 0 / 1.184 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.986, allocations: 52.36 kB / 1.184 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.986, allocations: 45.48 kB / 1.184 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.9885, allocations: 1.211 MB / 1.185 GB, free: 4.645 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.00808/0.9966, allocations: 5.74 MB / 1.191 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.9985, allocations: 1.042 MB / 1.192 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009878/0.9995, allocations: 0.537 MB / 1.192 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/1, allocations: 327.9 kB / 1.192 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.001, allocations: 0.5883 MB / 1.193 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.877e-06/1.001, allocations: 2.625 kB / 1.193 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.009187/1.011, allocations: 3.62 MB / 1.197 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.011, allocations: 90.11 kB / 1.197 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.013, allocations: 1.352 MB / 1.198 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.013, allocations: 45.7 kB / 1.198 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/1.014, allocations: 0.7243 MB / 1.199 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/1.014, allocations: 326 kB / 1.199 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/1.014, allocations: 20 kB / 1.199 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.014, allocations: 341.9 kB / 1.199 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.015, allocations: 470 kB / 1.2 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/1.017, allocations: 0.6889 MB / 1.201 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.03, allocations: 3.636 MB / 1.204 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.03, allocations: 4 kB / 1.204 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003879/1.034, allocations: 1.574 MB / 1.206 GB, free: 0 / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/1.034, allocations: 254.1 kB / 1.206 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.034, allocations: 4 kB / 1.206 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/1.035, allocations: 249.4 kB / 1.206 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/1.036, allocations: 206.8 kB / 1.206 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/1.041, allocations: 4.486 MB / 1.211 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.043, allocations: 158.5 kB / 1.211 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.043, allocations: 39.98 kB / 1.211 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.043, allocations: 4 kB / 1.211 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003116/1.046, allocations: 1.396 MB / 1.212 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.046, allocations: 4.25 kB / 1.212 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/1.047, allocations: 225.5 kB / 1.212 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000895/1.048, allocations: 202.4 kB / 1.213 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/1.053, allocations: 5.498 MB / 1.218 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.055, allocations: 148.1 kB / 1.218 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/1.055, allocations: 43.98 kB / 1.218 GB, free: 2.445 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 ($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 (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.001114/1.056, allocations: 0.5051 MB / 1.219 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/1.057, allocations: 162 kB / 1.219 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/1.06, allocations: 1.345 MB / 1.22 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.06, allocations: 8 kB / 1.22 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.06, allocations: 0 / 1.22 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002299/1.062, allocations: 1.182 MB / 1.221 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/1.069, allocations: 3.102 MB / 1.224 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.069, allocations: 4 kB / 1.224 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.07, allocations: 192.3 kB / 1.225 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/1.07, allocations: 52.77 kB / 1.225 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-05/1.07, allocations: 31.98 kB / 1.225 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004477/1.07, allocations: 0.5913 MB / 1.225 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.07, allocations: 7.938 kB / 1.225 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/1.074, allocations: 2.025 MB / 1.227 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/1.075, allocations: 351 kB / 1.228 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/1.076, allocations: 24 kB / 1.228 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.077, allocations: 119.8 kB / 1.228 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.078, allocations: 68.45 kB / 1.228 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-05/1.078, allocations: 35.98 kB / 1.228 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001611/1.079, allocations: 0.9177 MB / 1.229 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.3e-07/1.079, allocations: 4 kB / 1.229 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002612/1.082, allocations: 0.6914 MB / 1.229 GB, free: 6.766 MB / 0.7605 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007616/1.083, allocations: 286.1 kB / 1.23 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004837/1.088, allocations: 2.608 MB / 1.232 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.088, allocations: 0 / 1.232 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.089, allocations: 0.6209 MB / 1.233 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/1.094, allocations: 0.8385 MB / 1.234 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/1.102, allocations: 4.029 MB / 1.237 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.103, allocations: 1.345 MB / 1.239 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/1.104, allocations: 123.4 kB / 1.239 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.041e-06/1.104, allocations: 0 / 1.239 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.05518/1.159, allocations: 40.16 MB / 1.278 GB, free: 4.637 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)