Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.Charging,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.Charging") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,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.Charging") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001201/0.001201, allocations: 195.2 kB / 498.1 MB, free: 5.734 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.626/1.626, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001076/0.001077, allocations: 98.3 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003908, allocations: 11.36 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3423, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.701, allocations: 478.5 MB / 1.69 GB, free: 15.86 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/1.701, allocations: 111.5 kB / 1.69 GB, free: 15.8 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.855/3.557, allocations: 490.2 MB / 2.169 GB, free: 168 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.565e-06/3.557, allocations: 0 / 2.169 GB, free: 168 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002074/3.557, allocations: 31.98 kB / 2.169 GB, free: 168 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.006219/3.563, allocations: 2.096 MB / 2.171 GB, free: 165.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/3.563, allocations: 8.031 kB / 2.171 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/3.566, allocations: 365.8 kB / 2.171 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/3.57, allocations: 1.354 MB / 2.173 GB, free: 164 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/3.57, allocations: 133.4 kB / 2.173 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/3.57, allocations: 80 kB / 2.173 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/3.573, allocations: 1.156 MB / 2.174 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/3.573, allocations: 0 / 2.174 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/3.573, allocations: 32 kB / 2.174 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/3.573, allocations: 23.98 kB / 2.174 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/3.575, allocations: 1.128 MB / 2.175 GB, free: 161.4 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.007547/3.583, allocations: 4.923 MB / 2.18 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/3.585, allocations: 0.8264 MB / 2.181 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/3.585, allocations: 0.5822 MB / 2.181 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/3.586, allocations: 0.6714 MB / 2.182 GB, free: 154.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 4.258e-06/3.586, allocations: 0 / 2.182 GB, free: 154.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003264/3.59, allocations: 1.579 MB / 2.184 GB, free: 152.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/3.59, allocations: 119.2 kB / 2.184 GB, free: 152.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/3.592, allocations: 1.019 MB / 2.185 GB, free: 151.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/3.592, allocations: 49.64 kB / 2.185 GB, free: 151.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/3.592, allocations: 0.5627 MB / 2.185 GB, free: 150.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/3.593, allocations: 173.5 kB / 2.186 GB, free: 150.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/3.593, allocations: 16 kB / 2.186 GB, free: 150.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/3.593, allocations: 326 kB / 2.186 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008777/3.594, allocations: 485 kB / 2.186 GB, free: 149.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/3.595, allocations: 0.6479 MB / 2.187 GB, free: 149 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/3.595, allocations: 453.9 kB / 2.187 GB, free: 148.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/3.595, allocations: 4 kB / 2.187 GB, free: 148.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002362/3.598, allocations: 1.177 MB / 2.189 GB, free: 147.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002926/3.598, allocations: 1.243 MB / 2.19 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/3.598, allocations: 4 kB / 2.19 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/3.598, allocations: 11.94 kB / 2.19 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/3.599, allocations: 163.7 kB / 2.19 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/3.599, allocations: 15.88 kB / 2.19 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/3.6, allocations: 131.3 kB / 2.19 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/3.6, allocations: 51.97 kB / 2.19 GB, free: 145.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/3.6, allocations: 4 kB / 2.19 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001958/3.602, allocations: 1.063 MB / 2.191 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/3.602, allocations: 4 kB / 2.191 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/3.602, allocations: 4 kB / 2.191 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/3.603, allocations: 163.7 kB / 2.191 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/3.603, allocations: 11.95 kB / 2.191 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/3.604, allocations: 135.5 kB / 2.191 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/3.604, allocations: 47.97 kB / 2.191 GB, free: 144.2 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.0008062/3.605, allocations: 399.2 kB / 2.192 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004034/3.606, allocations: 118.6 kB / 2.192 GB, free: 143.7 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.001839/3.607, allocations: 0.672 MB / 2.193 GB, free: 143 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.