Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006201/0.0006203, allocations: 13.03 kB / 0.6736 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2888, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel): time 0.8343/1.123, allocations: 189.8 MB / 0.9725 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03823/1.161, allocations: 25.38 MB / 0.9972 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006462/1.168, allocations: 91.06 kB / 0.9973 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006633/1.175, allocations: 1.254 MB / 0.9986 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01729/1.192, allocations: 3.923 MB / 1.002 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01487/1.207, allocations: 3.943 MB / 1.006 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01469/1.222, allocations: 5.973 MB / 1.012 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007069/1.229, allocations: 3.471 MB / 1.015 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008924/1.238, allocations: 2.585 MB / 1.018 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00639/1.244, allocations: 2.067 MB / 1.02 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001849/1.246, allocations: 163.8 kB / 1.02 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/1.257, allocations: 2.551 MB / 1.023 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002978/1.26, allocations: 0.9158 MB / 1.024 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003255/1.264, allocations: 0.9421 MB / 1.024 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.278, allocations: 7.093 MB / 1.031 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.278, allocations: 0 / 1.031 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.166e-06/1.278, allocations: 0 / 1.031 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003636/1.278, allocations: 0 / 1.031 GB, free: 0.8555 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.01571/1.294, allocations: 5.011 MB / 1.036 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.294, allocations: 8.031 kB / 1.036 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006073/1.3, allocations: 1.167 MB / 1.037 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.312, allocations: 4.44 MB / 1.042 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/1.312, allocations: 243.2 kB / 1.042 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/1.313, allocations: 315.9 kB / 1.042 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008703/1.322, allocations: 4.126 MB / 1.046 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/1.322, allocations: 7.938 kB / 1.046 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/1.323, allocations: 132 kB / 1.046 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/1.323, allocations: 76 kB / 1.047 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008851/1.332, allocations: 4.245 MB / 1.051 GB, free: 13.53 MB / 0.7637 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.03291/1.365, allocations: 15.63 MB / 1.066 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/1.37, allocations: 2.924 MB / 1.069 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/1.388, allocations: 8.147 MB / 1.077 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00398/1.392, allocations: 1.844 MB / 1.079 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003026/1.395, allocations: 433.4 kB / 1.079 GB, free: 15.27 MB / 0.795 GB Notification: Performance of pre-optimization done (n=223): time 1.875e-05/1.396, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=223): time 0.02564/1.421, allocations: 7.905 MB / 1.087 GB, free: 7.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000317/1.422, allocations: 467 kB / 1.087 GB, free: 6.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/1.434, allocations: 4.648 MB / 1.092 GB, free: 2.031 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001186/1.435, allocations: 81.7 kB / 1.092 GB, free: 1.945 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00336/1.439, allocations: 1.865 MB / 1.094 GB, free: 68 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.44, allocations: 0.7586 MB / 1.094 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007926/1.441, allocations: 56 kB / 1.094 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0004127/1.442, allocations: 419.7 kB / 1.095 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004805/1.446, allocations: 1.617 MB / 1.096 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006198/1.453, allocations: 2.569 MB / 1.099 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/1.458, allocations: 1.875 MB / 1.101 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/1.458, allocations: 4 kB / 1.101 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01432/1.472, allocations: 4.99 MB / 1.106 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.002827/1.475, allocations: 5.828 MB / 1.111 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-05/1.475, allocations: 12 kB / 1.111 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818/4.293, allocations: 410.1 MB / 1.512 GB, free: 169.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/4.297, allocations: 0.6279 MB / 1.512 GB, free: 169.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008376/4.306, allocations: 5.512 MB / 1.518 GB, free: 163.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00785/4.313, allocations: 408 kB / 1.518 GB, free: 163.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/4.315, allocations: 140.9 kB / 1.518 GB, free: 163.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/4.315, allocations: 7.953 kB / 1.518 GB, free: 163.4 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/4.327, allocations: 4.477 MB / 1.523 GB, free: 160.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.635e-05/4.327, allocations: 16 kB / 1.523 GB, free: 160.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724/7.051, allocations: 410.1 MB / 1.923 GB, free: 144.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/7.054, allocations: 0.6056 MB / 1.924 GB, free: 143.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/7.06, allocations: 6.694 MB / 1.93 GB, free: 137.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/7.064, allocations: 383.8 kB / 1.931 GB, free: 137.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/7.064, allocations: 135.1 kB / 1.931 GB, free: 137.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$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 (328): * Single equations (assignments): 315 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 6,1 6,1 1,1 1,1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002444/7.066, allocations: 1.354 MB / 1.932 GB, free: 136.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007539/7.067, allocations: 407.1 kB / 1.933 GB, free: 136 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008342/7.076, allocations: 4.568 MB / 1.937 GB, free: 132.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/7.076, allocations: 28 kB / 1.937 GB, free: 132 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/7.076, allocations: 0 / 1.937 GB, free: 132 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006058/7.082, allocations: 3.632 MB / 1.941 GB, free: 128.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/7.098, allocations: 8.844 MB / 1.949 GB, free: 119.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/7.098, allocations: 4.062 kB / 1.949 GB, free: 119.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/7.1, allocations: 459.4 kB / 1.95 GB, free: 119 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632/8.731, allocations: 194.3 MB / 2.139 GB, free: 321.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008375/8.732, allocations: 78.25 kB / 2.139 GB, free: 321.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/8.737, allocations: 4.379 MB / 2.144 GB, free: 317 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/8.737, allocations: 0 / 2.144 GB, free: 317 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/8.75, allocations: 6.258 MB / 2.15 GB, free: 311.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/8.753, allocations: 0.9808 MB / 2.151 GB, free: 311 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/8.754, allocations: 52 kB / 2.151 GB, free: 311 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/8.757, allocations: 347.1 kB / 2.151 GB, free: 310.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/8.758, allocations: 169.5 kB / 2.151 GB, free: 310.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003204/8.758, allocations: 107.9 kB / 2.151 GB, free: 310.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005438/8.764, allocations: 3.271 MB / 2.155 GB, free: 307.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/8.764, allocations: 0 / 2.155 GB, free: 307.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.009191/8.773, allocations: 2.307 MB / 2.157 GB, free: 305 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (tow.cooTow[1].vol.dynBal.U,tow.cooTow[2].vol.dynBal.U,tow.val[1].filter.x[1],tow.val[1].filter.x[2],tow.val[2].filter.x[1],tow.val[2].filter.x[2],tow.senTem.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 6,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003822/8.777, allocations: 1.372 MB / 2.158 GB, free: 304.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01282/8.79, allocations: 6.467 MB / 2.165 GB, free: 297.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/8.79, allocations: 448 / 2.165 GB, free: 297.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003853/8.794, allocations: 1.9 MB / 2.166 GB, free: 295.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/8.804, allocations: 1.945 MB / 2.168 GB, free: 293.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/8.826, allocations: 10.89 MB / 2.179 GB, free: 282.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/8.828, allocations: 3.03 MB / 2.182 GB, free: 279.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005648/8.834, allocations: 1.561 MB / 2.183 GB, free: 278.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/8.835, allocations: 379.2 kB / 2.184 GB, free: 277.8 MB / 0.9825 GB Notification: Performance of SimCode: time 1.092e-06/8.835, allocations: 0 / 2.184 GB, free: 277.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.124/8.959, allocations: 95.07 MB / 2.277 GB, free: 183.7 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.sim & ./Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Subsystems.Examples.CoolingTowersParallel.pipe 2>&1) Environment - environmentSimulation: