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.041/2.041, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001013/0.001013, allocations: 184.8 kB / 487.4 MB, free: 5.039 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.413/1.413, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0008583/0.0008583, allocations: 96.09 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.846e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2414, allocations: 142.3 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.33, allocations: 477.8 MB / 1.673 GB, free: 10.45 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.33, allocations: 106.6 kB / 1.673 GB, free: 10.39 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.402/2.732, allocations: 486.3 MB / 2.148 GB, free: 58.88 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.172e-06/2.732, allocations: 0 / 2.148 GB, free: 58.88 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001343/2.732, allocations: 31.98 kB / 2.148 GB, free: 58.85 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.003634/2.736, allocations: 1.838 MB / 2.149 GB, free: 56.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/2.736, allocations: 8.031 kB / 2.149 GB, free: 56.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/2.738, allocations: 369.8 kB / 2.15 GB, free: 56.58 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/2.741, allocations: 1.326 MB / 2.151 GB, free: 55.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/2.741, allocations: 101.4 kB / 2.151 GB, free: 55.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/2.741, allocations: 52 kB / 2.151 GB, free: 55.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/2.743, allocations: 0.9645 MB / 2.152 GB, free: 54.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/2.744, allocations: 0.984 MB / 2.153 GB, free: 53.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/2.744, allocations: 7.938 kB / 2.153 GB, free: 53.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/2.744, allocations: 3.984 kB / 2.153 GB, free: 53.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/2.744, allocations: 23.94 kB / 2.153 GB, free: 53.02 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.006142/2.75, allocations: 4.783 MB / 2.158 GB, free: 48.03 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/2.751, allocations: 0.731 MB / 2.159 GB, free: 47.28 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/2.752, allocations: 495.6 kB / 2.159 GB, free: 46.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/2.752, allocations: 0.5822 MB / 2.16 GB, free: 46.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006616/2.753, allocations: 0.6081 MB / 2.16 GB, free: 45.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.635e-06/2.753, allocations: 0 / 2.16 GB, free: 45.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002147/2.755, allocations: 1.045 MB / 2.161 GB, free: 44.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/2.755, allocations: 111.2 kB / 2.161 GB, free: 44.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/2.756, allocations: 0.9353 MB / 2.162 GB, free: 43.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/2.756, allocations: 33.7 kB / 2.162 GB, free: 43.28 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/2.757, allocations: 0.5626 MB / 2.163 GB, free: 42.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/2.757, allocations: 165.6 kB / 2.163 GB, free: 42.55 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/2.757, allocations: 4.031 kB / 2.163 GB, free: 42.54 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/2.757, allocations: 337.9 kB / 2.163 GB, free: 42.21 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/2.757, allocations: 413.4 kB / 2.164 GB, free: 41.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/2.758, allocations: 0.5781 MB / 2.164 GB, free: 41.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/2.759, allocations: 465.8 kB / 2.165 GB, free: 40.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/2.759, allocations: 0 / 2.165 GB, free: 40.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001899/2.761, allocations: 1.103 MB / 2.166 GB, free: 39.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000222/2.761, allocations: 1.236 MB / 2.167 GB, free: 38.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/2.761, allocations: 7.984 kB / 2.167 GB, free: 38.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/2.761, allocations: 4 kB / 2.167 GB, free: 38.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/2.762, allocations: 167.7 kB / 2.167 GB, free: 38.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/2.762, allocations: 7.984 kB / 2.167 GB, free: 38.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/2.763, allocations: 103.5 kB / 2.167 GB, free: 37.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/2.763, allocations: 59.95 kB / 2.167 GB, free: 37.92 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/2.763, allocations: 6.188 kB / 2.167 GB, free: 37.91 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001702/2.765, allocations: 0.9577 MB / 2.168 GB, free: 36.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/2.765, allocations: 7.938 kB / 2.168 GB, free: 36.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/2.765, allocations: 4 kB / 2.168 GB, free: 36.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/2.765, allocations: 164.1 kB / 2.168 GB, free: 36.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/2.765, allocations: 11.98 kB / 2.168 GB, free: 36.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/2.766, allocations: 107.4 kB / 2.169 GB, free: 36.67 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/2.766, allocations: 59.95 kB / 2.169 GB, free: 36.61 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.0001859/2.767, allocations: 124.1 kB / 2.169 GB, free: 36.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/2.767, allocations: 114.6 kB / 2.169 GB, free: 36.37 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.001635/2.768, allocations: 0.6675 MB / 2.169 GB, free: 35.7 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.