Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,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.Discharging3") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,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.Discharging3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.409/2.409, allocations: 393.5 MB / 408.4 MB, free: 10.92 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.001142/0.001142, allocations: 179.8 kB / 0.4902 GB, free: 2.094 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.708/1.708, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.0009659/0.0009659, allocations: 106 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003981, allocations: 9.844 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.71, allocations: 479.3 MB / 1.697 GB, free: 300 kB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.71, allocations: 111.6 kB / 1.697 GB, free: 236 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.79/3.5, allocations: 490.3 MB / 2.176 GB, free: 152.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.956e-06/3.5, allocations: 0 / 2.176 GB, free: 152.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001987/3.5, allocations: 32 kB / 2.176 GB, free: 152.2 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.005891/3.506, allocations: 2.087 MB / 2.178 GB, free: 150 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/3.506, allocations: 12.78 kB / 2.178 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/3.508, allocations: 369.8 kB / 2.179 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/3.512, allocations: 1.349 MB / 2.18 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/3.512, allocations: 129.4 kB / 2.18 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/3.513, allocations: 80 kB / 2.18 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/3.515, allocations: 1.156 MB / 2.181 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/3.515, allocations: 3.938 kB / 2.181 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/3.515, allocations: 35.94 kB / 2.181 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/3.515, allocations: 23.98 kB / 2.181 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/3.517, 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.006673/3.524, allocations: 4.927 MB / 2.187 GB, free: 140.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/3.525, allocations: 0.8228 MB / 2.188 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/3.526, allocations: 0.5822 MB / 2.189 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/3.527, allocations: 0.6795 MB / 2.189 GB, free: 138.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 3.267e-06/3.527, allocations: 0 / 2.189 GB, free: 138.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.002991/3.53, allocations: 1.579 MB / 2.191 GB, free: 136.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/3.53, allocations: 115.2 kB / 2.191 GB, free: 136.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/3.531, allocations: 1.023 MB / 2.192 GB, free: 135.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/3.531, allocations: 45.7 kB / 2.192 GB, free: 135.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/3.532, allocations: 0.555 MB / 2.193 GB, free: 134.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/3.532, allocations: 181.5 kB / 2.193 GB, free: 134.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/3.532, allocations: 12 kB / 2.193 GB, free: 134.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/3.532, allocations: 326 kB / 2.193 GB, free: 134.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/3.533, allocations: 485 kB / 2.194 GB, free: 133.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/3.534, allocations: 0.6594 MB / 2.194 GB, free: 133.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/3.535, allocations: 445.9 kB / 2.195 GB, free: 132.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.535, allocations: 0 / 2.195 GB, free: 132.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00211/3.537, allocations: 1.177 MB / 2.196 GB, free: 131.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/3.537, allocations: 1.242 MB / 2.197 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/3.537, allocations: 7.938 kB / 2.197 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/3.537, allocations: 11.98 kB / 2.197 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/3.538, allocations: 163.7 kB / 2.197 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/3.538, allocations: 8 kB / 2.197 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/3.539, allocations: 135.3 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/3.539, allocations: 51.97 kB / 2.197 GB, free: 129.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/3.539, allocations: 4 kB / 2.197 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001883/3.541, allocations: 1.063 MB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/3.541, allocations: 4 kB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/3.541, allocations: 4 kB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/3.542, allocations: 163.7 kB / 2.199 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/3.542, allocations: 15.89 kB / 2.199 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/3.543, allocations: 135.6 kB / 2.199 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/3.543, allocations: 47.97 kB / 2.199 GB, free: 128.4 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.0006262/3.543, allocations: 400.6 kB / 2.199 GB, free: 128 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/3.543, allocations: 118.6 kB / 2.199 GB, free: 127.9 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.001356/3.545, allocations: 0.672 MB / 2.2 GB, free: 127.2 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.