Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 292.3 MB / 308.1 MB, free: 4.242 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.001238/0.001238, allocations: 194.3 kB / 376.9 MB, free: 1.766 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.374/1.374, allocations: 205.1 MB / 0.6354 GB, free: 9.766 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.001073/0.001073, allocations: 98.2 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 55.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2242, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.6979/0.9221, allocations: 266.3 MB / 1.242 GB, free: 9.121 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.05873/0.9809, allocations: 36.98 MB / 1.278 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009369/0.9903, allocations: 143.8 kB / 1.279 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.007019/0.9974, allocations: 1.767 MB / 1.28 GB, free: 14.2 MB / 0.8542 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.02259/1.02, allocations: 5.019 MB / 1.285 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01932/1.039, allocations: 5.219 MB / 1.29 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02181/1.061, allocations: 15.62 MB / 1.306 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009964/1.071, allocations: 5.1 MB / 1.311 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009672/1.081, allocations: 4.006 MB / 1.314 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007337/1.088, allocations: 3.725 MB / 1.318 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001426/1.09, allocations: 292 kB / 1.318 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/1.1, allocations: 3.798 MB / 1.322 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001891/1.102, allocations: 1.327 MB / 1.323 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004903/1.107, allocations: 2.949 MB / 1.326 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01661/1.124, allocations: 11.84 MB / 1.338 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.124, allocations: 4 kB / 1.338 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.184e-06/1.124, allocations: 0 / 1.338 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002786/1.124, allocations: 0 / 1.338 GB, free: 10.45 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.01883/1.143, allocations: 7.103 MB / 1.345 GB, free: 3.246 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.143, allocations: 8.031 kB / 1.345 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/1.148, allocations: 1.234 MB / 1.346 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/1.159, allocations: 5.513 MB / 1.351 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/1.159, allocations: 291.5 kB / 1.352 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007783/1.16, allocations: 379.9 kB / 1.352 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00875/1.169, allocations: 5.035 MB / 1.357 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/1.169, allocations: 7.938 kB / 1.357 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/1.169, allocations: 148 kB / 1.357 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/1.169, allocations: 91.94 kB / 1.357 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0085/1.178, allocations: 5.155 MB / 1.362 GB, free: 1.156 MB / 0.9167 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.4695/1.647, allocations: 19.85 MB / 1.382 GB, free: 269.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006839/1.654, allocations: 4.395 MB / 1.386 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003272/1.657, allocations: 1.978 MB / 1.388 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/1.673, allocations: 9.522 MB / 1.397 GB, free: 264.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004161/1.677, allocations: 2.241 MB / 1.399 GB, free: 264 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002521/1.679, allocations: 0.5216 MB / 1.4 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=266): time 6.913e-06/1.679, allocations: 0.7031 kB / 1.4 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=266): time 0.02127/1.701, allocations: 9.034 MB / 1.409 GB, free: 261.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/1.701, allocations: 0.5425 MB / 1.409 GB, free: 260.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006185/1.707, allocations: 4.884 MB / 1.414 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/1.708, allocations: 96.48 kB / 1.414 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.709, allocations: 2.262 MB / 1.416 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006556/1.71, allocations: 0.9104 MB / 1.417 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.711, allocations: 0.753 MB / 1.418 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/1.711, allocations: 306.1 kB / 1.418 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.714, allocations: 2.047 MB / 1.42 GB, free: 255.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003799/1.718, allocations: 3.161 MB / 1.423 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006312/1.724, allocations: 4.554 MB / 1.428 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.724, allocations: 6.25 kB / 1.428 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.0105/1.735, allocations: 6.065 MB / 1.434 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.735, allocations: 12.25 kB / 1.434 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/1.735, allocations: 23.16 kB / 1.434 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347/4.082, allocations: 339.2 MB / 1.765 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/4.085, allocations: 0.7355 MB / 1.766 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/4.091, allocations: 5.636 MB / 1.771 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/4.096, allocations: 431.1 kB / 1.771 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/4.096, allocations: 166.2 kB / 1.772 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005584/4.102, allocations: 3.328 MB / 1.775 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003789/4.106, allocations: 3.085 MB / 1.778 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0061/4.112, allocations: 4.404 MB / 1.782 GB, free: 265.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.217e-05/4.112, allocations: 10.41 kB / 1.782 GB, free: 265.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=428) (initialization_lambda0): time 0.01033/4.122, allocations: 5.869 MB / 1.788 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/4.122, allocations: 9.594 kB / 1.788 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/4.122, allocations: 23.2 kB / 1.788 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31/6.432, allocations: 339.1 MB / 2.119 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/6.436, allocations: 0.7138 MB / 2.12 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/6.442, allocations: 6.863 MB / 2.126 GB, free: 265.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/6.447, allocations: 445.2 kB / 2.127 GB, free: 265.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/6.447, allocations: 162.8 kB / 2.127 GB, free: 265.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 14 (tow.cooTowSpeCon.con1.y,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,tow.hys.y,$PRE.tow.hys.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 381 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 4 * 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), (3,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001031/6.448, allocations: 389.8 kB / 2.127 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/6.449, allocations: 479.6 kB / 2.128 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/6.459, allocations: 5.444 MB / 2.133 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/6.459, allocations: 30.48 kB / 2.133 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/6.459, allocations: 2.391 kB / 2.133 GB, free: 265.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007405/6.467, allocations: 4.333 MB / 2.137 GB, free: 264.5 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.01641/6.483, allocations: 10.14 MB / 2.147 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/6.483, allocations: 3.969 kB / 2.147 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/6.485, allocations: 0.5166 MB / 2.148 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026/7.511, allocations: 147 MB / 2.291 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007687/7.512, allocations: 92.45 kB / 2.292 GB, free: 137.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004379/7.517, allocations: 4.479 MB / 2.296 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/7.517, allocations: 32 / 2.296 GB, free: 132.8 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.416/12.93, allocations: 0.7698 GB / 3.066 GB, free: 80.66 MB / 0.948 GB Error: post-optimization module symbolicJacobian (simulation) failed.