Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.3 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001484, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 97.47 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 12.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.06737/0.3351, allocations: 72.44 MB / 1.05 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6734/1.009, allocations: 141.8 MB / 1.189 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003752/1.012, allocations: 74.5 kB / 1.189 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004035/1.016, allocations: 1 MB / 1.19 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00974/1.026, allocations: 2.813 MB / 1.192 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01011/1.036, allocations: 3.368 MB / 1.196 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007696/1.044, allocations: 3.693 MB / 1.199 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004316/1.048, allocations: 1.967 MB / 1.201 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/1.052, allocations: 1.588 MB / 1.203 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/1.055, allocations: 1.162 MB / 1.204 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005981/1.056, allocations: 88 kB / 1.204 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/1.059, allocations: 1.373 MB / 1.205 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006208/1.06, allocations: 0.5253 MB / 1.206 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.061, allocations: 0.5548 MB / 1.206 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007336/1.068, allocations: 3.489 MB / 1.21 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.068, allocations: 0 / 1.21 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.328e-06/1.068, allocations: 0 / 1.21 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001633/1.069, allocations: 0 / 1.21 GB, free: 5.375 MB / 0.7292 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.006942/1.076, allocations: 2.888 MB / 1.213 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.076, allocations: 8.031 kB / 1.213 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/1.078, allocations: 0.4939 MB / 1.213 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/1.082, allocations: 2.049 MB / 1.215 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/1.083, allocations: 153.7 kB / 1.215 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/1.083, allocations: 200 kB / 1.216 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/1.087, allocations: 2.099 MB / 1.218 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/1.087, allocations: 4 kB / 1.218 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/1.087, allocations: 84 kB / 1.218 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/1.087, allocations: 55.92 kB / 1.218 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/1.091, allocations: 1.991 MB / 1.22 GB, free: 11.12 MB / 0.7448 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.0125/1.103, allocations: 8.389 MB / 1.228 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.106, allocations: 1.32 MB / 1.229 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005334/1.111, allocations: 3.205 MB / 1.232 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/1.112, allocations: 0.7472 MB / 1.233 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007097/1.113, allocations: 142.5 kB / 1.233 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 5.25e-06/1.113, allocations: 7.938 kB / 1.233 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.004634/1.118, allocations: 1.916 MB / 1.235 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.118, allocations: 274.3 kB / 1.235 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/1.121, allocations: 1.96 MB / 1.237 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002066/1.121, allocations: 53.7 kB / 1.237 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.122, allocations: 1.121 MB / 1.238 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/1.122, allocations: 433.8 kB / 1.239 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/1.122, allocations: 32 kB / 1.239 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.123, allocations: 361.9 kB / 1.239 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/1.124, allocations: 0.5114 MB / 1.24 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.125, allocations: 0.9444 MB / 1.241 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.126, allocations: 0.6426 MB / 1.241 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.126, allocations: 4 kB / 1.241 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003783/1.13, allocations: 1.768 MB / 1.243 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001606/1.132, allocations: 4.061 MB / 1.247 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.132, allocations: 12 kB / 1.247 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/1.132, allocations: 96.77 kB / 1.247 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.134, allocations: 367.4 kB / 1.247 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.136, allocations: 1.548 MB / 1.249 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/1.138, allocations: 160.4 kB / 1.249 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.138, allocations: 75.92 kB / 1.249 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.138, allocations: 7.938 kB / 1.249 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003066/1.141, allocations: 1.488 MB / 1.251 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/1.141, allocations: 20.02 kB / 1.251 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/1.142, allocations: 92.78 kB / 1.251 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.143, allocations: 355.4 kB / 1.251 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/1.145, allocations: 1.543 MB / 1.252 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.147, allocations: 145.5 kB / 1.253 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.147, allocations: 71.97 kB / 1.253 GB, free: 7.715 MB / 0.7761 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.001238/1.149, allocations: 0.6201 MB / 1.253 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/1.149, allocations: 229.2 kB / 1.254 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/1.153, allocations: 1.798 MB / 1.255 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/1.153, allocations: 16 kB / 1.255 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.153, allocations: 3.953 kB / 1.255 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00274/1.156, allocations: 1.506 MB / 1.257 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007403/1.163, allocations: 3.746 MB / 1.26 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.163, allocations: 0 / 1.26 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.164, allocations: 287.7 kB / 1.261 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005654/1.165, allocations: 88.77 kB / 1.261 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.165, allocations: 47.92 kB / 1.261 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.167, allocations: 1.552 MB / 1.262 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.167, allocations: 4.031 kB / 1.262 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/1.172, allocations: 2.45 MB / 1.265 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.173, allocations: 0.5173 MB / 1.265 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/1.174, allocations: 35.95 kB / 1.265 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.176, allocations: 163.6 kB / 1.265 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.176, allocations: 105.2 kB / 1.266 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.176, allocations: 63.95 kB / 1.266 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002499/1.179, allocations: 1.321 MB / 1.267 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.71e-07/1.179, allocations: 0 / 1.267 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004144/1.183, allocations: 1.34 MB / 1.268 GB, free: 7.41 MB / 0.7917 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.002473/1.185, allocations: 1.025 MB / 1.269 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005047/1.19, allocations: 2.432 MB / 1.272 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.19, allocations: 0 / 1.272 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/1.192, allocations: 0.8158 MB / 1.272 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005511/1.197, allocations: 1.047 MB / 1.273 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.209, allocations: 5.314 MB / 1.279 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/1.211, allocations: 1.719 MB / 1.28 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003758/1.215, allocations: 0.7021 MB / 1.281 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008731/1.216, allocations: 235.3 kB / 1.281 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of SimCode: time 9.11e-07/1.216, allocations: 0 / 1.281 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.08244/1.299, allocations: 46.21 MB / 1.326 GB, free: 12.33 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)