Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 171.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008425/0.0008425, allocations: 90.36 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 12.38 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2038, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.05801/0.2618, allocations: 72.43 MB / 0.9709 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6914/0.9533, allocations: 141.8 MB / 1.109 GB, free: 26.22 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.9575, allocations: 73.28 kB / 1.109 GB, free: 26.19 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.9617, allocations: 1.008 MB / 1.11 GB, free: 25.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.9727, allocations: 2.809 MB / 1.113 GB, free: 25.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.9864, allocations: 3.305 MB / 1.116 GB, free: 25.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008408/0.9948, allocations: 3.694 MB / 1.12 GB, free: 25.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.9987, allocations: 1.961 MB / 1.122 GB, free: 25.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/1.003, allocations: 1.575 MB / 1.123 GB, free: 24.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/1.006, allocations: 1.172 MB / 1.125 GB, free: 24.4 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005335/1.007, allocations: 87.69 kB / 1.125 GB, free: 24.4 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/1.012, allocations: 1.366 MB / 1.126 GB, free: 24.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007786/1.013, allocations: 0.5314 MB / 1.127 GB, free: 23.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/1.014, allocations: 0.5445 MB / 1.127 GB, free: 23.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005503/1.02, allocations: 3.466 MB / 1.13 GB, free: 21.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/1.02, allocations: 0 / 1.13 GB, free: 21.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/1.02, allocations: 0 / 1.13 GB, free: 21.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.773e-05/1.02, allocations: 0 / 1.13 GB, free: 21.98 MB / 0.698 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.005975/1.026, allocations: 2.885 MB / 1.133 GB, free: 20.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.026, allocations: 10.31 kB / 1.133 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004368/1.026, allocations: 270.7 kB / 1.134 GB, free: 20.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/1.028, allocations: 492.7 kB / 1.134 GB, free: 19.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/1.032, allocations: 2.047 MB / 1.136 GB, free: 18.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.032, allocations: 154.6 kB / 1.136 GB, free: 18.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/1.032, allocations: 202.8 kB / 1.136 GB, free: 18.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/1.036, allocations: 2.079 MB / 1.138 GB, free: 18.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/1.036, allocations: 6.375 kB / 1.138 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.036, allocations: 88.36 kB / 1.138 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/1.036, allocations: 53.66 kB / 1.139 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/1.039, allocations: 1.995 MB / 1.14 GB, free: 17.68 MB / 0.698 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.01098/1.05, allocations: 8.376 MB / 1.149 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/1.052, allocations: 1.318 MB / 1.15 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004671/1.057, allocations: 3.193 MB / 1.153 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/1.058, allocations: 0.7406 MB / 1.154 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006904/1.059, allocations: 147 kB / 1.154 GB, free: 10.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 3.176e-06/1.059, allocations: 4 kB / 1.154 GB, free: 10.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.004355/1.064, allocations: 1.915 MB / 1.156 GB, free: 10 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/1.064, allocations: 279.1 kB / 1.156 GB, free: 9.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/1.066, allocations: 1.962 MB / 1.158 GB, free: 9.137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.066, allocations: 56.2 kB / 1.158 GB, free: 9.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/1.067, allocations: 1.113 MB / 1.159 GB, free: 8.609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/1.068, allocations: 435.9 kB / 1.16 GB, free: 8.301 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/1.068, allocations: 28.59 kB / 1.16 GB, free: 8.301 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.068, allocations: 364.5 kB / 1.16 GB, free: 7.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.069, allocations: 0.5056 MB / 1.16 GB, free: 7.898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.07, allocations: 0.9546 MB / 1.161 GB, free: 7.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.071, allocations: 0.6413 MB / 1.162 GB, free: 7.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.071, allocations: 2.875 kB / 1.162 GB, free: 7.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003513/1.075, allocations: 1.763 MB / 1.164 GB, free: 6.766 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/1.076, allocations: 4.066 MB / 1.168 GB, free: 2.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.076, allocations: 9.906 kB / 1.168 GB, free: 2.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/1.076, allocations: 100.5 kB / 1.168 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.078, allocations: 362.5 kB / 1.168 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/1.079, allocations: 1.565 MB / 1.17 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.082, allocations: 162.8 kB / 1.17 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.082, allocations: 72.84 kB / 1.17 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-06/1.082, allocations: 2.812 kB / 1.17 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00272/1.085, allocations: 1.492 MB / 1.171 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.085, allocations: 16.03 kB / 1.171 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/1.085, allocations: 95.03 kB / 1.171 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.086, allocations: 353.4 kB / 1.172 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/1.088, allocations: 1.549 MB / 1.173 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.09, allocations: 146.2 kB / 1.173 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.09, allocations: 73.72 kB / 1.174 GB, free: 13.77 MB / 0.7136 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.001412/1.092, allocations: 0.6151 MB / 1.174 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/1.092, allocations: 229.2 kB / 1.174 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/1.096, allocations: 1.799 MB / 1.176 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/1.096, allocations: 12 kB / 1.176 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.096, allocations: 3.938 kB / 1.176 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002729/1.099, allocations: 1.497 MB / 1.178 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007218/1.106, allocations: 3.746 MB / 1.181 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.106, allocations: 0 / 1.181 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.107, allocations: 280.6 kB / 1.181 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/1.108, allocations: 93.28 kB / 1.182 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/1.108, allocations: 39.84 kB / 1.182 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/1.11, allocations: 1.553 MB / 1.183 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.11, allocations: 0 / 1.183 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/1.115, allocations: 2.454 MB / 1.186 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.116, allocations: 0.5087 MB / 1.186 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/1.116, allocations: 47.23 kB / 1.186 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.118, allocations: 155.9 kB / 1.186 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.118, allocations: 107.1 kB / 1.186 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.118, allocations: 56.89 kB / 1.186 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002021/1.12, allocations: 1.324 MB / 1.188 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.12, allocations: 3.938 kB / 1.188 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003697/1.124, allocations: 1.339 MB / 1.189 GB, free: 1.352 MB / 0.7136 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.007227/1.131, allocations: 4.174 MB / 1.193 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004676/1.136, allocations: 2.425 MB / 1.195 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.136, allocations: 7.938 kB / 1.195 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/1.138, allocations: 0.822 MB / 1.196 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005456/1.143, allocations: 1.042 MB / 1.197 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/1.159, allocations: 13.73 MB / 1.211 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.161, allocations: 1.707 MB / 1.212 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003267/1.164, allocations: 0.7127 MB / 1.213 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.165, allocations: 1.061 MB / 1.214 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/1.165, allocations: 0 / 1.214 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.277, allocations: 66.07 MB / 1.279 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.277, allocations: 292.3 kB / 1.279 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.384/5.661, allocations: 0 / 1.279 GB, free: 8.625 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb_fmu --startTime=1.5552e+07 --stopTime=1.5984e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)