Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.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|onOffCon.reference|onOffCon.u",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.Experimental.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|onOffCon.reference|onOffCon.u",fileNamePrefix="Buildings_10_Buildings.Experimental.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.001566/0.001566, allocations: 109.5 kB / 16.42 MB, free: 6.512 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.001679/0.001679, allocations: 187.9 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.499/1.499, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 60.12 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9878, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.32/1.308, allocations: 229.3 MB / 1.391 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04908/1.357, allocations: 29.21 MB / 1.42 GB, free: 396 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00625/1.363, allocations: 115.4 kB / 1.42 GB, free: 280 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.008237/1.372, allocations: 2.428 MB / 1.422 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01701/1.389, allocations: 5.046 MB / 1.427 GB, free: 8.777 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/1.399, allocations: 3.644 MB / 1.431 GB, free: 5.156 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0213/1.421, allocations: 13.62 MB / 1.444 GB, free: 7.516 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009648/1.43, allocations: 4.838 MB / 1.449 GB, free: 2.59 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/1.441, allocations: 3.983 MB / 1.453 GB, free: 14.61 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007256/1.448, allocations: 3.256 MB / 1.456 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.002712/1.451, allocations: 0.5273 MB / 1.456 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/1.465, allocations: 4.099 MB / 1.46 GB, free: 6.699 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003402/1.468, allocations: 1.519 MB / 1.462 GB, free: 5.176 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.006882/1.475, allocations: 2.896 MB / 1.465 GB, free: 2.266 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/1.493, allocations: 9.917 MB / 1.474 GB, free: 8.32 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.493, allocations: 0 / 1.474 GB, free: 8.32 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.994e-06/1.493, allocations: 0 / 1.474 GB, free: 8.32 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003148/1.494, allocations: 4 kB / 1.474 GB, free: 8.316 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 751 * Number of variables: 751 Notification: Performance of Generate backend data structure: time 0.01751/1.511, allocations: 6.285 MB / 1.481 GB, free: 1.922 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.511, allocations: 8.625 kB / 1.481 GB, free: 1.914 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006414/1.518, allocations: 1.238 MB / 1.482 GB, free: 0.668 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/1.531, allocations: 5.239 MB / 1.487 GB, free: 11.35 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/1.531, allocations: 233.9 kB / 1.487 GB, free: 11.12 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/1.532, allocations: 315.8 kB / 1.487 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/1.543, allocations: 4.154 MB / 1.491 GB, free: 6.516 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/1.543, allocations: 7.938 kB / 1.491 GB, free: 6.508 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006807/1.544, allocations: 124 kB / 1.492 GB, free: 6.387 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/1.544, allocations: 76 kB / 1.492 GB, free: 6.312 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009601/1.553, allocations: 4.342 MB / 1.496 GB, free: 1.957 MB / 1.217 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.03305/1.587, allocations: 16.12 MB / 1.512 GB, free: 1.188 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006649/1.593, allocations: 2.998 MB / 1.515 GB, free: 14.18 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/1.596, allocations: 1.627 MB / 1.516 GB, free: 12.55 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/1.612, allocations: 8.334 MB / 1.524 GB, free: 3.465 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00405/1.616, allocations: 1.887 MB / 1.526 GB, free: 1.559 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002265/1.619, allocations: 281.5 kB / 1.526 GB, free: 1.281 MB / 1.248 GB Notification: Performance of pre-optimization done (n=224): time 1.395e-05/1.619, allocations: 0 / 1.526 GB, free: 1.281 MB / 1.248 GB Notification: Performance of matching and sorting (n=224): time 0.02622/1.645, allocations: 8.789 MB / 1.535 GB, free: 8.391 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.645, allocations: 231.6 kB / 1.535 GB, free: 8.117 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.658, allocations: 4.663 MB / 1.54 GB, free: 3.445 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/1.659, allocations: 81.64 kB / 1.54 GB, free: 3.359 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.003473/1.662, allocations: 1.95 MB / 1.542 GB, free: 1.395 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.664, allocations: 0.7704 MB / 1.542 GB, free: 0.6133 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002793/1.667, allocations: 0.7098 MB / 1.543 GB, free: 15.89 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.667, allocations: 313.1 kB / 1.543 GB, free: 15.59 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/1.671, allocations: 1.808 MB / 1.545 GB, free: 13.77 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/1.676, allocations: 2.724 MB / 1.548 GB, free: 10.79 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/1.683, allocations: 4.007 MB / 1.552 GB, free: 6.57 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/1.684, allocations: 4 kB / 1.552 GB, free: 6.566 MB / 1.279 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01429/1.698, allocations: 5.422 MB / 1.557 GB, free: 1.078 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/1.698, allocations: 15.94 kB / 1.557 GB, free: 1.062 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/1.698, allocations: 12 kB / 1.557 GB, free: 1.051 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895/4.593, allocations: 339 MB / 1.888 GB, free: 54.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/4.596, allocations: 0.651 MB / 1.889 GB, free: 53.51 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005585/4.602, allocations: 5.567 MB / 1.894 GB, free: 48.19 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/4.607, allocations: 328.3 kB / 1.895 GB, free: 47.93 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000836/4.608, allocations: 150.4 kB / 1.895 GB, free: 47.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006834/4.615, allocations: 2.939 MB / 1.898 GB, free: 45.17 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004353/4.619, allocations: 2.691 MB / 1.9 GB, free: 42.24 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006539/4.626, allocations: 3.926 MB / 1.904 GB, free: 38.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-05/4.626, allocations: 4 kB / 1.904 GB, free: 38.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=418) (initialization_lambda0): time 0.01115/4.637, allocations: 5.302 MB / 1.909 GB, free: 32.95 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/4.637, allocations: 16.03 kB / 1.909 GB, free: 32.93 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/4.637, allocations: 15.47 kB / 1.909 GB, free: 32.92 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848/7.485, allocations: 339 MB / 2.24 GB, free: 401 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/7.488, allocations: 0.64 MB / 2.241 GB, free: 400.4 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/7.493, allocations: 6.815 MB / 2.248 GB, free: 393.9 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/7.499, allocations: 338.3 kB / 2.248 GB, free: 393.6 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/7.499, allocations: 141.9 kB / 2.248 GB, free: 393.5 MB / 1.436 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,onOffCon.y,$PRE.onOffCon.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 (365): * Single equations (assignments): 357 * 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.0007977/7.5, allocations: 373.2 kB / 2.248 GB, free: 393.2 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/7.501, allocations: 429.5 kB / 2.249 GB, free: 393 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008519/7.51, allocations: 4.676 MB / 2.253 GB, free: 388.5 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006287/7.516, allocations: 3.714 MB / 2.257 GB, free: 384.7 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/7.516, allocations: 0 / 2.257 GB, free: 384.7 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/7.519, allocations: 0.9097 MB / 2.258 GB, free: 384 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007255/7.52, allocations: 52 kB / 2.258 GB, free: 384 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/7.522, allocations: 263.9 kB / 2.258 GB, free: 383.7 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/7.523, allocations: 172.8 kB / 2.258 GB, free: 383.5 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01027/7.533, allocations: 5.035 MB / 2.263 GB, free: 378.5 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009093/7.542, allocations: 5.933 MB / 2.269 GB, free: 372.5 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002451/7.545, allocations: 1.687 MB / 2.271 GB, free: 370.8 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.004487/7.549, allocations: 3.203 MB / 2.274 GB, free: 367.6 MB / 1.436 GB Notification: Performance of Backend: time 6.41e-07/7.549, allocations: 0 / 2.274 GB, free: 367.6 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.01503/7.564, allocations: 7.231 MB / 2.281 GB, free: 360.9 MB / 1.436 GB Notification: Performance of SimCode: time 0.01688/7.581, allocations: 10.4 MB / 2.291 GB, free: 350.5 MB / 1.436 GB Notification: Performance of Templates: time 0.1518/7.733, allocations: 118 MB / 2.406 GB, free: 233.5 MB / 1.436 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe 2>&1)