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.477/2.477, allocations: 393.5 MB / 408.4 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.002163/0.002163, allocations: 186.3 kB / 0.4902 GB, free: 2.281 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.741/1.741, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001402/0.001402, allocations: 96.33 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 6.938 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3573, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.707, allocations: 479.3 MB / 1.697 GB, free: 300 kB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.707, allocations: 106 kB / 1.697 GB, free: 240 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.895/3.602, allocations: 490.3 MB / 2.176 GB, free: 152.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.345e-06/3.602, allocations: 0 / 2.176 GB, free: 152.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002076/3.602, allocations: 36 kB / 2.176 GB, free: 152.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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.006546/3.609, allocations: 2.08 MB / 2.178 GB, free: 149.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/3.609, allocations: 16.78 kB / 2.178 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/3.611, allocations: 369.8 kB / 2.179 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/3.615, allocations: 1.345 MB / 2.18 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/3.616, allocations: 129.4 kB / 2.18 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/3.616, allocations: 83.94 kB / 2.18 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/3.619, allocations: 1.159 MB / 2.181 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/3.619, allocations: 0 / 2.181 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/3.619, allocations: 35.98 kB / 2.181 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/3.619, allocations: 20 kB / 2.181 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/3.621, allocations: 1.128 MB / 2.182 GB, free: 145.6 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.006517/3.627, allocations: 4.923 MB / 2.187 GB, free: 140.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/3.629, allocations: 0.8218 MB / 2.188 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/3.629, allocations: 0.5899 MB / 2.189 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/3.63, allocations: 0.6753 MB / 2.189 GB, free: 138.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.595e-06/3.63, allocations: 0 / 2.189 GB, free: 138.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003021/3.633, allocations: 1.579 MB / 2.191 GB, free: 136.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/3.634, allocations: 111.2 kB / 2.191 GB, free: 136.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/3.635, allocations: 1.023 MB / 2.192 GB, free: 135.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/3.635, allocations: 49.73 kB / 2.192 GB, free: 135.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/3.635, allocations: 0.5589 MB / 2.193 GB, free: 134.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/3.635, allocations: 181.5 kB / 2.193 GB, free: 134.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/3.635, allocations: 12 kB / 2.193 GB, free: 134.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/3.636, allocations: 326 kB / 2.193 GB, free: 134.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008464/3.636, allocations: 489 kB / 2.194 GB, free: 133.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009048/3.637, allocations: 0.6516 MB / 2.194 GB, free: 133.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008085/3.638, allocations: 445.9 kB / 2.195 GB, free: 132.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/3.638, allocations: 4 kB / 2.195 GB, free: 132.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002137/3.64, allocations: 1.189 MB / 2.196 GB, free: 131.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002643/3.641, allocations: 1.234 MB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/3.641, allocations: 4 kB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/3.641, allocations: 4 kB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/3.641, allocations: 171.7 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/3.641, allocations: 4 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/3.642, allocations: 127.3 kB / 2.197 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/3.643, allocations: 67.83 kB / 2.197 GB, free: 129.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/3.643, allocations: 4 kB / 2.197 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001946/3.644, allocations: 1.051 MB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/3.645, allocations: 4 kB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/3.645, allocations: 8 kB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/3.645, allocations: 168.1 kB / 2.199 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/3.645, allocations: 7.953 kB / 2.199 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009996/3.646, allocations: 127.4 kB / 2.199 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/3.646, allocations: 51.97 kB / 2.199 GB, free: 128.3 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.0008065/3.647, allocations: 416.5 kB / 2.199 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/3.647, allocations: 114.6 kB / 2.199 GB, free: 127.8 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.001569/3.649, allocations: 0.6642 MB / 2.2 GB, free: 127.1 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.