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.001387/0.001387, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001082/0.001083, allocations: 185.7 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 55.91 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.094, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.3028/1.397, allocations: 229.3 MB / 1.445 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.05253/1.45, allocations: 29.19 MB / 1.473 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008185/1.458, allocations: 111.4 kB / 1.473 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.009225/1.467, allocations: 2.439 MB / 1.476 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02031/1.488, allocations: 5.042 MB / 1.481 GB, free: 7.324 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/1.5, allocations: 3.644 MB / 1.484 GB, free: 3.703 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02615/1.527, allocations: 13.62 MB / 1.498 GB, free: 6.051 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/1.538, allocations: 4.846 MB / 1.502 GB, free: 1.117 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/1.55, allocations: 3.985 MB / 1.506 GB, free: 13.13 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008712/1.559, allocations: 3.264 MB / 1.509 GB, free: 9.855 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.003136/1.562, allocations: 0.5234 MB / 1.51 GB, free: 9.332 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/1.577, allocations: 4.095 MB / 1.514 GB, free: 5.23 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/1.581, allocations: 1.523 MB / 1.515 GB, free: 3.703 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00866/1.589, allocations: 2.9 MB / 1.518 GB, free: 0.7891 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.02302/1.612, allocations: 9.831 MB / 1.528 GB, free: 6.93 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.612, allocations: 4 kB / 1.528 GB, free: 6.926 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.973e-06/1.612, allocations: 0 / 1.528 GB, free: 6.926 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003559/1.613, allocations: 0 / 1.528 GB, free: 6.926 MB / 1.248 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.02154/1.634, allocations: 6.26 MB / 1.534 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/1.634, allocations: 8.031 kB / 1.534 GB, free: 0.5469 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007348/1.642, allocations: 1.242 MB / 1.535 GB, free: 15.3 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/1.656, allocations: 5.245 MB / 1.54 GB, free: 9.969 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/1.656, allocations: 233.9 kB / 1.541 GB, free: 9.738 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.657, allocations: 312 kB / 1.541 GB, free: 9.434 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.668, allocations: 4.166 MB / 1.545 GB, free: 5.129 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/1.668, allocations: 7.844 kB / 1.545 GB, free: 5.121 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/1.668, allocations: 128 kB / 1.545 GB, free: 4.996 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/1.669, allocations: 76 kB / 1.545 GB, free: 4.922 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/1.679, allocations: 4.339 MB / 1.549 GB, free: 0.5703 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 1.214/2.893, allocations: 16.09 MB / 1.565 GB, free: 79.86 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0097/2.902, allocations: 2.997 MB / 1.568 GB, free: 79.83 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/2.907, allocations: 1.629 MB / 1.57 GB, free: 79.82 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/2.925, allocations: 8.314 MB / 1.578 GB, free: 75.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004705/2.93, allocations: 1.893 MB / 1.58 GB, free: 75.81 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002777/2.933, allocations: 282.8 kB / 1.58 GB, free: 75.81 MB / 1.279 GB Notification: Performance of pre-optimization done (n=225): time 2.099e-05/2.933, allocations: 0.8125 kB / 1.58 GB, free: 75.81 MB / 1.279 GB Notification: Performance of matching and sorting (n=225): time 0.0252/2.958, allocations: 8.197 MB / 1.588 GB, free: 75.32 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/2.958, allocations: 233.5 kB / 1.588 GB, free: 75.06 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009361/2.968, allocations: 4.665 MB / 1.593 GB, free: 74.75 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009301/2.969, allocations: 77.98 kB / 1.593 GB, free: 74.72 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/2.971, allocations: 1.949 MB / 1.595 GB, free: 74.32 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/2.972, allocations: 0.7653 MB / 1.595 GB, free: 73.84 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/2.973, allocations: 0.7197 MB / 1.596 GB, free: 73.79 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/2.974, allocations: 308.2 kB / 1.596 GB, free: 73.49 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/2.977, allocations: 1.812 MB / 1.598 GB, free: 73.46 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/2.982, allocations: 2.73 MB / 1.601 GB, free: 72.79 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008227/2.99, allocations: 4.016 MB / 1.605 GB, free: 72.22 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-05/2.99, allocations: 5.188 kB / 1.605 GB, free: 72.22 MB / 1.279 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.0139/3.004, allocations: 5.424 MB / 1.61 GB, free: 71.82 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/3.004, allocations: 15.47 kB / 1.61 GB, free: 71.82 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/3.004, allocations: 12.81 kB / 1.61 GB, free: 71.82 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205/5.209, allocations: 339.1 MB / 1.941 GB, free: 12.07 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/5.213, allocations: 0.6545 MB / 1.942 GB, free: 11.48 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006582/5.22, allocations: 5.578 MB / 1.947 GB, free: 6.133 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/5.225, allocations: 311 kB / 1.947 GB, free: 5.879 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008957/5.226, allocations: 152.5 kB / 1.948 GB, free: 5.754 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007175/5.233, allocations: 2.941 MB / 1.95 GB, free: 3.84 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005211/5.238, allocations: 2.689 MB / 1.953 GB, free: 1.613 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007747/5.246, allocations: 3.945 MB / 1.957 GB, free: 14.75 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.905e-05/5.246, allocations: 4 kB / 1.957 GB, free: 14.75 MB / 1.529 GB Notification: Performance of matching and sorting (n=419) (initialization_lambda0): time 0.01407/5.26, allocations: 5.303 MB / 1.962 GB, free: 10.87 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/5.26, allocations: 12 kB / 1.962 GB, free: 10.86 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/5.26, allocations: 12 kB / 1.962 GB, free: 10.85 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128/8.388, allocations: 339 MB / 2.293 GB, free: 0.5086 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/8.391, allocations: 0.6364 MB / 2.294 GB, free: 0.508 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/8.397, allocations: 6.819 MB / 2.301 GB, free: 0.5016 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00527/8.402, allocations: 325.6 kB / 2.301 GB, free: 0.5014 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007661/8.403, allocations: 149.6 kB / 2.301 GB, free: 0.5012 GB / 1.748 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.001024/8.404, allocations: 371.5 kB / 2.301 GB, free: 0.501 GB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/8.405, allocations: 432.3 kB / 2.302 GB, free: 0.5008 GB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009113/8.415, allocations: 4.672 MB / 2.306 GB, free: 0.4975 GB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006255/8.421, allocations: 3.723 MB / 2.31 GB, free: 0.4948 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/8.421, allocations: 4 kB / 2.31 GB, free: 0.4948 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/8.424, allocations: 0.9023 MB / 2.311 GB, free: 0.4944 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/8.425, allocations: 54.23 kB / 2.311 GB, free: 0.4943 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/8.428, allocations: 262.2 kB / 2.311 GB, free: 0.4941 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/8.428, allocations: 172.2 kB / 2.311 GB, free: 0.494 GB / 1.748 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01056/8.438, allocations: 5.031 MB / 2.316 GB, free: 0.4901 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009715/8.448, allocations: 5.939 MB / 2.322 GB, free: 497.6 MB / 1.748 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002534/8.451, allocations: 1.681 MB / 2.324 GB, free: 496.4 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.005269/8.456, allocations: 3.215 MB / 2.327 GB, free: 494.1 MB / 1.748 GB Notification: Performance of Backend: time 5.41e-07/8.456, allocations: 0 / 2.327 GB, free: 494.1 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.01746/8.474, allocations: 7.213 MB / 2.334 GB, free: 489.1 MB / 1.748 GB Notification: Performance of SimCode: time 0.01995/8.494, allocations: 10.42 MB / 2.344 GB, free: 479.8 MB / 1.748 GB Notification: Performance of Templates: time 0.1604/8.654, allocations: 117.4 MB / 2.459 GB, free: 364.5 MB / 1.748 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)