Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001181/0.001181, allocations: 185 kB / 498.1 MB, free: 5.691 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.684/1.684, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.001033/0.001033, allocations: 88.33 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005935/0.0005935, allocations: 10.41 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4646, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.413/1.878, allocations: 478.5 MB / 1.69 GB, free: 15.68 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/1.878, allocations: 106.6 kB / 1.69 GB, free: 15.62 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.756/3.634, allocations: 490.3 MB / 2.169 GB, free: 167.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.087e-06/3.634, allocations: 4 kB / 2.169 GB, free: 167.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002117/3.634, allocations: 35.98 kB / 2.169 GB, free: 167.7 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.006253/3.64, allocations: 2.083 MB / 2.171 GB, free: 165.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/3.64, allocations: 12.03 kB / 2.171 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/3.643, allocations: 365.8 kB / 2.172 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/3.647, allocations: 1.346 MB / 2.173 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/3.647, allocations: 125.4 kB / 2.173 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/3.647, allocations: 87.98 kB / 2.173 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/3.65, allocations: 1.156 MB / 2.174 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/3.65, allocations: 0 / 2.174 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/3.65, allocations: 35.98 kB / 2.174 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/3.65, allocations: 20 kB / 2.174 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/3.652, allocations: 1.128 MB / 2.175 GB, free: 161.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.00729/3.659, allocations: 4.927 MB / 2.18 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/3.661, allocations: 0.819 MB / 2.181 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/3.661, allocations: 0.59 MB / 2.182 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/3.663, allocations: 0.6675 MB / 2.182 GB, free: 153.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 3.467e-06/3.663, allocations: 4 kB / 2.182 GB, free: 153.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003283/3.666, allocations: 1.579 MB / 2.184 GB, free: 152.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/3.666, allocations: 111.2 kB / 2.184 GB, free: 152.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/3.667, allocations: 1.023 MB / 2.185 GB, free: 151.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/3.668, allocations: 45.7 kB / 2.185 GB, free: 151 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/3.668, allocations: 0.5667 MB / 2.185 GB, free: 150.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/3.668, allocations: 181.4 kB / 2.186 GB, free: 150.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/3.668, allocations: 15.94 kB / 2.186 GB, free: 150.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/3.668, allocations: 330 kB / 2.186 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008355/3.669, allocations: 485 kB / 2.186 GB, free: 149.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/3.67, allocations: 0.6479 MB / 2.187 GB, free: 148.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008345/3.671, allocations: 453.9 kB / 2.187 GB, free: 148.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/3.671, allocations: 4 kB / 2.187 GB, free: 148.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00234/3.673, allocations: 1.185 MB / 2.189 GB, free: 147.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000242/3.674, allocations: 1.23 MB / 2.19 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/3.674, allocations: 8 kB / 2.19 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/3.674, allocations: 11.98 kB / 2.19 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/3.674, allocations: 163.7 kB / 2.19 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/3.674, allocations: 7.938 kB / 2.19 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/3.675, allocations: 127.3 kB / 2.19 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/3.676, allocations: 59.95 kB / 2.19 GB, free: 145.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/3.676, allocations: 6.031 kB / 2.19 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001921/3.677, allocations: 1.055 MB / 2.191 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/3.677, allocations: 0 / 2.191 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/3.678, allocations: 8 kB / 2.191 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/3.678, allocations: 172 kB / 2.191 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/3.678, allocations: 11.95 kB / 2.191 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/3.679, allocations: 115.5 kB / 2.192 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/3.679, allocations: 51.97 kB / 2.192 GB, free: 144 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$PRE.dat.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$PRE.iceTan.tanHeaTra.SOCCalc.charged,iceTan.tanHeaTra.SOCCalc.charged,$PRE.iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.suspend,$PRE.iceTan.tanHeaTra.canFreeze.lesHys.y,iceTan.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTan.tanHeaTra.canMelt.greHys.y,iceTan.tanHeaTra.canMelt.greHys.y,dat.nextTimeEvent,$PRE.dat.nextTimeEventScaled,dat.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008169/3.68, allocations: 423 kB / 2.192 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/3.681, allocations: 114.6 kB / 2.192 GB, free: 143.5 MB / 1.167 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 61 equation(s) and 60 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/3.682, allocations: 0.6681 MB / 2.193 GB, free: 142.8 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.