Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008905, allocations: 100.2 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.0009345/0.0009345, allocations: 177.3 kB / 15.94 MB, free: 220 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.272/1.272, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005305/0.0005306, allocations: 22.8 kB / 0.6736 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.06303/0.2926, allocations: 72.43 MB / 0.8578 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5386/0.8312, allocations: 141.9 MB / 0.9964 GB, free: 17.67 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.8339, allocations: 74.12 kB / 0.9965 GB, free: 17.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.8371, allocations: 1 MB / 0.9974 GB, free: 17.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008558/0.8457, allocations: 2.805 MB / 1 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008826/0.8546, allocations: 3.383 MB / 1.003 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009033/0.8636, allocations: 3.689 MB / 1.007 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/0.8675, allocations: 1.975 MB / 1.009 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.8709, allocations: 1.589 MB / 1.011 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.8733, allocations: 1.162 MB / 1.012 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.8736, allocations: 87.94 kB / 1.012 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/0.8782, allocations: 1.368 MB / 1.013 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.8788, allocations: 0.5258 MB / 1.014 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000941/0.8798, allocations: 0.5489 MB / 1.014 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.8848, allocations: 3.491 MB / 1.018 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8848, allocations: 0 / 1.018 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8848, allocations: 0 / 1.018 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001169/0.8849, allocations: 0 / 1.018 GB, free: 3.684 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.005645/0.8906, allocations: 2.885 MB / 1.02 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.8906, allocations: 9.938 kB / 1.02 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.893, allocations: 495.9 kB / 1.021 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.8973, allocations: 2.051 MB / 1.023 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.8975, allocations: 154.7 kB / 1.023 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.8978, allocations: 199 kB / 1.023 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/0.9017, allocations: 2.1 MB / 1.025 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.9017, allocations: 5.891 kB / 1.025 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.9019, allocations: 80 kB / 1.025 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.902, allocations: 63.91 kB / 1.025 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.9054, allocations: 1.989 MB / 1.027 GB, free: 11.92 MB / 0.7325 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.01236/0.9178, allocations: 8.392 MB / 1.036 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.9201, allocations: 1.324 MB / 1.037 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005327/0.9255, allocations: 3.205 MB / 1.04 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.9268, allocations: 0.7511 MB / 1.041 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000702/0.9275, allocations: 150.5 kB / 1.041 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=127): time 3.537e-06/0.9275, allocations: 0 / 1.041 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127): time 0.00459/0.9321, allocations: 1.912 MB / 1.043 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.9323, allocations: 278.3 kB / 1.043 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.9352, allocations: 1.959 MB / 1.045 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.9354, allocations: 57.7 kB / 1.045 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.9366, allocations: 1.113 MB / 1.046 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.937, allocations: 441.7 kB / 1.046 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.9371, allocations: 28 kB / 1.046 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.9373, allocations: 365.9 kB / 1.047 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.9385, allocations: 0.5036 MB / 1.047 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.9399, allocations: 0.9549 MB / 1.048 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.9413, allocations: 0.6426 MB / 1.049 GB, free: 5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.9413, allocations: 4 kB / 1.049 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003663/0.9449, allocations: 1.757 MB / 1.051 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001743/0.9467, allocations: 4.073 MB / 1.055 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.9467, allocations: 8 kB / 1.055 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.9473, allocations: 100.8 kB / 1.055 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.9487, allocations: 363.4 kB / 1.055 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.9507, allocations: 1.547 MB / 1.057 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.9527, allocations: 160.4 kB / 1.057 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.9528, allocations: 72.3 kB / 1.057 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.9528, allocations: 7.953 kB / 1.057 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002885/0.9557, allocations: 1.488 MB / 1.058 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.9558, allocations: 12.09 kB / 1.058 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.9563, allocations: 96.77 kB / 1.058 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.9575, allocations: 359.4 kB / 1.059 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.9593, allocations: 1.551 MB / 1.06 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.9611, allocations: 140.5 kB / 1.06 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.9613, allocations: 71.97 kB / 1.06 GB, free: 8.492 MB / 0.7637 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.00119/0.9625, allocations: 0.6176 MB / 1.061 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.9628, allocations: 225.2 kB / 1.061 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.9666, allocations: 1.809 MB / 1.063 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.9666, allocations: 16 kB / 1.063 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9666, allocations: 3.953 kB / 1.063 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002715/0.9694, allocations: 1.502 MB / 1.064 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/0.9763, allocations: 3.75 MB / 1.068 GB, free: 404 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.9763, allocations: 4 kB / 1.068 GB, free: 400 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.9775, allocations: 271.7 kB / 1.068 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.978, allocations: 88.77 kB / 1.068 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.9781, allocations: 44.05 kB / 1.069 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.98, allocations: 1.559 MB / 1.07 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.98, allocations: 11.95 kB / 1.07 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.9847, allocations: 2.446 MB / 1.072 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.9862, allocations: 0.5138 MB / 1.073 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.9865, allocations: 36.14 kB / 1.073 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.9879, allocations: 166.9 kB / 1.073 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.9881, allocations: 109.1 kB / 1.073 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.9882, allocations: 63.95 kB / 1.073 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001956/0.9902, allocations: 1.321 MB / 1.075 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9902, allocations: 4 kB / 1.075 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00377/0.994, allocations: 1.337 MB / 1.076 GB, free: 8.195 MB / 0.7794 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.002188/0.9962, allocations: 1.025 MB / 1.077 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004598/1.001, allocations: 2.432 MB / 1.079 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.001, allocations: 0 / 1.079 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.002, allocations: 0.8158 MB / 1.08 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/1.007, allocations: 1.045 MB / 1.081 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/1.016, allocations: 5.313 MB / 1.086 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.017, allocations: 1.703 MB / 1.088 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00294/1.02, allocations: 0.7213 MB / 1.089 GB, free: 11.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/1.021, allocations: 231.3 kB / 1.089 GB, free: 11.04 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/1.021, allocations: 0 / 1.089 GB, free: 11.04 MB / 0.795 GB Notification: Performance of Templates: time 0.07042/1.091, allocations: 46.21 MB / 1.134 GB, free: 13.39 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) Environment - environmentSimulation: