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.22/2.22, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.00104/0.00104, allocations: 168.9 kB / 492.3 MB, free: 0.6211 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.542/1.542, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009589/0.0009588, allocations: 98.64 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.454e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2817, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.357/5.639, allocations: 2.247 GB / 3.459 GB, free: 52.13 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/5.639, allocations: 115.3 kB / 3.46 GB, free: 52.02 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.685/10.32, allocations: 1.21 GB / 4.669 GB, free: 157.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.305e-06/10.32, allocations: 1.031 kB / 4.669 GB, free: 157.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005564/10.32, allocations: 112.1 kB / 4.669 GB, free: 157.1 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.01367/10.34, allocations: 4.23 MB / 4.674 GB, free: 154.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/10.34, allocations: 7.688 kB / 4.674 GB, free: 154.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006666/10.35, allocations: 1.119 MB / 4.675 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/10.36, allocations: 5.375 MB / 4.68 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/10.36, allocations: 226.8 kB / 4.68 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/10.36, allocations: 310.5 kB / 4.68 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006741/10.37, allocations: 3.748 MB / 4.684 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/10.37, allocations: 4.844 kB / 4.684 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/10.37, allocations: 126.1 kB / 4.684 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-05/10.37, allocations: 115.3 kB / 4.684 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005676/10.37, allocations: 3.803 MB / 4.688 GB, free: 145.9 MB / 1.167 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.02453/10.4, allocations: 15.56 MB / 4.703 GB, free: 130 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/10.4, allocations: 2.602 MB / 4.706 GB, free: 127.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/10.4, allocations: 1.423 MB / 4.707 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/10.42, allocations: 8.255 MB / 4.715 GB, free: 117 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002138/10.42, allocations: 1.664 MB / 4.717 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002483/10.42, allocations: 487.4 kB / 4.717 GB, free: 114.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=219): time 4.439e-06/10.42, allocations: 0 / 4.717 GB, free: 114.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=219): time 0.00531/10.43, allocations: 3.236 MB / 4.721 GB, free: 111.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/10.43, allocations: 283 kB / 4.721 GB, free: 111.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/10.43, allocations: 3.882 MB / 4.725 GB, free: 107.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004474/10.43, allocations: 69.7 kB / 4.725 GB, free: 107.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/10.43, allocations: 1.809 MB / 4.726 GB, free: 105.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009478/10.44, allocations: 0.7471 MB / 4.727 GB, free: 104.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/10.44, allocations: 50.69 kB / 4.727 GB, free: 104.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001981/10.44, allocations: 407.1 kB / 4.728 GB, free: 104.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/10.44, allocations: 1.325 MB / 4.729 GB, free: 103 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/10.44, allocations: 2.259 MB / 4.731 GB, free: 100.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/10.44, allocations: 1.579 MB / 4.733 GB, free: 98.89 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/10.44, allocations: 0 / 4.733 GB, free: 98.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.009534/10.45, allocations: 4.694 MB / 4.737 GB, free: 94.14 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001184/10.45, allocations: 5.693 MB / 4.743 GB, free: 88.08 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/10.45, allocations: 12 kB / 4.743 GB, free: 88.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.703/15.16, allocations: 0.5977 GB / 5.341 GB, free: 284.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/15.16, allocations: 0.5771 MB / 5.341 GB, free: 284.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/15.16, allocations: 5.04 MB / 5.346 GB, free: 280.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/15.17, allocations: 383.5 kB / 5.346 GB, free: 280.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/15.17, allocations: 132.1 kB / 5.346 GB, free: 280.9 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/15.17, allocations: 4.203 kB / 5.346 GB, free: 280.9 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01502/15.19, allocations: 4.28 MB / 5.351 GB, free: 280.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.307e-05/15.19, allocations: 9.5 kB / 5.351 GB, free: 280.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807/19, allocations: 0.5977 GB / 5.948 GB, free: 256.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/19, allocations: 0.5676 MB / 5.949 GB, free: 256.3 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/19, allocations: 6.114 MB / 5.955 GB, free: 250.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/19.01, allocations: 359.5 kB / 5.955 GB, free: 250.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000967/19.01, allocations: 136.7 kB / 5.955 GB, free: 250.5 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 () * 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.00115/19.01, allocations: 265.5 kB / 5.956 GB, free: 250.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001845/19.01, allocations: 392.6 kB / 5.956 GB, free: 250.2 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.00575/19.02, allocations: 2.212 MB / 5.958 GB, free: 249.1 MB / 1.276 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.