Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") [/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.1866/0.1873, allocations: 82.22 MB / 0.5934 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.06949/0.2568, allocations: 71.3 MB / 0.663 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5837/0.8406, allocations: 141.1 MB / 0.8007 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.8443, allocations: 75.5 kB / 0.8008 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003599/0.848, allocations: 0.9795 MB / 0.8018 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.857, allocations: 2.636 MB / 0.8043 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009043/0.866, allocations: 3.035 MB / 0.8073 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007043/0.8731, allocations: 3.314 MB / 0.8105 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/0.8764, allocations: 1.772 MB / 0.8123 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.8798, allocations: 1.502 MB / 0.8137 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.8816, allocations: 1.108 MB / 0.8148 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.8818, allocations: 84 kB / 0.8149 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.8856, allocations: 1.467 MB / 0.8163 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.8862, allocations: 474.1 kB / 0.8168 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.8869, allocations: 0.5042 MB / 0.8173 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00464/0.8916, allocations: 3.282 MB / 0.8205 GB, free: 88 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8916, allocations: 4 kB / 0.8205 GB, free: 84 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8916, allocations: 0 / 0.8205 GB, free: 84 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.135e-05/0.8917, allocations: 0 / 0.8205 GB, free: 84 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.00635/0.898, allocations: 2.772 MB / 0.8232 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.8981, allocations: 12.03 kB / 0.8232 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/0.9018, allocations: 0.6929 MB / 0.8239 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.9064, allocations: 1.859 MB / 0.8257 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.9069, allocations: 207.5 kB / 0.8259 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/0.9072, allocations: 176 kB / 0.8261 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00438/0.9116, allocations: 2.114 MB / 0.8281 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.9117, allocations: 0 / 0.8281 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.9119, allocations: 78.06 kB / 0.8282 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.912, allocations: 44 kB / 0.8283 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.9165, allocations: 2.136 MB / 0.8303 GB, free: 5.777 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.01347/0.93, allocations: 8.715 MB / 0.8388 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/0.9335, allocations: 1.424 MB / 0.8402 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004477/0.938, allocations: 2.761 MB / 0.8429 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/0.9399, allocations: 0.8535 MB / 0.8438 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005884/0.9405, allocations: 138.5 kB / 0.8439 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=117): time 2.725e-06/0.9406, allocations: 0 / 0.8439 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119): time 0.01046/0.951, allocations: 4.15 MB / 0.848 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.9512, allocations: 179.2 kB / 0.8481 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.9537, allocations: 1.758 MB / 0.8498 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.9538, allocations: 53.7 kB / 0.8499 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/0.9547, allocations: 1.01 MB / 0.8509 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.955, allocations: 406.1 kB / 0.8513 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.9551, allocations: 28 kB / 0.8513 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9553, allocations: 353.9 kB / 0.8516 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.9568, allocations: 0.6435 MB / 0.8523 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.9586, allocations: 1.003 MB / 0.8532 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.9604, allocations: 0.7733 MB / 0.854 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9604, allocations: 11.94 kB / 0.854 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005011/0.9654, allocations: 2.032 MB / 0.856 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001514/0.9669, allocations: 3.335 MB / 0.8592 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.967, allocations: 8 kB / 0.8593 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.9677, allocations: 137.6 kB / 0.8594 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.9692, allocations: 351.4 kB / 0.8597 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.9714, allocations: 2.037 MB / 0.8617 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.9741, allocations: 191.8 kB / 0.8619 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.9743, allocations: 83.94 kB / 0.862 GB, free: 4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.9743, allocations: 4 kB / 0.862 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004304/0.9786, allocations: 1.877 MB / 0.8638 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.9787, allocations: 11.98 kB / 0.8638 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/0.9794, allocations: 141.7 kB / 0.864 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.9807, allocations: 331.5 kB / 0.8643 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.9827, allocations: 2.032 MB / 0.8663 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.9849, allocations: 175.8 kB / 0.8664 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.9851, allocations: 84.08 kB / 0.8665 GB, free: 15.17 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (161): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001364/0.9865, allocations: 0.5553 MB / 0.867 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/0.9869, allocations: 209.4 kB / 0.8672 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/0.9917, allocations: 1.993 MB / 0.8692 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.9917, allocations: 19.94 kB / 0.8692 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9917, allocations: 0 / 0.8692 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003474/0.9952, allocations: 1.473 MB / 0.8706 GB, free: 10.89 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.00739/1.003, allocations: 3.749 MB / 0.8743 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.003, allocations: 4 kB / 0.8743 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.004, allocations: 291.8 kB / 0.8746 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/1.005, allocations: 174.4 kB / 0.8748 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.014e-05/1.005, allocations: 43.97 kB / 0.8748 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.007, allocations: 2.613 MB / 0.8774 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.007, allocations: 4.031 kB / 0.8774 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/1.013, allocations: 2.702 MB / 0.88 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.014, allocations: 490 kB / 0.8805 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/1.015, allocations: 28 kB / 0.8805 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.016, allocations: 183.7 kB / 0.8807 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.016, allocations: 101.1 kB / 0.8808 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.016, allocations: 59.95 kB / 0.8808 GB, free: 68 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001918/1.018, allocations: 1.191 MB / 0.882 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/1.018, allocations: 0 / 0.882 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003382/1.022, allocations: 1.074 MB / 0.883 GB, free: 13.78 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 (132): * 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: 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 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002283/1.024, allocations: 1.03 MB / 0.884 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006496/1.03, allocations: 3.302 MB / 0.8873 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.03, allocations: 0 / 0.8873 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/1.033, allocations: 0.901 MB / 0.8881 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/1.037, allocations: 0.9516 MB / 0.8891 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009519/1.047, allocations: 4.878 MB / 0.8938 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.048, allocations: 1.621 MB / 0.8954 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002782/1.051, allocations: 0.6282 MB / 0.896 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/1.051, allocations: 199.3 kB / 0.8962 GB, free: 448 kB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/1.051, allocations: 4 kB / 0.8962 GB, free: 444 kB / 0.6387 GB Notification: Performance of Templates: time 0.06894/1.12, allocations: 44.72 MB / 0.9399 GB, free: 4.102 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) Environment - environmentSimulation: