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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.844/1.844, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001283/0.001283, allocations: 178.4 kB / 371.8 MB, free: 10.28 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.501/1.501, allocations: 205.4 MB / 0.6305 GB, free: 9.918 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.0009649/0.000965, allocations: 94.86 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 19.8 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.07369/0.2879, allocations: 72.43 MB / 1.05 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.6552/0.9431, allocations: 141.9 MB / 1.189 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003585/0.9468, allocations: 73.75 kB / 1.189 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.95, allocations: 0.9939 MB / 1.19 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.9585, allocations: 2.817 MB / 1.193 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009837/0.9684, allocations: 3.363 MB / 1.196 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00701/0.9754, allocations: 3.697 MB / 1.199 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004114/0.9795, allocations: 1.982 MB / 1.201 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.9831, allocations: 1.58 MB / 1.203 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.9855, allocations: 1.166 MB / 1.204 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.9862, allocations: 84 kB / 1.204 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.9904, allocations: 1.377 MB / 1.205 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.9914, allocations: 0.5331 MB / 1.206 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.9927, allocations: 0.5432 MB / 1.207 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005974/0.9987, allocations: 3.48 MB / 1.21 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9987, allocations: 3.938 kB / 1.21 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9987, allocations: 0 / 1.21 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001705/0.9989, allocations: 0 / 1.21 GB, free: 5.379 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.007638/1.007, allocations: 2.89 MB / 1.213 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.007, allocations: 12.03 kB / 1.213 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007075/1.007, allocations: 274.2 kB / 1.213 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/1.01, allocations: 0.49 MB / 1.213 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/1.015, allocations: 2.057 MB / 1.216 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/1.015, allocations: 145.7 kB / 1.216 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/1.015, allocations: 199.9 kB / 1.216 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/1.019, allocations: 2.103 MB / 1.218 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/1.019, allocations: 4 kB / 1.218 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/1.019, allocations: 83.98 kB / 1.218 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/1.019, allocations: 54.06 kB / 1.218 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/1.023, allocations: 1.997 MB / 1.22 GB, free: 10.84 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.01183/1.035, allocations: 8.394 MB / 1.228 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.037, allocations: 1.314 MB / 1.229 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005406/1.043, allocations: 3.208 MB / 1.233 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/1.044, allocations: 0.7433 MB / 1.233 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007356/1.045, allocations: 146.5 kB / 1.233 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 3.096e-06/1.045, allocations: 0 / 1.233 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.004643/1.049, allocations: 1.924 MB / 1.235 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.05, allocations: 270.3 kB / 1.236 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.052, allocations: 1.963 MB / 1.238 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.053, allocations: 53.7 kB / 1.238 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.054, allocations: 1.117 MB / 1.239 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/1.054, allocations: 433.8 kB / 1.239 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/1.054, allocations: 32 kB / 1.239 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.054, allocations: 365.9 kB / 1.239 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.055, allocations: 0.4997 MB / 1.24 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/1.057, allocations: 0.9625 MB / 1.241 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.058, allocations: 0.6388 MB / 1.241 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.058, allocations: 4 kB / 1.242 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003778/1.062, allocations: 1.76 MB / 1.243 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.00231/1.064, allocations: 4.066 MB / 1.247 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.492e-05/1.064, allocations: 12 kB / 1.247 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006956/1.065, allocations: 92.78 kB / 1.247 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.067, allocations: 371.5 kB / 1.248 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.069, allocations: 1.544 MB / 1.249 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.072, allocations: 168.2 kB / 1.249 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.072, allocations: 75.95 kB / 1.249 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.072, allocations: 5.25 kB / 1.249 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003004/1.075, allocations: 1.484 MB / 1.251 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.075, allocations: 16 kB / 1.251 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/1.075, allocations: 101.4 kB / 1.251 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.077, allocations: 347.5 kB / 1.251 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/1.078, allocations: 1.551 MB / 1.253 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/1.08, allocations: 148.5 kB / 1.253 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.08, allocations: 67.97 kB / 1.253 GB, free: 7.426 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.001168/1.082, allocations: 0.6199 MB / 1.254 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.082, allocations: 225.2 kB / 1.254 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/1.086, allocations: 1.798 MB / 1.256 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/1.086, allocations: 19.95 kB / 1.256 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.086, allocations: 0 / 1.256 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002702/1.088, allocations: 1.506 MB / 1.257 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/1.095, allocations: 3.762 MB / 1.261 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.095, allocations: 0 / 1.261 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.096, allocations: 267.7 kB / 1.261 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/1.097, allocations: 88.89 kB / 1.261 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.602e-05/1.097, allocations: 51.86 kB / 1.261 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/1.099, allocations: 1.556 MB / 1.263 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.099, allocations: 0 / 1.263 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004733/1.104, allocations: 2.454 MB / 1.265 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.105, allocations: 0.5057 MB / 1.266 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/1.105, allocations: 31.95 kB / 1.266 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.106, allocations: 160.5 kB / 1.266 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.107, allocations: 117 kB / 1.266 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.107, allocations: 59.95 kB / 1.266 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001925/1.109, allocations: 1.325 MB / 1.267 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.01e-07/1.109, allocations: 0 / 1.267 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003344/1.112, allocations: 1.34 MB / 1.268 GB, free: 7.129 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.006833/1.119, allocations: 4.172 MB / 1.273 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004591/1.124, allocations: 2.429 MB / 1.275 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.124, allocations: 320 / 1.275 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.125, allocations: 0.83 MB / 1.276 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/1.13, allocations: 1.05 MB / 1.277 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.143, allocations: 13.73 MB / 1.29 GB, free: 480 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.144, allocations: 1.704 MB / 1.292 GB, free: 14.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003092/1.147, allocations: 0.7177 MB / 1.293 GB, free: 14.01 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.149, allocations: 1.054 MB / 1.294 GB, free: 12.96 MB / 0.823 GB Notification: Performance of SimCode: time 1.864e-06/1.149, allocations: 4 kB / 1.294 GB, free: 12.95 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/1.303, allocations: 66.24 MB / 1.358 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.303, allocations: 302.6 kB / 1.359 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/5.521, allocations: 0 / 1.359 GB, free: 10.93 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb_fmu --startTime=1.5552e+07 --stopTime=1.5984e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)