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.21/2.21, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.0009955/0.0009955, allocations: 175.7 kB / 492.3 MB, free: 0.6172 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.499/1.499, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009409/0.0009411, allocations: 95.47 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.237e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3322, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.761, allocations: 478.5 MB / 1.68 GB, free: 1.816 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.762, allocations: 106 kB / 1.68 GB, free: 1.758 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.808/3.569, allocations: 488.9 MB / 2.157 GB, free: 45.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.505e-06/3.569, allocations: 0 / 2.157 GB, free: 45.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001169/3.569, allocations: 31.98 kB / 2.157 GB, free: 45.05 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003834/3.573, allocations: 1.835 MB / 2.159 GB, free: 43.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/3.573, allocations: 12.03 kB / 2.159 GB, free: 43.15 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/3.575, allocations: 369.9 kB / 2.159 GB, free: 42.79 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/3.578, allocations: 1.337 MB / 2.161 GB, free: 41.39 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/3.578, allocations: 129.4 kB / 2.161 GB, free: 41.26 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/3.578, allocations: 83.98 kB / 2.161 GB, free: 41.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/3.58, allocations: 1.089 MB / 2.162 GB, free: 40.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/3.58, allocations: 0 / 2.162 GB, free: 40.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/3.58, allocations: 35.95 kB / 2.162 GB, free: 40.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/3.58, allocations: 23.98 kB / 2.162 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/3.581, allocations: 1.023 MB / 2.163 GB, free: 38.97 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.005727/3.587, allocations: 4.915 MB / 2.168 GB, free: 33.83 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/3.588, allocations: 0.7654 MB / 2.169 GB, free: 33.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/3.588, allocations: 498.4 kB / 2.169 GB, free: 32.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004129/3.589, allocations: 0.5861 MB / 2.17 GB, free: 31.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007482/3.59, allocations: 0.6207 MB / 2.17 GB, free: 31.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/3.59, allocations: 0 / 2.17 GB, free: 31.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001489/3.591, allocations: 1.01 MB / 2.171 GB, free: 30.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/3.591, allocations: 115.2 kB / 2.171 GB, free: 30.06 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/3.592, allocations: 1.005 MB / 2.172 GB, free: 29.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/3.592, allocations: 45.7 kB / 2.172 GB, free: 28.99 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/3.593, allocations: 0.5705 MB / 2.173 GB, free: 28.41 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/3.593, allocations: 169.6 kB / 2.173 GB, free: 28.24 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/3.593, allocations: 12 kB / 2.173 GB, free: 28.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/3.593, allocations: 326 kB / 2.173 GB, free: 27.91 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009368/3.594, allocations: 429.4 kB / 2.174 GB, free: 27.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/3.596, allocations: 0.606 MB / 2.174 GB, free: 26.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/3.596, allocations: 389 kB / 2.175 GB, free: 26.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/3.596, allocations: 0 / 2.175 GB, free: 26.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002546/3.599, allocations: 1.079 MB / 2.176 GB, free: 25.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003354/3.599, allocations: 1.236 MB / 2.177 GB, free: 24.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/3.599, allocations: 4 kB / 2.177 GB, free: 24.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/3.599, allocations: 8 kB / 2.177 GB, free: 24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/3.601, allocations: 167.7 kB / 2.177 GB, free: 23.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/3.601, allocations: 4 kB / 2.177 GB, free: 23.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/3.603, allocations: 131.4 kB / 2.177 GB, free: 23.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/3.603, allocations: 47.97 kB / 2.177 GB, free: 23.66 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/3.603, allocations: 7.938 kB / 2.177 GB, free: 23.65 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/3.605, allocations: 0.954 MB / 2.178 GB, free: 22.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/3.605, allocations: 3.938 kB / 2.178 GB, free: 22.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/3.605, allocations: 8 kB / 2.178 GB, free: 22.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/3.607, allocations: 163.7 kB / 2.178 GB, free: 22.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/3.607, allocations: 8 kB / 2.178 GB, free: 22.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/3.608, allocations: 131.6 kB / 2.179 GB, free: 22.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/3.609, allocations: 51.97 kB / 2.179 GB, free: 22.34 MB / 1.151 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 () * 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.0003582/3.609, allocations: 151.8 kB / 2.179 GB, free: 22.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/3.609, allocations: 114.6 kB / 2.179 GB, free: 22.07 MB / 1.151 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.002199/3.612, allocations: 0.617 MB / 2.18 GB, free: 21.45 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.