Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 308.1 MB, free: 4.328 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.001247/0.001247, allocations: 176.5 kB / 376.9 MB, free: 1.824 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.419/1.419, allocations: 205 MB / 0.6353 GB, free: 9.805 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.001052/0.001052, allocations: 101.7 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 51.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2591, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.7072/0.9663, allocations: 232.4 MB / 1.209 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.04297/1.009, allocations: 27.44 MB / 1.236 GB, free: 14.34 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005053/1.014, allocations: 87.31 kB / 1.236 GB, free: 14.31 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.005082/1.02, allocations: 1.22 MB / 1.237 GB, free: 13.65 MB / 0.823 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.01294/1.033, allocations: 3.633 MB / 1.241 GB, free: 11.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01315/1.046, allocations: 3.703 MB / 1.244 GB, free: 9.648 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01661/1.062, allocations: 8.587 MB / 1.253 GB, free: 6.316 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006173/1.069, allocations: 2.647 MB / 1.255 GB, free: 5.113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007006/1.076, allocations: 2.178 MB / 1.258 GB, free: 4.191 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005613/1.081, allocations: 2.041 MB / 1.26 GB, free: 3.266 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001479/1.083, allocations: 162.6 kB / 1.26 GB, free: 3.266 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.094, allocations: 3.18 MB / 1.263 GB, free: 2.211 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001901/1.096, allocations: 0.7799 MB / 1.264 GB, free: 1.828 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004223/1.1, allocations: 1.612 MB / 1.265 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01746/1.117, allocations: 5.972 MB / 1.271 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.117, allocations: 4 kB / 1.271 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.117, allocations: 0 / 1.271 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001747/1.118, allocations: 0 / 1.271 GB, free: 14.64 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.009724/1.127, allocations: 4.072 MB / 1.275 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.127, allocations: 11.97 kB / 1.275 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/1.13, allocations: 0.5929 MB / 1.276 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004628/1.135, allocations: 2.555 MB / 1.278 GB, free: 7.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/1.135, allocations: 172.5 kB / 1.278 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/1.135, allocations: 224 kB / 1.278 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/1.139, allocations: 2.46 MB / 1.281 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/1.139, allocations: 4 kB / 1.281 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/1.14, allocations: 96.48 kB / 1.281 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/1.14, allocations: 59.94 kB / 1.281 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/1.144, allocations: 2.354 MB / 1.283 GB, free: 2.098 MB / 0.8386 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.01409/1.158, allocations: 9.397 MB / 1.292 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/1.161, allocations: 1.776 MB / 1.294 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.163, allocations: 0.796 MB / 1.295 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00819/1.171, allocations: 5.74 MB / 1.301 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/1.173, allocations: 0.9504 MB / 1.301 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008299/1.174, allocations: 154.4 kB / 1.302 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 8.115e-06/1.174, allocations: 4 kB / 1.302 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157): time 0.009383/1.183, allocations: 2.919 MB / 1.304 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.183, allocations: 278.3 kB / 1.305 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/1.188, allocations: 2.35 MB / 1.307 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002116/1.188, allocations: 61.69 kB / 1.307 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.189, allocations: 1.306 MB / 1.308 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006506/1.19, allocations: 0.5276 MB / 1.309 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/1.191, allocations: 415.1 kB / 1.309 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.191, allocations: 313 kB / 1.31 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/1.193, allocations: 0.727 MB / 1.31 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/1.196, allocations: 1.294 MB / 1.312 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/1.2, allocations: 1.879 MB / 1.313 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/1.2, allocations: 4 kB / 1.313 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.005842/1.205, allocations: 2.453 MB / 1.316 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.206, allocations: 8 kB / 1.316 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.206, allocations: 12 kB / 1.316 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487/2.693, allocations: 146.2 MB / 1.459 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/2.695, allocations: 429.3 kB / 1.459 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/2.698, allocations: 2.805 MB / 1.462 GB, free: 268 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/2.701, allocations: 176.8 kB / 1.462 GB, free: 268 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/2.701, allocations: 96.8 kB / 1.462 GB, free: 268 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002437/2.703, allocations: 1.191 MB / 1.463 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001792/2.705, allocations: 1.253 MB / 1.464 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003089/2.708, allocations: 1.816 MB / 1.466 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.096e-05/2.708, allocations: 7.781 kB / 1.466 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.0056/2.714, allocations: 2.37 MB / 1.468 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/2.714, allocations: 13.34 kB / 1.469 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/2.714, allocations: 12.72 kB / 1.469 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06/3.774, allocations: 146.2 MB / 1.611 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/3.776, allocations: 416.6 kB / 1.612 GB, free: 126 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/3.779, allocations: 2.806 MB / 1.614 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/3.781, allocations: 191.5 kB / 1.615 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/3.782, allocations: 95.09 kB / 1.615 GB, free: 123 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 11 (conFan.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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 231 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005088/3.782, allocations: 306.7 kB / 1.615 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/3.783, allocations: 273 kB / 1.615 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/3.787, allocations: 2.298 MB / 1.618 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/3.787, allocations: 20.69 kB / 1.618 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/3.787, allocations: 0.625 kB / 1.618 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/3.791, allocations: 1.921 MB / 1.619 GB, free: 119.4 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.006911/3.798, allocations: 4.587 MB / 1.624 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/3.798, allocations: 3.938 kB / 1.624 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/3.799, allocations: 308.2 kB / 1.624 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5196/4.318, allocations: 73.22 MB / 1.696 GB, free: 41.14 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003698/4.319, allocations: 47.97 kB / 1.696 GB, free: 41.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/4.321, allocations: 2.279 MB / 1.698 GB, free: 38.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/4.321, allocations: 0 / 1.698 GB, free: 38.68 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 2.711/7.032, allocations: 350.7 MB / 2.04 GB, free: 52.75 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.