Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|onOffCon.reference|onOffCon.u",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|onOffCon.reference|onOffCon.u",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 179.3 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 103.8 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004982, allocations: 6.875 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3706, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.333, allocations: 2.247 GB / 3.47 GB, free: 234.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/6.334, allocations: 124.2 kB / 3.47 GB, free: 234.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.79/11.12, allocations: 1.213 GB / 4.683 GB, free: 174.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.256e-06/11.12, allocations: 0 / 4.683 GB, free: 174.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001198/11.13, allocations: 110.3 kB / 4.684 GB, free: 174.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 734 * Number of variables: 734 Notification: Performance of Generate backend data structure: time 0.02677/11.15, allocations: 5.32 MB / 4.689 GB, free: 172.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/11.15, allocations: 10.16 kB / 4.689 GB, free: 172.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00947/11.16, allocations: 1.117 MB / 4.69 GB, free: 172.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02307/11.18, allocations: 5.429 MB / 4.695 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/11.19, allocations: 233.1 kB / 4.695 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/11.19, allocations: 294 kB / 4.696 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/11.2, allocations: 4.014 MB / 4.7 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/11.2, allocations: 5.938 kB / 4.7 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000611/11.2, allocations: 121.7 kB / 4.7 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/11.2, allocations: 121.7 kB / 4.7 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/11.21, allocations: 4.281 MB / 4.704 GB, free: 171.2 MB / 1.167 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.02858/11.24, allocations: 15.56 MB / 4.719 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005492/11.25, allocations: 3.039 MB / 4.722 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/11.26, allocations: 8.22 MB / 4.73 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003009/11.27, allocations: 1.89 MB / 4.732 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002728/11.27, allocations: 488.9 kB / 4.732 GB, free: 162.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=219): time 1.098e-05/11.27, allocations: 0 / 4.732 GB, free: 162.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=219): time 0.02052/11.29, allocations: 7.975 MB / 4.74 GB, free: 161.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/11.29, allocations: 286.3 kB / 4.741 GB, free: 161.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007218/11.3, allocations: 3.911 MB / 4.744 GB, free: 161 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009726/11.3, allocations: 77.7 kB / 4.744 GB, free: 160.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/11.3, allocations: 1.822 MB / 4.746 GB, free: 160.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/11.3, allocations: 0.7402 MB / 4.747 GB, free: 159.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/11.3, allocations: 53.39 kB / 4.747 GB, free: 159.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001594/11.3, allocations: 412.4 kB / 4.747 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/11.3, allocations: 1.558 MB / 4.749 GB, free: 159.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/11.31, allocations: 2.488 MB / 4.751 GB, free: 158.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/11.31, allocations: 1.8 MB / 4.753 GB, free: 158.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/11.31, allocations: 6.094 kB / 4.753 GB, free: 158.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01193/11.32, allocations: 5.313 MB / 4.758 GB, free: 158.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001397/11.33, allocations: 5.688 MB / 4.764 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/11.33, allocations: 16.12 kB / 4.764 GB, free: 152.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.702/15.03, allocations: 0.5981 GB / 5.362 GB, free: 72.63 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/15.03, allocations: 0.5703 MB / 5.362 GB, free: 72.11 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/15.04, allocations: 5.53 MB / 5.368 GB, free: 66.84 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005532/15.04, allocations: 383.9 kB / 5.368 GB, free: 66.53 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/15.04, allocations: 133.9 kB / 5.368 GB, free: 66.42 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/15.04, allocations: 4 kB / 5.368 GB, free: 66.41 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01305/15.06, allocations: 4.874 MB / 5.373 GB, free: 62.81 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/15.06, allocations: 12 kB / 5.373 GB, free: 62.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.45/19.51, allocations: 0.5981 GB / 5.971 GB, free: 284.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/19.51, allocations: 0.5596 MB / 5.972 GB, free: 284.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/19.51, allocations: 6.615 MB / 5.978 GB, free: 280.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/19.52, allocations: 360.6 kB / 5.979 GB, free: 280.1 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005891/19.52, allocations: 135.9 kB / 5.979 GB, free: 280.1 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (304): * Single equations (assignments): 297 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.003175/19.52, allocations: 1.277 MB / 5.98 GB, free: 279.9 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/19.52, allocations: 393.6 kB / 5.98 GB, free: 279.9 MB / 1.276 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 261 equation(s) and 259 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/19.53, allocations: 2.447 MB / 5.983 GB, free: 279.8 MB / 1.276 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.