Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001323/0.001323, allocations: 117.6 kB / 16.42 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.001271/0.001271, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.829, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.2731/1.102, allocations: 228.4 MB / 1.312 GB, free: 9.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04175/1.144, allocations: 27.35 MB / 1.338 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004378/1.148, allocations: 115.4 kB / 1.338 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006201/1.155, allocations: 1.605 MB / 1.34 GB, free: 12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01389/1.168, allocations: 4.895 MB / 1.345 GB, free: 7.098 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009166/1.178, allocations: 3.498 MB / 1.348 GB, free: 3.625 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0159/1.194, allocations: 10.62 MB / 1.359 GB, free: 8.973 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009041/1.203, allocations: 4.826 MB / 1.363 GB, free: 4.062 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00981/1.213, allocations: 3.982 MB / 1.367 GB, free: 84 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005913/1.218, allocations: 3.161 MB / 1.37 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/1.221, allocations: 0.5156 MB / 1.371 GB, free: 12.39 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009813/1.23, allocations: 3.924 MB / 1.375 GB, free: 8.465 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002421/1.233, allocations: 1.375 MB / 1.376 GB, free: 7.086 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005505/1.238, allocations: 2.694 MB / 1.379 GB, free: 4.379 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01602/1.254, allocations: 9.294 MB / 1.388 GB, free: 11.06 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.254, allocations: 0 / 1.388 GB, free: 11.06 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.613e-06/1.254, allocations: 0 / 1.388 GB, free: 11.06 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002561/1.255, allocations: 0 / 1.388 GB, free: 11.06 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 747 * Number of variables: 747 Notification: Performance of Generate backend data structure: time 0.01897/1.274, allocations: 5.831 MB / 1.393 GB, free: 5.129 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.274, allocations: 16.03 kB / 1.393 GB, free: 5.113 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/1.28, allocations: 1.188 MB / 1.395 GB, free: 3.918 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009684/1.289, allocations: 4.208 MB / 1.399 GB, free: 15.65 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/1.29, allocations: 233.9 kB / 1.399 GB, free: 15.42 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009996/1.291, allocations: 311.9 kB / 1.399 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00979/1.301, allocations: 4.137 MB / 1.403 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/1.301, allocations: 3.938 kB / 1.403 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/1.301, allocations: 124 kB / 1.403 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/1.301, allocations: 79.98 kB / 1.403 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009952/1.311, allocations: 4.346 MB / 1.408 GB, free: 6.277 MB / 1.139 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.0319/1.343, allocations: 15.55 MB / 1.423 GB, free: 6.148 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007016/1.35, allocations: 3.037 MB / 1.426 GB, free: 3.105 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/1.353, allocations: 1.634 MB / 1.427 GB, free: 1.473 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/1.369, allocations: 8.264 MB / 1.435 GB, free: 8.457 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004104/1.373, allocations: 1.91 MB / 1.437 GB, free: 6.531 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002096/1.375, allocations: 277.7 kB / 1.438 GB, free: 6.258 MB / 1.17 GB Notification: Performance of pre-optimization done (n=225): time 1.622e-05/1.375, allocations: 0 / 1.438 GB, free: 6.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=225): time 0.02428/1.399, allocations: 8.041 MB / 1.445 GB, free: 14.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.4, allocations: 227.6 kB / 1.446 GB, free: 13.84 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007385/1.407, allocations: 4.075 MB / 1.45 GB, free: 9.75 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008736/1.408, allocations: 77.7 kB / 1.45 GB, free: 9.668 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.41, allocations: 1.827 MB / 1.452 GB, free: 7.82 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001491/1.412, allocations: 0.7586 MB / 1.452 GB, free: 7.051 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/1.413, allocations: 0.6147 MB / 1.453 GB, free: 6.43 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.413, allocations: 305.1 kB / 1.453 GB, free: 6.129 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/1.417, allocations: 1.641 MB / 1.455 GB, free: 4.48 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004733/1.422, allocations: 2.507 MB / 1.457 GB, free: 1.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007648/1.429, allocations: 3.695 MB / 1.461 GB, free: 13.83 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.429, allocations: 4 kB / 1.461 GB, free: 13.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01464/1.444, allocations: 5.47 MB / 1.466 GB, free: 8.285 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.444, allocations: 8 kB / 1.466 GB, free: 8.277 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/1.444, allocations: 12 kB / 1.466 GB, free: 8.266 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796/4.24, allocations: 339 MB / 1.797 GB, free: 277.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/4.243, allocations: 0.6049 MB / 1.798 GB, free: 276.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/4.248, allocations: 5.564 MB / 1.803 GB, free: 271.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005109/4.254, allocations: 318.4 kB / 1.804 GB, free: 271 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006899/4.254, allocations: 135.2 kB / 1.804 GB, free: 270.9 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004991/4.259, allocations: 2.65 MB / 1.806 GB, free: 268.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003297/4.263, allocations: 2.444 MB / 1.809 GB, free: 265.8 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005442/4.268, allocations: 3.589 MB / 1.812 GB, free: 262 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-05/4.268, allocations: 4 kB / 1.812 GB, free: 262 MB / 1.311 GB Notification: Performance of matching and sorting (n=352) (initialization_lambda0): time 0.01096/4.279, allocations: 5.323 MB / 1.817 GB, free: 256.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/4.279, allocations: 15.94 kB / 1.817 GB, free: 256.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/4.279, allocations: 12 kB / 1.817 GB, free: 256.8 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839/7.119, allocations: 339 MB / 2.149 GB, free: 439.7 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/7.122, allocations: 0.5942 MB / 2.149 GB, free: 439.6 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/7.128, allocations: 6.809 MB / 2.156 GB, free: 434.1 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/7.132, allocations: 323.5 kB / 2.156 GB, free: 434 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005159/7.133, allocations: 136.3 kB / 2.156 GB, free: 434 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (331): * Single equations (assignments): 324 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0008624/7.134, allocations: 353.1 kB / 2.157 GB, free: 433.8 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000997/7.135, allocations: 392.5 kB / 2.157 GB, free: 433.8 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009047/7.144, allocations: 4.689 MB / 2.161 GB, free: 429.6 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006419/7.15, allocations: 3.749 MB / 2.165 GB, free: 425.8 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/7.15, allocations: 0 / 2.165 GB, free: 425.8 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/7.152, allocations: 0.8587 MB / 2.166 GB, free: 425.1 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007416/7.153, allocations: 52 kB / 2.166 GB, free: 425.1 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/7.156, allocations: 258 kB / 2.166 GB, free: 424.8 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/7.156, allocations: 173.8 kB / 2.166 GB, free: 424.6 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01061/7.167, allocations: 5.06 MB / 2.171 GB, free: 419.6 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00935/7.176, allocations: 5.935 MB / 2.177 GB, free: 413.6 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002732/7.179, allocations: 1.698 MB / 2.179 GB, free: 411.9 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.004907/7.184, allocations: 2.819 MB / 2.182 GB, free: 409.1 MB / 1.326 GB Notification: Performance of Backend: time 1.172e-06/7.184, allocations: 4 kB / 2.182 GB, free: 409.1 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01544/7.199, allocations: 6.589 MB / 2.188 GB, free: 403 MB / 1.326 GB Notification: Performance of SimCode: time 0.01645/7.216, allocations: 9.581 MB / 2.197 GB, free: 393.5 MB / 1.326 GB Notification: Performance of Templates: time 0.149/7.365, allocations: 109.5 MB / 2.304 GB, free: 285 MB / 1.326 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.sim & ./Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe 2>&1)