Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 288.4 MB / 304.3 MB, free: 8.031 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.001247/0.001247, allocations: 175.8 kB / 372.9 MB, free: 10.16 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.547/1.547, allocations: 205.4 MB / 0.6316 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 96.2 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004233, allocations: 20.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.6984/0.9236, allocations: 233.4 MB / 1.209 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.9374, allocations: 8.974 MB / 1.217 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.9397, allocations: 63.12 kB / 1.218 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.9421, allocations: 0.7095 MB / 1.218 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.9487, allocations: 2.254 MB / 1.22 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.9539, allocations: 1.666 MB / 1.222 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00583/0.9597, allocations: 4.691 MB / 1.227 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.9615, allocations: 1.271 MB / 1.228 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.9649, allocations: 1.642 MB / 1.229 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.9667, allocations: 1.17 MB / 1.231 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.9669, allocations: 68 kB / 1.231 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005587/0.9725, allocations: 3.421 MB / 1.234 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005059/0.973, allocations: 470.2 kB / 1.234 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009398/0.9739, allocations: 0.8762 MB / 1.235 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.977, allocations: 2.673 MB / 1.238 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.977, allocations: 0 / 1.238 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9771, allocations: 0 / 1.238 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.9771, allocations: 0 / 1.238 GB, free: 3.16 MB / 0.7605 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.003332/0.9804, allocations: 2.131 MB / 1.24 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9805, allocations: 8.031 kB / 1.24 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.9838, allocations: 0.6532 MB / 1.241 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.9861, allocations: 1.367 MB / 1.242 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.9865, allocations: 166 kB / 1.242 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.9867, allocations: 123.9 kB / 1.242 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.9892, allocations: 1.435 MB / 1.244 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.9892, allocations: 0 / 1.244 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.9893, allocations: 51.98 kB / 1.244 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.9894, allocations: 38.22 kB / 1.244 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.9918, allocations: 1.211 MB / 1.245 GB, free: 11.77 MB / 0.7761 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.007196/0.999, allocations: 5.709 MB / 1.25 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/1.001, allocations: 1.039 MB / 1.252 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/1.002, allocations: 0.537 MB / 1.252 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/1.002, allocations: 339.8 kB / 1.252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/1.004, allocations: 0.5696 MB / 1.253 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.546e-06/1.004, allocations: 0 / 1.253 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=93): time 0.008185/1.012, allocations: 3.646 MB / 1.256 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.012, allocations: 98.03 kB / 1.257 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/1.013, allocations: 1.342 MB / 1.258 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/1.014, allocations: 41.7 kB / 1.258 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/1.014, allocations: 0.7213 MB / 1.259 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/1.014, allocations: 319.3 kB / 1.259 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/1.014, allocations: 20 kB / 1.259 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.015, allocations: 341.9 kB / 1.259 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/1.015, allocations: 466 kB / 1.26 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.017, allocations: 0.6786 MB / 1.26 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/1.03, allocations: 3.638 MB / 1.264 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.03, allocations: 7.938 kB / 1.264 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003266/1.033, allocations: 1.566 MB / 1.265 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/1.033, allocations: 243.9 kB / 1.266 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.033, allocations: 4 kB / 1.266 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/1.034, allocations: 234.4 kB / 1.266 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/1.035, allocations: 199.7 kB / 1.266 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/1.039, allocations: 4.497 MB / 1.271 GB, free: 404 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/1.041, allocations: 149.3 kB / 1.271 GB, free: 256 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/1.041, allocations: 40 kB / 1.271 GB, free: 216 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/1.041, allocations: 4 kB / 1.271 GB, free: 212 kB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002725/1.044, allocations: 1.402 MB / 1.272 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.044, allocations: 4 kB / 1.272 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/1.044, allocations: 210.4 kB / 1.272 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/1.045, allocations: 203.8 kB / 1.272 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/1.05, allocations: 5.509 MB / 1.278 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/1.051, allocations: 143.9 kB / 1.278 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/1.051, allocations: 43.98 kB / 1.278 GB, free: 8.262 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008697/1.052, allocations: 0.5024 MB / 1.279 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/1.052, allocations: 166 kB / 1.279 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/1.055, allocations: 1.321 MB / 1.28 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002636/1.058, allocations: 1.19 MB / 1.281 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.058, allocations: 0 / 1.281 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/1.058, allocations: 343 kB / 1.281 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.059, allocations: 20 kB / 1.281 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.06, allocations: 107.8 kB / 1.282 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.06, allocations: 60.91 kB / 1.282 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003088/1.063, allocations: 1.421 MB / 1.283 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003674/1.067, allocations: 2.012 MB / 1.285 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009601/1.068, allocations: 0.5387 MB / 1.286 GB, free: 444 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001269/1.069, allocations: 0.9019 MB / 1.286 GB, free: 15.54 MB / 0.823 GB Notification: Performance of Backend: time 3.41e-07/1.069, allocations: 0 / 1.286 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005435/1.074, allocations: 2.866 MB / 1.289 GB, free: 12.59 MB / 0.823 GB Notification: Performance of SimCode: time 0.006318/1.081, allocations: 4.465 MB / 1.294 GB, free: 8.07 MB / 0.823 GB Notification: Performance of Templates: time 0.0908/1.171, allocations: 40.3 MB / 1.333 GB, free: 12 kB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)