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 1.992/1.992, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009856/0.0009857, allocations: 176.9 kB / 487.4 MB, free: 5.055 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.368/1.368, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008994, allocations: 99.41 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.744e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.238, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.405, allocations: 477.8 MB / 1.673 GB, free: 10.54 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.406, allocations: 102.4 kB / 1.673 GB, free: 10.49 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.494/2.9, allocations: 486.4 MB / 2.148 GB, free: 58.79 MB / 1.151 GB Notification: Performance of FrontEnd: time 9.61e-07/2.9, allocations: 0 / 2.148 GB, free: 58.79 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001762/2.9, allocations: 35.98 kB / 2.148 GB, free: 58.75 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.004631/2.905, allocations: 1.827 MB / 2.149 GB, free: 56.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/2.905, allocations: 12.03 kB / 2.149 GB, free: 56.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/2.907, allocations: 369.8 kB / 2.15 GB, free: 56.49 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/2.91, allocations: 1.33 MB / 2.151 GB, free: 55.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/2.911, allocations: 97.38 kB / 2.151 GB, free: 55 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/2.911, allocations: 55.92 kB / 2.151 GB, free: 54.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001504/2.912, allocations: 0.9762 MB / 2.152 GB, free: 53.97 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/2.914, allocations: 0.9801 MB / 2.153 GB, free: 52.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/2.914, allocations: 3.953 kB / 2.153 GB, free: 52.95 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/2.914, allocations: 7.984 kB / 2.153 GB, free: 52.94 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/2.914, allocations: 20 kB / 2.153 GB, free: 52.92 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.005875/2.92, allocations: 4.775 MB / 2.158 GB, free: 47.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/2.921, allocations: 0.7351 MB / 2.159 GB, free: 47.19 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/2.921, allocations: 487.9 kB / 2.159 GB, free: 46.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003797/2.922, allocations: 0.5899 MB / 2.16 GB, free: 45.99 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/2.922, allocations: 0.6003 MB / 2.16 GB, free: 45.38 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/2.922, allocations: 0 / 2.16 GB, free: 45.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002151/2.925, allocations: 1.045 MB / 2.161 GB, free: 44.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/2.925, allocations: 115.2 kB / 2.161 GB, free: 44.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/2.926, allocations: 0.9391 MB / 2.162 GB, free: 43.23 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/2.926, allocations: 37.69 kB / 2.162 GB, free: 43.19 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/2.926, allocations: 0.5509 MB / 2.163 GB, free: 42.63 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/2.926, allocations: 173.6 kB / 2.163 GB, free: 42.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/2.926, allocations: 0 / 2.163 GB, free: 42.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/2.927, allocations: 333.9 kB / 2.163 GB, free: 42.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/2.927, allocations: 417.4 kB / 2.164 GB, free: 41.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/2.928, allocations: 0.5781 MB / 2.164 GB, free: 41.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/2.929, allocations: 461.8 kB / 2.165 GB, free: 40.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/2.929, allocations: 7.938 kB / 2.165 GB, free: 40.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002034/2.931, allocations: 1.095 MB / 2.166 GB, free: 39.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/2.931, allocations: 1.24 MB / 2.167 GB, free: 38.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/2.931, allocations: 11.94 kB / 2.167 GB, free: 38.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/2.931, allocations: 8 kB / 2.167 GB, free: 38.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/2.932, allocations: 163.7 kB / 2.167 GB, free: 38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/2.932, allocations: 7.984 kB / 2.167 GB, free: 37.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/2.933, allocations: 107.4 kB / 2.167 GB, free: 37.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/2.933, allocations: 55.95 kB / 2.167 GB, free: 37.83 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/2.933, allocations: 4 kB / 2.167 GB, free: 37.82 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/2.935, allocations: 0.9616 MB / 2.168 GB, free: 36.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.935, allocations: 4 kB / 2.168 GB, free: 36.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/2.935, allocations: 8 kB / 2.168 GB, free: 36.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/2.935, allocations: 168.1 kB / 2.168 GB, free: 36.69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/2.935, allocations: 7.938 kB / 2.168 GB, free: 36.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/2.936, allocations: 107.4 kB / 2.169 GB, free: 36.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/2.937, allocations: 55.95 kB / 2.169 GB, free: 36.52 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.0002281/2.937, allocations: 127.1 kB / 2.169 GB, free: 36.39 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/2.937, allocations: 114.6 kB / 2.169 GB, free: 36.28 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.001767/2.939, allocations: 0.6637 MB / 2.17 GB, free: 35.61 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.