Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 199.4 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 112.1 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 58.05 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2571, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.7771/1.034, allocations: 235.5 MB / 1.448 GB, free: 33.9 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03646/1.071, allocations: 25.26 MB / 1.473 GB, free: 33.4 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005152/1.076, allocations: 95.38 kB / 1.473 GB, free: 33.4 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.004778/1.081, allocations: 1.195 MB / 1.474 GB, free: 33.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/1.093, allocations: 3.771 MB / 1.478 GB, free: 33.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.009007/1.102, allocations: 2.796 MB / 1.48 GB, free: 33.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01226/1.115, allocations: 8.85 MB / 1.489 GB, free: 33.05 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007261/1.122, allocations: 2.701 MB / 1.492 GB, free: 32.64 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/1.129, allocations: 2.27 MB / 1.494 GB, free: 32.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/1.133, allocations: 2.099 MB / 1.496 GB, free: 32.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001621/1.135, allocations: 166.7 kB / 1.496 GB, free: 32.05 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009739/1.145, allocations: 3.185 MB / 1.499 GB, free: 32 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002311/1.147, allocations: 0.7905 MB / 1.5 GB, free: 31.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005942/1.153, allocations: 1.651 MB / 1.502 GB, free: 30.71 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.168, allocations: 6.011 MB / 1.508 GB, free: 28.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.168, allocations: 4 kB / 1.508 GB, free: 28.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/1.168, allocations: 0 / 1.508 GB, free: 28.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002648/1.168, allocations: 0 / 1.508 GB, free: 28.79 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01224/1.181, allocations: 4.128 MB / 1.512 GB, free: 26.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.181, allocations: 12.61 kB / 1.512 GB, free: 26.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/1.185, allocations: 0.6889 MB / 1.512 GB, free: 26.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/1.192, allocations: 2.626 MB / 1.515 GB, free: 24.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/1.192, allocations: 175.6 kB / 1.515 GB, free: 24.57 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009305/1.193, allocations: 235.4 kB / 1.515 GB, free: 24.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/1.2, allocations: 2.521 MB / 1.518 GB, free: 22.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-05/1.2, allocations: 5 kB / 1.518 GB, free: 22.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004598/1.2, allocations: 93.91 kB / 1.518 GB, free: 22.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-05/1.2, allocations: 85.03 kB / 1.518 GB, free: 22.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005421/1.206, allocations: 2.447 MB / 1.52 GB, free: 21.64 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.01662/1.223, allocations: 9.722 MB / 1.53 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/1.227, allocations: 1.864 MB / 1.532 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/1.228, allocations: 0.8438 MB / 1.532 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009314/1.238, allocations: 6.146 MB / 1.538 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/1.24, allocations: 0.9968 MB / 1.539 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001646/1.242, allocations: 159.7 kB / 1.54 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=163): time 9.818e-06/1.242, allocations: 0 / 1.54 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=163): time 0.009895/1.252, allocations: 3.049 MB / 1.542 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/1.252, allocations: 226.9 kB / 1.543 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/1.256, allocations: 2.379 MB / 1.545 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000411/1.256, allocations: 61.7 kB / 1.545 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.258, allocations: 1.323 MB / 1.546 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008417/1.259, allocations: 0.5516 MB / 1.547 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/1.26, allocations: 419.1 kB / 1.547 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.26, allocations: 305.1 kB / 1.548 GB, free: 14 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/1.262, allocations: 0.7504 MB / 1.548 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.265, allocations: 1.293 MB / 1.55 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/1.269, allocations: 1.941 MB / 1.551 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/1.269, allocations: 4 kB / 1.552 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.006678/1.276, allocations: 2.499 MB / 1.554 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/1.276, allocations: 8 kB / 1.554 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.276, allocations: 12 kB / 1.554 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092/2.368, allocations: 146.2 MB / 1.697 GB, free: 4.801 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/2.37, allocations: 455.7 kB / 1.697 GB, free: 4.383 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/2.373, allocations: 2.801 MB / 1.7 GB, free: 1.406 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/2.376, allocations: 200.3 kB / 1.7 GB, free: 1.211 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/2.377, allocations: 95.95 kB / 1.7 GB, free: 1.117 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002691/2.379, allocations: 1.216 MB / 1.701 GB, free: 15.9 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001985/2.381, allocations: 1.261 MB / 1.703 GB, free: 14.47 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003274/2.385, allocations: 1.868 MB / 1.704 GB, free: 12.5 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/2.385, allocations: 0 / 1.704 GB, free: 12.5 MB / 1.089 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.005456/2.39, allocations: 2.42 MB / 1.707 GB, free: 10.13 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/2.39, allocations: 12 kB / 1.707 GB, free: 10.12 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/2.39, allocations: 15.94 kB / 1.707 GB, free: 10.1 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082/3.472, allocations: 146.2 MB / 1.85 GB, free: 7.652 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/3.474, allocations: 448 kB / 1.85 GB, free: 7.242 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/3.477, allocations: 2.801 MB / 1.853 GB, free: 4.273 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/3.48, allocations: 190.8 kB / 1.853 GB, free: 4.09 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/3.48, allocations: 95.95 kB / 1.853 GB, free: 3.996 MB / 1.229 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 (242): * Single equations (assignments): 238 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0005352/3.48, allocations: 313.5 kB / 1.853 GB, free: 3.711 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/3.481, allocations: 280.5 kB / 1.854 GB, free: 3.434 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005711/3.487, allocations: 2.455 MB / 1.856 GB, free: 0.9688 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/3.487, allocations: 19.94 kB / 1.856 GB, free: 0.9492 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/3.487, allocations: 0 / 1.856 GB, free: 0.9492 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004037/3.491, allocations: 2.028 MB / 1.858 GB, free: 14.86 MB / 1.245 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.008748/3.5, allocations: 4.798 MB / 1.863 GB, free: 10.02 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/3.5, allocations: 15.91 kB / 1.863 GB, free: 10 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/3.501, allocations: 329.6 kB / 1.863 GB, free: 9.695 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046/4.547, allocations: 73.22 MB / 1.935 GB, free: 0.5095 GB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/4.548, allocations: 53.16 kB / 1.935 GB, free: 0.5094 GB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/4.55, allocations: 2.269 MB / 1.937 GB, free: 0.5073 GB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/4.55, allocations: 4.031 kB / 1.937 GB, free: 0.5073 GB / 1.26 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.284/6.835, allocations: 350.8 MB / 2.279 GB, free: 168.6 MB / 1.26 GB Error: post-optimization module symbolicJacobian (simulation) failed.