Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 109.5 kB / 16.41 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 187.3 kB / 17.35 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.83 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8292, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05046/0.8798, allocations: 53.75 MB / 1.261 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0247/0.9045, allocations: 17.01 MB / 1.278 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.9078, allocations: 83.56 kB / 1.278 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005779/0.9136, allocations: 1.928 MB / 1.28 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008102/0.9217, allocations: 2.5 MB / 1.282 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007111/0.9288, allocations: 2.349 MB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01091/0.9398, allocations: 7.538 MB / 1.292 GB, free: 8.176 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.9427, allocations: 1.67 MB / 1.293 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.9471, allocations: 1.962 MB / 1.295 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.9496, allocations: 1.432 MB / 1.297 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006023/0.9502, allocations: 176 kB / 1.297 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004184/0.9544, allocations: 2.02 MB / 1.299 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.9553, allocations: 0.6619 MB / 1.299 GB, free: 216 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.9573, allocations: 1.224 MB / 1.301 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.9635, allocations: 3.929 MB / 1.304 GB, free: 11.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.9635, allocations: 4 kB / 1.304 GB, free: 11.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9635, allocations: 0 / 1.304 GB, free: 11.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001098/0.9636, allocations: 0 / 1.304 GB, free: 11.04 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006099/0.9697, allocations: 2.936 MB / 1.307 GB, free: 8.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9698, allocations: 12.03 kB / 1.307 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.9725, allocations: 0.5511 MB / 1.308 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005366/0.9779, allocations: 2.731 MB / 1.31 GB, free: 4.648 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.978, allocations: 94.17 kB / 1.311 GB, free: 4.555 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.9782, allocations: 124 kB / 1.311 GB, free: 4.434 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.9811, allocations: 1.359 MB / 1.312 GB, free: 2.977 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.9812, allocations: 3.938 kB / 1.312 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.9813, allocations: 48 kB / 1.312 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.9813, allocations: 50 kB / 1.312 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.9842, allocations: 1.101 MB / 1.313 GB, free: 1.766 MB / 1.029 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.01063/0.9949, allocations: 7.46 MB / 1.32 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.9973, allocations: 1.338 MB / 1.322 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009906/0.9983, allocations: 426.8 kB / 1.322 GB, free: 7.863 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006125/1.004, allocations: 3.152 MB / 1.325 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/1.006, allocations: 434.9 kB / 1.326 GB, free: 3.938 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 3.236e-06/1.006, allocations: 0 / 1.326 GB, free: 3.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.003279/1.009, allocations: 1.244 MB / 1.327 GB, free: 2.664 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/1.009, allocations: 55.97 kB / 1.327 GB, free: 2.598 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/1.012, allocations: 2.133 MB / 1.329 GB, free: 448 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.842e-05/1.012, allocations: 49.69 kB / 1.329 GB, free: 392 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/1.013, allocations: 1.014 MB / 1.33 GB, free: 15.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/1.013, allocations: 217 kB / 1.33 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/1.014, allocations: 310.5 kB / 1.331 GB, free: 14.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/1.014, allocations: 301.1 kB / 1.331 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/1.015, allocations: 0.5571 MB / 1.331 GB, free: 13.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/1.017, allocations: 0.9885 MB / 1.332 GB, free: 12.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/1.019, allocations: 1.452 MB / 1.334 GB, free: 11.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.019, allocations: 0 / 1.334 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003439/1.023, allocations: 1.767 MB / 1.336 GB, free: 9.398 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/1.023, allocations: 37.7 kB / 1.336 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.023, allocations: 15.98 kB / 1.336 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/1.023, allocations: 20 kB / 1.336 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.024, allocations: 308 kB / 1.336 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/1.024, allocations: 23.92 kB / 1.336 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.025, allocations: 178.6 kB / 1.336 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.025, allocations: 67.97 kB / 1.336 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/1.027, allocations: 0.9717 MB / 1.337 GB, free: 7.773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00146/1.029, allocations: 0.9885 MB / 1.338 GB, free: 6.605 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002388/1.031, allocations: 1.451 MB / 1.339 GB, free: 4.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.129e-05/1.031, allocations: 7.984 kB / 1.339 GB, free: 4.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003365/1.034, allocations: 1.766 MB / 1.341 GB, free: 3.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/1.034, allocations: 41.64 kB / 1.341 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.034, allocations: 12 kB / 1.341 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.034, allocations: 20 kB / 1.341 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.036, allocations: 315.7 kB / 1.342 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/1.036, allocations: 19.94 kB / 1.342 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.037, allocations: 159.8 kB / 1.342 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.037, allocations: 59.98 kB / 1.342 GB, free: 2.578 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003065/1.038, allocations: 259.8 kB / 1.342 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/1.038, allocations: 201.4 kB / 1.342 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.041, allocations: 1.134 MB / 1.343 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001983/1.043, allocations: 0.9543 MB / 1.344 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.043, allocations: 0 / 1.344 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/1.043, allocations: 390.1 kB / 1.345 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.044, allocations: 19.94 kB / 1.345 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/1.045, allocations: 67.92 kB / 1.345 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.045, allocations: 52.48 kB / 1.345 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002807/1.048, allocations: 1.044 MB / 1.346 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003268/1.051, allocations: 1.609 MB / 1.347 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009191/1.052, allocations: 416.3 kB / 1.348 GB, free: 12.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002134/1.054, allocations: 1.424 MB / 1.349 GB, free: 10.9 MB / 1.076 GB Notification: Performance of Backend: time 4.8e-07/1.054, allocations: 0 / 1.349 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006465/1.061, allocations: 2.772 MB / 1.352 GB, free: 8.277 MB / 1.076 GB Notification: Performance of SimCode: time 0.007935/1.068, allocations: 4.602 MB / 1.356 GB, free: 3.645 MB / 1.076 GB Notification: Performance of Templates: time 0.07145/1.14, allocations: 44.42 MB / 1.4 GB, free: 7.652 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)