Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.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.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|TVol.T|TSwi.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|TVol.T|TSwi.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 107 kB / 16.41 MB, free: 6.504 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.001415/0.001415, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 68.11 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.3172/1.367, allocations: 229.3 MB / 1.432 GB, free: 7.461 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04766/1.415, allocations: 29.18 MB / 1.461 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006561/1.421, allocations: 119.4 kB / 1.461 GB, free: 10.08 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.008563/1.43, allocations: 2.407 MB / 1.463 GB, free: 7.668 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01614/1.446, allocations: 4.87 MB / 1.468 GB, free: 2.785 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.457, allocations: 3.633 MB / 1.472 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02078/1.477, allocations: 13.61 MB / 1.485 GB, free: 1.535 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009433/1.487, allocations: 4.834 MB / 1.49 GB, free: 12.62 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/1.498, allocations: 3.993 MB / 1.494 GB, free: 8.621 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007277/1.505, allocations: 3.252 MB / 1.497 GB, free: 5.355 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002643/1.508, allocations: 0.5234 MB / 1.497 GB, free: 4.832 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/1.521, allocations: 4.088 MB / 1.501 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.003345/1.524, allocations: 1.527 MB / 1.503 GB, free: 15.2 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.006979/1.531, allocations: 2.9 MB / 1.506 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01829/1.549, allocations: 9.827 MB / 1.515 GB, free: 2.438 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.55, allocations: 3.938 kB / 1.515 GB, free: 2.434 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.294e-06/1.55, allocations: 0 / 1.515 GB, free: 2.434 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.000327/1.55, allocations: 0 / 1.515 GB, free: 2.434 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 753 * Number of variables: 753 Notification: Performance of Generate backend data structure: time 0.01857/1.568, allocations: 6.266 MB / 1.521 GB, free: 12.05 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.569, allocations: 8.031 kB / 1.521 GB, free: 12.05 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00678/1.575, allocations: 1.242 MB / 1.522 GB, free: 10.8 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.589, allocations: 5.229 MB / 1.528 GB, free: 5.484 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/1.589, allocations: 241.9 kB / 1.528 GB, free: 5.246 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/1.59, allocations: 312 kB / 1.528 GB, free: 4.941 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/1.602, allocations: 4.158 MB / 1.532 GB, free: 0.6445 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.602, allocations: 7.938 kB / 1.532 GB, free: 0.6367 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007866/1.602, allocations: 120 kB / 1.532 GB, free: 0.5195 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/1.603, allocations: 84 kB / 1.532 GB, free: 448 kB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/1.612, allocations: 4.342 MB / 1.537 GB, free: 12.08 MB / 1.264 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.03325/1.646, allocations: 16.09 MB / 1.552 GB, free: 11.35 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007084/1.653, allocations: 3.005 MB / 1.555 GB, free: 8.332 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/1.657, allocations: 1.641 MB / 1.557 GB, free: 6.691 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8648/2.522, allocations: 8.315 MB / 1.565 GB, free: 342.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006065/2.528, allocations: 1.892 MB / 1.567 GB, free: 341.5 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002935/2.531, allocations: 284.3 kB / 1.567 GB, free: 341.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=225): time 1.519e-05/2.531, allocations: 0 / 1.567 GB, free: 341.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=225): time 0.02618/2.557, allocations: 8.192 MB / 1.575 GB, free: 339.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.557, allocations: 229.9 kB / 1.575 GB, free: 339.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00791/2.565, allocations: 4.669 MB / 1.58 GB, free: 337.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000875/2.566, allocations: 79.25 kB / 1.58 GB, free: 337.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/2.568, allocations: 1.947 MB / 1.582 GB, free: 336.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/2.569, allocations: 0.7661 MB / 1.583 GB, free: 335.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/2.57, allocations: 0.7261 MB / 1.583 GB, free: 335.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001042/2.57, allocations: 308.6 kB / 1.584 GB, free: 335.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/2.573, allocations: 1.817 MB / 1.585 GB, free: 334.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/2.577, allocations: 2.731 MB / 1.588 GB, free: 333.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/2.584, allocations: 4.018 MB / 1.592 GB, free: 330.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/2.584, allocations: 3.688 kB / 1.592 GB, free: 330.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01197/2.596, allocations: 5.415 MB / 1.597 GB, free: 327.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/2.596, allocations: 11.94 kB / 1.597 GB, free: 327.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/2.596, allocations: 16 kB / 1.597 GB, free: 327.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091/4.687, allocations: 339.1 MB / 1.928 GB, free: 4.484 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/4.691, allocations: 0.6503 MB / 1.929 GB, free: 3.836 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/4.697, allocations: 5.566 MB / 1.934 GB, free: 14 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/4.702, allocations: 317.2 kB / 1.935 GB, free: 13.69 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008189/4.703, allocations: 147.9 kB / 1.935 GB, free: 13.54 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009337/4.712, allocations: 2.946 MB / 1.938 GB, free: 10.59 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007279/4.72, allocations: 2.685 MB / 1.94 GB, free: 7.66 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009296/4.729, allocations: 3.94 MB / 1.944 GB, free: 3.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.194e-05/4.729, allocations: 5.859 kB / 1.944 GB, free: 3.496 MB / 1.311 GB Notification: Performance of matching and sorting (n=419) (initialization_lambda0): time 0.01466/4.744, allocations: 5.303 MB / 1.949 GB, free: 14.12 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/4.744, allocations: 12 kB / 1.949 GB, free: 14.11 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/4.744, allocations: 15.94 kB / 1.949 GB, free: 14.1 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977/7.721, allocations: 339 MB / 2.281 GB, free: 400.2 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/7.724, allocations: 0.636 MB / 2.281 GB, free: 399.7 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/7.73, allocations: 6.827 MB / 2.288 GB, free: 393.1 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/7.735, allocations: 331.8 kB / 2.288 GB, free: 392.8 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/7.736, allocations: 145.4 kB / 2.288 GB, free: 392.7 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,hys.y,$PRE.hys.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 358 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,6), (1,6), (1,1), (1,1), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00143/7.737, allocations: 369.5 kB / 2.289 GB, free: 392.4 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/7.739, allocations: 428.4 kB / 2.289 GB, free: 392.2 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009618/7.749, allocations: 4.676 MB / 2.294 GB, free: 387.8 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006503/7.755, allocations: 3.72 MB / 2.297 GB, free: 384 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/7.755, allocations: 7.844 kB / 2.297 GB, free: 384 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/7.758, allocations: 0.9107 MB / 2.298 GB, free: 383.3 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/7.759, allocations: 51.98 kB / 2.298 GB, free: 383.2 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/7.762, allocations: 253.7 kB / 2.298 GB, free: 383 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/7.762, allocations: 175.1 kB / 2.299 GB, free: 382.8 MB / 1.482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01083/7.773, allocations: 5.029 MB / 2.303 GB, free: 377.8 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009729/7.783, allocations: 5.944 MB / 2.309 GB, free: 371.8 MB / 1.482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002586/7.786, allocations: 1.679 MB / 2.311 GB, free: 370.1 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.006509/7.792, allocations: 3.207 MB / 2.314 GB, free: 366.9 MB / 1.482 GB Notification: Performance of Backend: time 1.132e-06/7.792, allocations: 0 / 2.314 GB, free: 366.9 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.01974/7.812, allocations: 7.221 MB / 2.321 GB, free: 360.1 MB / 1.482 GB Notification: Performance of SimCode: time 0.02594/7.838, allocations: 10.41 MB / 2.331 GB, free: 349.8 MB / 1.482 GB Notification: Performance of Templates: time 0.1562/7.994, allocations: 117.4 MB / 2.446 GB, free: 233.5 MB / 1.482 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe 2>&1)