Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1851/0.1858, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.07555/0.2614, allocations: 71.38 MB / 0.6631 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5764/0.8379, allocations: 142.6 MB / 0.8023 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00432/0.8422, allocations: 75.5 kB / 0.8024 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004527/0.8468, allocations: 0.9756 MB / 0.8033 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009086/0.8559, allocations: 2.656 MB / 0.8059 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009306/0.8652, allocations: 3.043 MB / 0.8089 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006775/0.872, allocations: 3.36 MB / 0.8122 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.8751, allocations: 1.783 MB / 0.8139 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.8791, allocations: 1.51 MB / 0.8154 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.8818, allocations: 1.124 MB / 0.8165 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.8821, allocations: 84 kB / 0.8166 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.8864, allocations: 1.482 MB / 0.818 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006793/0.8871, allocations: 478.1 kB / 0.8185 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.8882, allocations: 0.5042 MB / 0.8189 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.8945, allocations: 3.305 MB / 0.8222 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8946, allocations: 0 / 0.8222 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8946, allocations: 0 / 0.8222 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001143/0.8947, allocations: 0 / 0.8222 GB, free: 14.4 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.006473/0.9012, allocations: 2.8 MB / 0.8249 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.9012, allocations: 8.031 kB / 0.8249 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.9054, allocations: 0.7209 MB / 0.8256 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.9091, allocations: 1.864 MB / 0.8274 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004064/0.9096, allocations: 203.5 kB / 0.8276 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.9098, allocations: 184 kB / 0.8278 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/0.914, allocations: 2.157 MB / 0.8299 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.914, allocations: 7.922 kB / 0.8299 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.9142, allocations: 80 kB / 0.83 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.9142, allocations: 48 kB / 0.83 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/0.9187, allocations: 2.164 MB / 0.8322 GB, free: 3.945 MB / 0.5762 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.01311/0.9318, allocations: 9.015 MB / 0.841 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.9354, allocations: 1.531 MB / 0.8425 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005097/0.9406, allocations: 2.799 MB / 0.8452 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.9426, allocations: 0.8575 MB / 0.846 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006102/0.9432, allocations: 142.6 kB / 0.8462 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 2.514e-06/0.9432, allocations: 0 / 0.8462 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01174/0.9549, allocations: 4.359 MB / 0.8504 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.9551, allocations: 167.2 kB / 0.8506 GB, free: 300 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.9579, allocations: 1.774 MB / 0.8523 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.9581, allocations: 57.64 kB / 0.8524 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.9591, allocations: 1.018 MB / 0.8534 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.9595, allocations: 410.1 kB / 0.8538 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.9596, allocations: 28 kB / 0.8538 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003431/0.96, allocations: 365.9 kB / 0.8541 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.9616, allocations: 0.648 MB / 0.8548 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.9635, allocations: 1.023 MB / 0.8558 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.9652, allocations: 0.7849 MB / 0.8565 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9652, allocations: 4 kB / 0.8565 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.005121/0.9704, allocations: 2.119 MB / 0.8586 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.9718, allocations: 3.522 MB / 0.862 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.9718, allocations: 8 kB / 0.862 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.9729, allocations: 206.4 kB / 0.8622 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.9744, allocations: 363.5 kB / 0.8626 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.9779, allocations: 3.433 MB / 0.8659 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.9801, allocations: 195.8 kB / 0.8661 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.9802, allocations: 87.89 kB / 0.8662 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.9803, allocations: 4 kB / 0.8662 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004337/0.9846, allocations: 1.955 MB / 0.8681 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.9846, allocations: 8.812 kB / 0.8681 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.9857, allocations: 210.3 kB / 0.8683 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.987, allocations: 347.4 kB / 0.8687 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.9902, allocations: 3.424 MB / 0.872 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.9922, allocations: 179.9 kB / 0.8722 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.9924, allocations: 79.95 kB / 0.8723 GB, free: 8.934 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.9936, allocations: 0.5708 MB / 0.8728 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.9939, allocations: 213.4 kB / 0.873 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004987/0.9989, allocations: 2.049 MB / 0.875 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.9989, allocations: 16 kB / 0.875 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9989, allocations: 8 kB / 0.875 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003776/1.003, allocations: 1.548 MB / 0.8766 GB, free: 4.488 MB / 0.6231 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.00813/1.011, allocations: 3.857 MB / 0.8803 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.011, allocations: 0 / 0.8803 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.012, allocations: 299.8 kB / 0.8806 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.013, allocations: 239.2 kB / 0.8808 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.171e-05/1.013, allocations: 47.89 kB / 0.8809 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/1.017, allocations: 4.056 MB / 0.8848 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.017, allocations: 0 / 0.8848 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/1.023, allocations: 2.797 MB / 0.8876 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.025, allocations: 494 kB / 0.888 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/1.025, allocations: 31.94 kB / 0.8881 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.026, allocations: 175.8 kB / 0.8882 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.027, allocations: 101.2 kB / 0.8883 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.027, allocations: 59.97 kB / 0.8884 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001825/1.029, allocations: 1.199 MB / 0.8896 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/1.029, allocations: 0 / 0.8896 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0032/1.032, allocations: 1.097 MB / 0.8906 GB, free: 5.492 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart,onOffController.y) * Number of discrete states: 3 (weaDat.conTim.tStart,weaDat.conTim1.tStart,onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/1.034, allocations: 1.01 MB / 0.8916 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006662/1.04, allocations: 3.584 MB / 0.8951 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.04, allocations: 0 / 0.8951 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.042, allocations: 1.033 MB / 0.8961 GB, free: 12 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/1.047, allocations: 0.9595 MB / 0.8971 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.057, allocations: 4.965 MB / 0.9019 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.059, allocations: 1.621 MB / 0.9035 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002871/1.062, allocations: 0.6254 MB / 0.9041 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/1.062, allocations: 211.2 kB / 0.9043 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/1.062, allocations: 0 / 0.9043 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of Templates: time 0.07951/1.142, allocations: 46.19 MB / 0.9494 GB, free: 9.816 MB / 0.7012 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) Environment - environmentSimulation: