Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009961/0.0009962, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.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.000526/0.0005263, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.506, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.07313/0.5792, allocations: 72.41 MB / 0.7987 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6742/1.253, allocations: 141.9 MB / 0.9372 GB, free: 29.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/1.257, allocations: 81.25 kB / 0.9373 GB, free: 29.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004311/1.261, allocations: 1 MB / 0.9383 GB, free: 29.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/1.273, allocations: 2.803 MB / 0.941 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.284, allocations: 3.296 MB / 0.9442 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007482/1.292, allocations: 3.695 MB / 0.9479 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/1.295, allocations: 1.964 MB / 0.9498 GB, free: 29.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/1.299, allocations: 1.575 MB / 0.9513 GB, free: 29.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/1.301, allocations: 1.163 MB / 0.9524 GB, free: 29.26 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002591/1.301, allocations: 86.97 kB / 0.9525 GB, free: 29.26 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/1.305, allocations: 1.364 MB / 0.9539 GB, free: 29.26 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006099/1.305, allocations: 0.5355 MB / 0.9544 GB, free: 29.26 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008429/1.306, allocations: 0.548 MB / 0.9549 GB, free: 29.22 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005543/1.312, allocations: 3.465 MB / 0.9583 GB, free: 28.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/1.312, allocations: 0 / 0.9583 GB, free: 28.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/1.312, allocations: 0 / 0.9583 GB, free: 28.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.862e-05/1.312, allocations: 0 / 0.9583 GB, free: 28.68 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.00558/1.318, allocations: 2.883 MB / 0.9611 GB, free: 26.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.318, allocations: 10.53 kB / 0.9611 GB, free: 26.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.32, allocations: 492.3 kB / 0.9616 GB, free: 26.61 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/1.323, allocations: 2.05 MB / 0.9636 GB, free: 25.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.323, allocations: 153.1 kB / 0.9637 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/1.324, allocations: 196.3 kB / 0.9639 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/1.327, allocations: 2.095 MB / 0.966 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/1.327, allocations: 5 kB / 0.966 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/1.327, allocations: 85.05 kB / 0.9661 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/1.327, allocations: 51 kB / 0.9661 GB, free: 25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/1.331, allocations: 1.992 MB / 0.9681 GB, free: 24.58 MB / 0.7169 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.016/1.347, allocations: 8.385 MB / 0.9762 GB, free: 19.76 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.349, allocations: 1.311 MB / 0.9775 GB, free: 19.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006378/1.356, allocations: 3.196 MB / 0.9806 GB, free: 17.87 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/1.357, allocations: 0.743 MB / 0.9814 GB, free: 17.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001164/1.358, allocations: 138.3 kB / 0.9815 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=127): time 3.316e-06/1.359, allocations: 2.438 kB / 0.9815 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=127): time 0.004368/1.363, allocations: 1.916 MB / 0.9834 GB, free: 17.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.363, allocations: 275.5 kB / 0.9836 GB, free: 16.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/1.365, allocations: 1.969 MB / 0.9856 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/1.366, allocations: 57.11 kB / 0.9856 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/1.366, allocations: 1.113 MB / 0.9867 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.367, allocations: 434.3 kB / 0.9871 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/1.367, allocations: 33.66 kB / 0.9872 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/1.367, allocations: 363.8 kB / 0.9875 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000937/1.368, allocations: 0.5047 MB / 0.988 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/1.369, allocations: 0.9593 MB / 0.9889 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.37, allocations: 0.6381 MB / 0.9896 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.37, allocations: 5.484 kB / 0.9896 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003434/1.374, allocations: 1.761 MB / 0.9913 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006316/1.374, allocations: 4.066 MB / 0.9952 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/1.374, allocations: 13.19 kB / 0.9953 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/1.375, allocations: 99.7 kB / 0.9954 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.376, allocations: 364.6 kB / 0.9957 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/1.378, allocations: 1.545 MB / 0.9972 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.38, allocations: 165.2 kB / 0.9974 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.38, allocations: 77.25 kB / 0.9974 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.38, allocations: 6.844 kB / 0.9974 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002693/1.383, allocations: 1.489 MB / 0.9989 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/1.383, allocations: 14.64 kB / 0.9989 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/1.383, allocations: 96.72 kB / 0.999 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.385, allocations: 350.7 kB / 0.9993 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/1.386, allocations: 1.546 MB / 1.001 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.388, allocations: 147.7 kB / 1.001 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.388, allocations: 72.47 kB / 1.001 GB, free: 6.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001293/1.389, allocations: 0.6116 MB / 1.002 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/1.39, allocations: 230.5 kB / 1.002 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/1.394, allocations: 1.806 MB / 1.004 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.394, allocations: 19.86 kB / 1.004 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.394, allocations: 0 / 1.004 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002559/1.396, allocations: 1.503 MB / 1.005 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007249/1.404, allocations: 3.738 MB / 1.009 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.404, allocations: 0 / 1.009 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.405, allocations: 279 kB / 1.009 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/1.405, allocations: 86.59 kB / 1.009 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/1.405, allocations: 45.92 kB / 1.009 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/1.407, allocations: 1.559 MB / 1.011 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.407, allocations: 5.844 kB / 1.011 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/1.411, allocations: 2.449 MB / 1.013 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.413, allocations: 0.512 MB / 1.014 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/1.414, allocations: 33.83 kB / 1.014 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.416, allocations: 157.1 kB / 1.014 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/1.416, allocations: 108.4 kB / 1.014 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.417, allocations: 57.27 kB / 1.014 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003255/1.42, allocations: 1.329 MB / 1.015 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.71e-07/1.42, allocations: 4 kB / 1.015 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005968/1.426, allocations: 1.335 MB / 1.017 GB, free: 12.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003082/1.429, allocations: 1.021 MB / 1.018 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005569/1.434, allocations: 2.426 MB / 1.02 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.434, allocations: 0 / 1.02 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.436, allocations: 0.8227 MB / 1.021 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00573/1.442, allocations: 1.054 MB / 1.022 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.454, allocations: 5.302 MB / 1.027 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/1.456, allocations: 1.716 MB / 1.029 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003828/1.46, allocations: 0.7019 MB / 1.029 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/1.461, allocations: 231 kB / 1.029 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.461, allocations: 0 / 1.029 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of Templates: time 0.08682/1.548, allocations: 46.03 MB / 1.074 GB, free: 3.895 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) Environment - environmentSimulation: