Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.001043/0.001043, allocations: 174.2 kB / 371.8 MB, free: 10.26 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.482/1.482, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001052/0.001052, allocations: 90.7 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.000432, allocations: 15.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.06416/0.2795, allocations: 72.42 MB / 1.05 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6828/0.9623, allocations: 141.9 MB / 1.189 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.9656, allocations: 73.22 kB / 1.189 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.9695, allocations: 0.9994 MB / 1.19 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009545/0.9791, allocations: 2.807 MB / 1.193 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.9898, allocations: 3.377 MB / 1.196 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007678/0.9975, allocations: 3.693 MB / 1.199 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/1.002, allocations: 1.974 MB / 1.201 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/1.006, allocations: 1.58 MB / 1.203 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/1.009, allocations: 1.167 MB / 1.204 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007607/1.01, allocations: 95.98 kB / 1.204 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/1.015, allocations: 1.373 MB / 1.205 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001108/1.016, allocations: 0.5331 MB / 1.206 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/1.017, allocations: 0.5471 MB / 1.207 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006817/1.024, allocations: 3.483 MB / 1.21 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.024, allocations: 0 / 1.21 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/1.024, allocations: 0 / 1.21 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002019/1.024, allocations: 0 / 1.21 GB, free: 5.316 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.007979/1.032, allocations: 2.884 MB / 1.213 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.032, allocations: 12.02 kB / 1.213 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008067/1.033, allocations: 270.2 kB / 1.213 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/1.036, allocations: 493.8 kB / 1.213 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005031/1.041, allocations: 2.06 MB / 1.216 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/1.041, allocations: 149.7 kB / 1.216 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/1.042, allocations: 200 kB / 1.216 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/1.046, allocations: 2.096 MB / 1.218 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/1.046, allocations: 7.938 kB / 1.218 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/1.047, allocations: 76 kB / 1.218 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/1.047, allocations: 58.06 kB / 1.218 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/1.051, allocations: 1.997 MB / 1.22 GB, free: 10.79 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.01529/1.066, allocations: 8.411 MB / 1.228 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/1.069, allocations: 1.313 MB / 1.229 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007616/1.077, allocations: 3.204 MB / 1.233 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/1.079, allocations: 0.7394 MB / 1.233 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001084/1.08, allocations: 150.5 kB / 1.233 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 6.863e-06/1.08, allocations: 0 / 1.233 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.00568/1.086, allocations: 1.924 MB / 1.235 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/1.086, allocations: 270.3 kB / 1.236 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.09, allocations: 1.963 MB / 1.238 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/1.09, allocations: 61.69 kB / 1.238 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.091, allocations: 1.113 MB / 1.239 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/1.092, allocations: 429.8 kB / 1.239 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.092, allocations: 32 kB / 1.239 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.092, allocations: 365.9 kB / 1.239 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/1.094, allocations: 0.5036 MB / 1.24 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.095, allocations: 0.9602 MB / 1.241 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.097, allocations: 0.6348 MB / 1.241 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.097, allocations: 4 kB / 1.242 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004379/1.101, allocations: 1.76 MB / 1.243 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001799/1.103, allocations: 4.07 MB / 1.247 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/1.103, allocations: 8 kB / 1.247 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/1.104, allocations: 100.8 kB / 1.247 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.105, allocations: 363.5 kB / 1.248 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/1.108, allocations: 1.557 MB / 1.249 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.11, allocations: 160.4 kB / 1.249 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/1.11, allocations: 75.91 kB / 1.249 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.11, allocations: 4 kB / 1.249 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003492/1.114, allocations: 1.484 MB / 1.251 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/1.114, allocations: 11.98 kB / 1.251 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/1.114, allocations: 97.47 kB / 1.251 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.115, allocations: 355.5 kB / 1.251 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.118, allocations: 1.548 MB / 1.253 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.12, allocations: 144.5 kB / 1.253 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.12, allocations: 75.95 kB / 1.253 GB, free: 7.375 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.001706/1.122, allocations: 0.6163 MB / 1.254 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000718/1.122, allocations: 229.2 kB / 1.254 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/1.127, allocations: 1.798 MB / 1.256 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/1.127, allocations: 19.95 kB / 1.256 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.127, allocations: 0 / 1.256 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003131/1.131, allocations: 1.506 MB / 1.257 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008482/1.139, allocations: 3.754 MB / 1.261 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/1.139, allocations: 4 kB / 1.261 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.14, allocations: 267.6 kB / 1.261 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/1.141, allocations: 92.83 kB / 1.261 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.141, allocations: 47.92 kB / 1.261 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.143, allocations: 1.559 MB / 1.263 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.143, allocations: 4.031 kB / 1.263 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/1.148, allocations: 2.453 MB / 1.265 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.15, allocations: 0.5096 MB / 1.266 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006256/1.15, allocations: 31.95 kB / 1.266 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.152, allocations: 170.7 kB / 1.266 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.153, allocations: 109.1 kB / 1.266 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.153, allocations: 59.95 kB / 1.266 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002791/1.156, allocations: 1.321 MB / 1.267 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.156, allocations: 0 / 1.267 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005039/1.161, allocations: 1.337 MB / 1.269 GB, free: 7.078 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.008335/1.169, allocations: 4.178 MB / 1.273 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00553/1.175, allocations: 2.429 MB / 1.275 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.175, allocations: 8.062 kB / 1.275 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/1.176, allocations: 0.8222 MB / 1.276 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006379/1.183, allocations: 1.041 MB / 1.277 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.201, allocations: 13.73 MB / 1.29 GB, free: 428 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.203, allocations: 1.708 MB / 1.292 GB, free: 14.68 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003723/1.207, allocations: 0.7207 MB / 1.293 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.209, allocations: 1.054 MB / 1.294 GB, free: 12.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.753e-06/1.209, allocations: 0 / 1.294 GB, free: 12.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/1.331, allocations: 66.25 MB / 1.358 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.331, allocations: 294.9 kB / 1.359 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.299/5.63, allocations: 0 / 1.359 GB, free: 10.87 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb_fmu --startTime=1.5552e+07 --stopTime=1.5984e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)