Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,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_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,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_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.261/2.261, allocations: 390.5 MB / 398 MB, free: 11 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.001345/0.001345, allocations: 175.8 kB / 491.2 MB, free: 1.621 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.544/1.544, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009807/0.0009808, allocations: 94.56 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.684e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.684, allocations: 478.6 MB / 1.68 GB, free: 2.141 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/1.684, allocations: 108 kB / 1.68 GB, free: 2.082 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.8/3.484, allocations: 486.4 MB / 2.155 GB, free: 47.68 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/3.484, allocations: 0 / 2.155 GB, free: 47.68 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001134/3.484, allocations: 39.92 kB / 2.155 GB, free: 47.64 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.004274/3.488, allocations: 1.831 MB / 2.157 GB, free: 45.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/3.488, allocations: 8.031 kB / 2.157 GB, free: 45.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/3.49, allocations: 365.9 kB / 2.157 GB, free: 45.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/3.493, allocations: 1.331 MB / 2.158 GB, free: 44 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/3.493, allocations: 101.4 kB / 2.158 GB, free: 43.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/3.493, allocations: 59.89 kB / 2.158 GB, free: 43.83 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/3.495, allocations: 0.9645 MB / 2.159 GB, free: 42.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/3.496, allocations: 0.9917 MB / 2.16 GB, free: 41.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/3.496, allocations: 0 / 2.16 GB, free: 41.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/3.496, allocations: 4 kB / 2.16 GB, free: 41.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/3.496, allocations: 20 kB / 2.16 GB, free: 41.82 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.005798/3.502, allocations: 4.771 MB / 2.165 GB, free: 36.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/3.503, allocations: 0.7394 MB / 2.166 GB, free: 36.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/3.504, allocations: 490.3 kB / 2.166 GB, free: 35.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/3.504, allocations: 0.5822 MB / 2.167 GB, free: 34.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007148/3.505, allocations: 0.6086 MB / 2.167 GB, free: 34.26 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.725e-06/3.505, allocations: 0 / 2.167 GB, free: 34.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002199/3.507, allocations: 1.041 MB / 2.168 GB, free: 33.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/3.507, allocations: 115.2 kB / 2.169 GB, free: 33.07 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/3.508, allocations: 0.943 MB / 2.169 GB, free: 32.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/3.508, allocations: 37.73 kB / 2.169 GB, free: 32.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/3.509, allocations: 0.5549 MB / 2.17 GB, free: 31.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/3.509, allocations: 173.5 kB / 2.17 GB, free: 31.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/3.509, allocations: 0 / 2.17 GB, free: 31.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/3.509, allocations: 326 kB / 2.17 GB, free: 31.01 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/3.509, allocations: 417.4 kB / 2.171 GB, free: 30.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/3.51, allocations: 0.5852 MB / 2.171 GB, free: 29.95 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/3.511, allocations: 461.8 kB / 2.172 GB, free: 29.49 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/3.511, allocations: 0 / 2.172 GB, free: 29.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002018/3.513, allocations: 1.095 MB / 2.173 GB, free: 28.39 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/3.513, allocations: 1.235 MB / 2.174 GB, free: 27.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/3.513, allocations: 4 kB / 2.174 GB, free: 27.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/3.513, allocations: 12 kB / 2.174 GB, free: 27.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/3.514, allocations: 167.7 kB / 2.174 GB, free: 26.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/3.514, allocations: 11.94 kB / 2.174 GB, free: 26.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/3.515, allocations: 111.4 kB / 2.174 GB, free: 26.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/3.515, allocations: 51.95 kB / 2.175 GB, free: 26.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/3.515, allocations: 9.406 kB / 2.175 GB, free: 26.71 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001758/3.517, allocations: 0.9538 MB / 2.175 GB, free: 25.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/3.517, allocations: 4 kB / 2.175 GB, free: 25.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.515e-06/3.517, allocations: 8.406 kB / 2.175 GB, free: 25.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/3.518, allocations: 171.7 kB / 2.176 GB, free: 25.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/3.518, allocations: 4 kB / 2.176 GB, free: 25.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/3.519, allocations: 111.4 kB / 2.176 GB, free: 25.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/3.519, allocations: 51.97 kB / 2.176 GB, free: 25.41 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.0002324/3.519, allocations: 147 kB / 2.176 GB, free: 25.26 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/3.519, allocations: 114.6 kB / 2.176 GB, free: 25.14 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). Warning: Equation 56 (size: 1) iceTan.tanHeaTra.QMin_flow.y = min(iceTan.limQ_flow.y, iceTan.tanHeaTra.QCoe_flow.y) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/3.521, allocations: 0.6559 MB / 2.177 GB, free: 24.49 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.