Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb",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.411/1.411, allocations: 251.9 MB / 266.9 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.001124/0.001124, allocations: 179.7 kB / 326.5 MB, free: 2.227 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.689/1.689, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008935/0.0008935, allocations: 83.88 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.000418, allocations: 12.72 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.05778/0.2713, allocations: 72.42 MB / 0.9709 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6904/0.9617, allocations: 141.8 MB / 1.109 GB, free: 26.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.966, allocations: 71.09 kB / 1.109 GB, free: 26.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.9704, allocations: 1.001 MB / 1.11 GB, free: 26.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.9815, allocations: 2.815 MB / 1.113 GB, free: 25.94 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01367/0.9952, allocations: 3.299 MB / 1.116 GB, free: 25.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008475/1.004, allocations: 3.692 MB / 1.12 GB, free: 25.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003778/1.008, allocations: 1.968 MB / 1.122 GB, free: 25.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/1.012, allocations: 1.578 MB / 1.123 GB, free: 25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/1.015, allocations: 1.17 MB / 1.125 GB, free: 24.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005953/1.016, allocations: 87.03 kB / 1.125 GB, free: 24.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005254/1.021, allocations: 1.36 MB / 1.126 GB, free: 24.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008063/1.022, allocations: 0.5312 MB / 1.127 GB, free: 24.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.023, allocations: 0.5461 MB / 1.127 GB, free: 23.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/1.029, allocations: 3.458 MB / 1.13 GB, free: 22.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.029, allocations: 0 / 1.13 GB, free: 22.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.556e-06/1.029, allocations: 0.875 kB / 1.13 GB, free: 22.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.751e-05/1.029, allocations: 0 / 1.13 GB, free: 22.09 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.005997/1.035, allocations: 2.887 MB / 1.133 GB, free: 20.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.035, allocations: 7.531 kB / 1.133 GB, free: 20.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004428/1.035, allocations: 279.8 kB / 1.134 GB, free: 20.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/1.037, allocations: 495.3 kB / 1.134 GB, free: 19.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/1.041, allocations: 2.038 MB / 1.136 GB, free: 18.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.041, allocations: 152.2 kB / 1.136 GB, free: 18.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/1.041, allocations: 203.7 kB / 1.136 GB, free: 18.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/1.045, allocations: 2.09 MB / 1.138 GB, free: 18.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/1.045, allocations: 9.844 kB / 1.138 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/1.045, allocations: 84.16 kB / 1.139 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/1.045, allocations: 46.88 kB / 1.139 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/1.048, allocations: 1.992 MB / 1.14 GB, free: 17.8 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.01097/1.059, allocations: 8.38 MB / 1.149 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/1.061, allocations: 1.317 MB / 1.15 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004665/1.066, allocations: 3.199 MB / 1.153 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/1.067, allocations: 0.734 MB / 1.154 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007181/1.068, allocations: 148.4 kB / 1.154 GB, free: 10.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 2.875e-06/1.068, allocations: 4 kB / 1.154 GB, free: 10.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.004299/1.072, allocations: 1.916 MB / 1.156 GB, free: 10.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.072, allocations: 278.2 kB / 1.156 GB, free: 9.797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/1.075, allocations: 1.959 MB / 1.158 GB, free: 9.254 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/1.075, allocations: 53.02 kB / 1.158 GB, free: 9.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/1.076, allocations: 1.121 MB / 1.159 GB, free: 8.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/1.076, allocations: 433.5 kB / 1.16 GB, free: 8.414 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/1.076, allocations: 32.97 kB / 1.16 GB, free: 8.414 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.077, allocations: 365.4 kB / 1.16 GB, free: 8.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/1.078, allocations: 0.5026 MB / 1.16 GB, free: 8.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.079, allocations: 0.9582 MB / 1.161 GB, free: 7.406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.08, allocations: 0.64 MB / 1.162 GB, free: 7.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.08, allocations: 2.531 kB / 1.162 GB, free: 7.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003485/1.083, allocations: 1.76 MB / 1.164 GB, free: 6.879 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009245/1.084, allocations: 4.067 MB / 1.168 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/1.084, allocations: 11.86 kB / 1.168 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/1.085, allocations: 96.69 kB / 1.168 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.086, allocations: 368.1 kB / 1.168 GB, free: 2.379 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.088, allocations: 1.542 MB / 1.17 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.09, allocations: 163 kB / 1.17 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.091, allocations: 76.53 kB / 1.17 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/1.091, allocations: 2.719 kB / 1.17 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002714/1.093, allocations: 1.495 MB / 1.171 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.093, allocations: 13.97 kB / 1.171 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/1.094, allocations: 101.6 kB / 1.171 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.095, allocations: 350.5 kB / 1.172 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/1.097, allocations: 1.542 MB / 1.173 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.099, allocations: 147.1 kB / 1.173 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.099, allocations: 72.09 kB / 1.173 GB, free: 13.92 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.001441/1.101, allocations: 0.6154 MB / 1.174 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/1.101, allocations: 225.2 kB / 1.174 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/1.105, allocations: 1.812 MB / 1.176 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.105, allocations: 18.81 kB / 1.176 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.105, allocations: 0 / 1.176 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002729/1.108, allocations: 1.499 MB / 1.178 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/1.115, allocations: 3.738 MB / 1.181 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.115, allocations: 4 kB / 1.181 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.116, allocations: 280.5 kB / 1.181 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/1.117, allocations: 91.84 kB / 1.182 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.865e-05/1.117, allocations: 42.97 kB / 1.182 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.119, allocations: 1.546 MB / 1.183 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.119, allocations: 7.969 kB / 1.183 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/1.124, allocations: 2.458 MB / 1.186 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.125, allocations: 0.5091 MB / 1.186 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.125, allocations: 36.48 kB / 1.186 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.127, allocations: 159 kB / 1.186 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.127, allocations: 103.8 kB / 1.186 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.127, allocations: 64.7 kB / 1.186 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002025/1.129, allocations: 1.319 MB / 1.188 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.129, allocations: 8 kB / 1.188 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003673/1.133, allocations: 1.336 MB / 1.189 GB, free: 1.484 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.007322/1.14, allocations: 4.173 MB / 1.193 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004744/1.145, allocations: 2.421 MB / 1.195 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.145, allocations: 4 kB / 1.195 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/1.146, allocations: 0.8259 MB / 1.196 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/1.152, allocations: 1.044 MB / 1.197 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.168, allocations: 13.72 MB / 1.211 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.169, allocations: 1.71 MB / 1.212 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003315/1.173, allocations: 0.7176 MB / 1.213 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.174, allocations: 1.057 MB / 1.214 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/1.174, allocations: 0 / 1.214 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.284, allocations: 66.05 MB / 1.279 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.284, allocations: 290.7 kB / 1.279 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.557/5.842, allocations: 0 / 1.279 GB, free: 8.781 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb_fmu --startTime=1.5552e+07 --stopTime=1.5984e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)