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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001116, allocations: 189.9 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205 MB / 0.6354 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 98.27 kB / 0.748 GB, free: 61.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2313, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.6173/0.8486, allocations: 222.2 MB / 1.199 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.04011/0.8888, allocations: 29.82 MB / 1.228 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005699/0.8945, allocations: 100.7 kB / 1.228 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.005583/0.9001, allocations: 1.38 MB / 1.23 GB, free: 3.398 MB / 0.8073 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.01328/0.9135, allocations: 4.072 MB / 1.234 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.9266, allocations: 4.239 MB / 1.238 GB, free: 14.79 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01911/0.9457, allocations: 12.71 MB / 1.25 GB, free: 9.82 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009592/0.9553, allocations: 4.139 MB / 1.254 GB, free: 8.098 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008586/0.964, allocations: 3.159 MB / 1.257 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006893/0.9709, allocations: 3.024 MB / 1.26 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00201/0.9729, allocations: 236.1 kB / 1.261 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.983, allocations: 3.554 MB / 1.264 GB, free: 4.262 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.9858, allocations: 1.094 MB / 1.265 GB, free: 3.703 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005632/0.9914, allocations: 2.386 MB / 1.267 GB, free: 1.461 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/1.007, allocations: 9.138 MB / 1.276 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/1.007, allocations: 3.984 kB / 1.276 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.007, allocations: 3.938 kB / 1.276 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003016/1.007, allocations: 0 / 1.276 GB, free: 9.551 MB / 0.8386 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.01676/1.024, allocations: 5.909 MB / 1.282 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.024, allocations: 12.03 kB / 1.282 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/1.029, allocations: 1.114 MB / 1.283 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008452/1.037, allocations: 4.312 MB / 1.287 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/1.038, allocations: 238.4 kB / 1.288 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009629/1.039, allocations: 312 kB / 1.288 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008775/1.047, allocations: 4.212 MB / 1.292 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.347e-05/1.048, allocations: 7.906 kB / 1.292 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/1.048, allocations: 120 kB / 1.292 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.492e-05/1.048, allocations: 83.94 kB / 1.292 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009276/1.057, allocations: 4.334 MB / 1.297 GB, free: 4.586 MB / 0.8542 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.02493/1.082, allocations: 15.42 MB / 1.312 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005052/1.087, allocations: 3.018 MB / 1.315 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/1.09, allocations: 1.65 MB / 1.316 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.103, allocations: 8.036 MB / 1.324 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003119/1.106, allocations: 1.903 MB / 1.326 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002036/1.108, allocations: 417.5 kB / 1.326 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=223): time 7.074e-06/1.108, allocations: 0 / 1.326 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=223): time 0.01964/1.127, allocations: 7.898 MB / 1.334 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001952/1.128, allocations: 445.2 kB / 1.334 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006281/1.134, allocations: 4.072 MB / 1.338 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008041/1.135, allocations: 81.69 kB / 1.338 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/1.137, allocations: 1.856 MB / 1.34 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.138, allocations: 0.7625 MB / 1.341 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/1.139, allocations: 0.6425 MB / 1.342 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.139, allocations: 301.1 kB / 1.342 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/1.142, allocations: 1.724 MB / 1.344 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00395/1.146, allocations: 2.644 MB / 1.346 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006227/1.152, allocations: 3.845 MB / 1.35 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/1.152, allocations: 4 kB / 1.35 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01021/1.162, allocations: 5.144 MB / 1.355 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/1.162, allocations: 8 kB / 1.355 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/1.162, allocations: 16 kB / 1.355 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471/3.633, allocations: 339 MB / 1.686 GB, free: 42.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/3.636, allocations: 0.624 MB / 1.687 GB, free: 41.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/3.641, allocations: 5.466 MB / 1.692 GB, free: 36.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/3.645, allocations: 370.8 kB / 1.692 GB, free: 36.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/3.646, allocations: 141.5 kB / 1.693 GB, free: 35.95 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004161/3.65, allocations: 2.786 MB / 1.695 GB, free: 34.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002936/3.653, allocations: 2.589 MB / 1.698 GB, free: 31.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004827/3.658, allocations: 3.744 MB / 1.701 GB, free: 29.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.927e-06/3.658, allocations: 9.031 kB / 1.701 GB, free: 29.19 MB / 0.9323 GB Notification: Performance of matching and sorting (n=364) (initialization_lambda0): time 0.008041/3.666, allocations: 4.99 MB / 1.706 GB, free: 24.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/3.666, allocations: 16.11 kB / 1.706 GB, free: 24.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/3.666, allocations: 20 kB / 1.706 GB, free: 24.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443/6.109, allocations: 339 MB / 2.037 GB, free: 36.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/6.112, allocations: 0.6076 MB / 2.038 GB, free: 36.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/6.117, allocations: 6.55 MB / 2.044 GB, free: 30.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/6.121, allocations: 387.3 kB / 2.045 GB, free: 29.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005621/6.122, allocations: 134.7 kB / 2.045 GB, free: 29.73 MB / 0.9323 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 (337): * Single equations (assignments): 324 * 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.001009/6.123, allocations: 351.2 kB / 2.045 GB, free: 29.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/6.124, allocations: 402.5 kB / 2.046 GB, free: 29.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00872/6.133, allocations: 4.626 MB / 2.05 GB, free: 26 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/6.133, allocations: 25.5 kB / 2.05 GB, free: 25.98 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/6.133, allocations: 3.938 kB / 2.05 GB, free: 25.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005746/6.139, allocations: 3.712 MB / 2.054 GB, free: 23.22 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.0139/6.153, allocations: 8.862 MB / 2.062 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/6.153, allocations: 0.75 kB / 2.062 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/6.154, allocations: 452.7 kB / 2.063 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403/7.558, allocations: 146.9 MB / 2.206 GB, free: 220.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005932/7.558, allocations: 76.06 kB / 2.206 GB, free: 220.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/7.562, allocations: 4.332 MB / 2.211 GB, free: 216.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.562, allocations: 0 / 2.211 GB, free: 216.4 MB / 0.9323 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 5.203/12.77, allocations: 0.7471 GB / 2.958 GB, free: 165.7 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.