Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.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.001349/0.001349, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001436/0.001436, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 63.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2512, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.6712/0.9225, allocations: 225 MB / 1.005 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04369/0.9662, allocations: 29.23 MB / 1.033 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006346/0.9726, allocations: 107.4 kB / 1.033 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006023/0.9787, allocations: 1.638 MB / 1.035 GB, free: 9.844 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01622/0.995, allocations: 4.548 MB / 1.039 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01728/1.012, allocations: 4.929 MB / 1.044 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01772/1.03, allocations: 10.61 MB / 1.054 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009456/1.04, allocations: 4.89 MB / 1.059 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/1.051, allocations: 3.879 MB / 1.063 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007019/1.058, allocations: 3.162 MB / 1.066 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002419/1.06, allocations: 0.5195 MB / 1.067 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/1.071, allocations: 3.915 MB / 1.07 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00294/1.074, allocations: 1.406 MB / 1.072 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006468/1.08, allocations: 2.714 MB / 1.074 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/1.099, allocations: 9.453 MB / 1.084 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.099, allocations: 0 / 1.084 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.585e-06/1.099, allocations: 3.938 kB / 1.084 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003076/1.099, allocations: 4 kB / 1.084 GB, free: 7.758 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.01685/1.116, allocations: 5.908 MB / 1.089 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.116, allocations: 8.75 kB / 1.089 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/1.121, allocations: 1.118 MB / 1.091 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009079/1.131, allocations: 4.233 MB / 1.095 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/1.131, allocations: 233.8 kB / 1.095 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009446/1.132, allocations: 311.9 kB / 1.095 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008679/1.14, allocations: 4.207 MB / 1.099 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.262e-05/1.141, allocations: 7.922 kB / 1.099 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/1.141, allocations: 128 kB / 1.099 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/1.141, allocations: 72 kB / 1.099 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0086/1.15, allocations: 4.336 MB / 1.104 GB, free: 2.875 MB / 0.8887 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.02824/1.178, allocations: 15.58 MB / 1.119 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/1.184, allocations: 2.99 MB / 1.122 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/1.187, allocations: 1.642 MB / 1.123 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/1.202, allocations: 8.137 MB / 1.131 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00384/1.206, allocations: 1.895 MB / 1.133 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002139/1.208, allocations: 277.7 kB / 1.134 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=222): time 1.297e-05/1.208, allocations: 0 / 1.134 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=222): time 0.4923/1.7, allocations: 8.023 MB / 1.141 GB, free: 299.2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/1.701, allocations: 439.3 kB / 1.142 GB, free: 298.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00746/1.708, allocations: 4.182 MB / 1.146 GB, free: 298.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0009416/1.709, allocations: 77.89 kB / 1.146 GB, free: 298.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002348/1.711, allocations: 1.849 MB / 1.148 GB, free: 297.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.713, allocations: 0.7594 MB / 1.148 GB, free: 297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/1.714, allocations: 0.6394 MB / 1.149 GB, free: 296.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/1.714, allocations: 305.3 kB / 1.149 GB, free: 296.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/1.718, allocations: 1.727 MB / 1.151 GB, free: 295.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005021/1.723, allocations: 2.661 MB / 1.154 GB, free: 294.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/1.731, allocations: 3.852 MB / 1.157 GB, free: 292.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/1.731, allocations: 2.875 kB / 1.157 GB, free: 292.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=363) (initialization): time 0.01281/1.744, allocations: 5.16 MB / 1.162 GB, free: 291.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.744, allocations: 9.875 kB / 1.162 GB, free: 291.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/1.744, allocations: 18.09 kB / 1.163 GB, free: 291.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579/4.323, allocations: 339 MB / 1.494 GB, free: 313.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/4.326, allocations: 0.6247 MB / 1.494 GB, free: 313.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/4.333, allocations: 5.57 MB / 1.5 GB, free: 309.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/4.337, allocations: 298.5 kB / 1.5 GB, free: 309.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/4.338, allocations: 147.2 kB / 1.5 GB, free: 309.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005712/4.343, allocations: 2.79 MB / 1.503 GB, free: 309.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003985/4.347, allocations: 2.601 MB / 1.505 GB, free: 308.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006496/4.354, allocations: 3.748 MB / 1.509 GB, free: 307.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.2e-05/4.354, allocations: 3.594 kB / 1.509 GB, free: 307.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=363) (initialization_lambda0): time 0.01099/4.365, allocations: 5.009 MB / 1.514 GB, free: 305.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/4.365, allocations: 13.7 kB / 1.514 GB, free: 305.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/4.365, allocations: 21.47 kB / 1.514 GB, free: 305.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454/6.819, allocations: 339 MB / 1.845 GB, free: 312.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/6.822, allocations: 0.6062 MB / 1.846 GB, free: 312.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/6.829, allocations: 6.826 MB / 1.852 GB, free: 307.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/6.834, allocations: 310.2 kB / 1.853 GB, free: 307.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/6.835, allocations: 139.1 kB / 1.853 GB, free: 307.5 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 323 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 3 * 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.001083/6.836, allocations: 360.8 kB / 1.853 GB, free: 307.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/6.837, allocations: 399.5 kB / 1.853 GB, free: 307.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/6.848, allocations: 4.551 MB / 1.858 GB, free: 307 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008026/6.856, allocations: 3.701 MB / 1.861 GB, free: 306.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/6.856, allocations: 0 / 1.861 GB, free: 306.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/6.859, allocations: 0.8572 MB / 1.862 GB, free: 305.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/6.86, allocations: 57.19 kB / 1.862 GB, free: 305.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003143/6.863, allocations: 244.8 kB / 1.863 GB, free: 305.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004878/6.864, allocations: 163.9 kB / 1.863 GB, free: 305.7 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01332/6.877, allocations: 5.109 MB / 1.868 GB, free: 304.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01108/6.888, allocations: 5.959 MB / 1.874 GB, free: 302 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002909/6.891, allocations: 1.714 MB / 1.875 GB, free: 301.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005149/6.896, allocations: 2.899 MB / 1.878 GB, free: 300.3 MB / 0.9356 GB Notification: Performance of Backend: time 8.92e-07/6.896, allocations: 1.031 kB / 1.878 GB, free: 300.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01734/6.914, allocations: 6.88 MB / 1.885 GB, free: 297.2 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0222/6.936, allocations: 9.871 MB / 1.894 GB, free: 291.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.145/7.081, allocations: 110.4 MB / 2.002 GB, free: 189.9 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.sim & ./Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe 2>&1)