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.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001091/0.001091, allocations: 172.9 kB / 487.4 MB, free: 5.043 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.587/1.587, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009215/0.0009215, allocations: 91.92 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.168e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3129, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.664/5.977, allocations: 2.246 GB / 3.452 GB, free: 74.72 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/5.977, allocations: 112.7 kB / 3.452 GB, free: 74.61 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.489/10.47, allocations: 1.199 GB / 4.652 GB, free: 159.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/10.47, allocations: 3.906 kB / 4.652 GB, free: 159.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009492/10.47, allocations: 110.3 kB / 4.652 GB, free: 159.3 MB / 1.151 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.01695/10.48, allocations: 4.241 MB / 4.656 GB, free: 156.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/10.48, allocations: 10 kB / 4.656 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/10.49, allocations: 1.108 MB / 4.657 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/10.51, allocations: 5.38 MB / 4.662 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/10.51, allocations: 95.28 kB / 4.662 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/10.51, allocations: 177.4 kB / 4.663 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00983/10.52, allocations: 3.648 MB / 4.666 GB, free: 151 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/10.53, allocations: 3.352 MB / 4.669 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/10.53, allocations: 6.625 kB / 4.669 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009483/10.53, allocations: 15.78 kB / 4.669 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/10.53, allocations: 108.8 kB / 4.669 GB, free: 149 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.03145/10.56, allocations: 14.98 MB / 4.684 GB, free: 137.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/10.57, allocations: 2.554 MB / 4.687 GB, free: 136.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/10.57, allocations: 1.467 MB / 4.688 GB, free: 134.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/10.59, allocations: 9.261 MB / 4.697 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002387/10.59, allocations: 1.575 MB / 4.699 GB, free: 123.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002933/10.59, allocations: 410.2 kB / 4.699 GB, free: 123.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=218): time 1.116e-05/10.59, allocations: 1.031 kB / 4.699 GB, free: 123.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=218): time 0.07812/10.67, allocations: 14.79 MB / 4.713 GB, free: 108.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/10.67, allocations: 291 kB / 4.714 GB, free: 108.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007931/10.68, allocations: 3.434 MB / 4.717 GB, free: 104.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/10.68, allocations: 33.7 kB / 4.717 GB, free: 104.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/10.68, allocations: 1.817 MB / 4.719 GB, free: 102.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/10.69, allocations: 0.7044 MB / 4.72 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005865/10.69, allocations: 0 / 4.72 GB, free: 102.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002538/10.69, allocations: 407.1 kB / 4.72 GB, free: 101.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/10.69, allocations: 1.286 MB / 4.721 GB, free: 100.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/10.69, allocations: 2.211 MB / 4.723 GB, free: 97.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1489/10.84, allocations: 33.26 MB / 4.756 GB, free: 64.58 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.374e-05/10.84, allocations: 4 kB / 4.756 GB, free: 64.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.1532/10.99, allocations: 36.25 MB / 4.791 GB, free: 28.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009236/10.99, allocations: 5.693 MB / 4.797 GB, free: 22.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/10.99, allocations: 16 kB / 4.797 GB, free: 22.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/11, allocations: 0.788 MB / 4.798 GB, free: 21.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/11, allocations: 0.5773 MB / 4.798 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/11.15, allocations: 36.77 MB / 4.834 GB, free: 15.62 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/11.16, allocations: 311.4 kB / 4.834 GB, free: 15.32 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/11.16, allocations: 131.9 kB / 4.834 GB, free: 15.19 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/11.16, allocations: 11.39 kB / 4.834 GB, free: 15.18 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.001/12.16, allocations: 35.73 MB / 4.869 GB, free: 200.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/12.16, allocations: 14.75 kB / 4.869 GB, free: 200.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/12.16, allocations: 0.7891 MB / 4.87 GB, free: 200.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/12.16, allocations: 0.5598 MB / 4.871 GB, free: 200.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1564/12.32, allocations: 37.76 MB / 4.908 GB, free: 195.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/12.32, allocations: 306.3 kB / 4.908 GB, free: 195.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/12.33, allocations: 138.2 kB / 4.908 GB, free: 195.7 MB / 1.182 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 () * 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.0009843/12.33, allocations: 169.9 kB / 4.908 GB, free: 195.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/12.33, allocations: 359.4 kB / 4.909 GB, free: 195.6 MB / 1.182 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 260 equation(s) and 258 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06984/12.4, allocations: 13.17 MB / 4.921 GB, free: 194.9 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.