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.3/2.3, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001458/0.001458, allocations: 176.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.000922/0.0009221, allocations: 95.92 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.291e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.839, allocations: 479.3 MB / 1.687 GB, free: 3.082 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.84, allocations: 100.8 kB / 1.687 GB, free: 2.984 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.711/4.551, allocations: 488.9 MB / 2.164 GB, free: 244.9 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.184e-06/4.551, allocations: 3.562 kB / 2.164 GB, free: 244.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.000278/4.551, allocations: 32.72 kB / 2.164 GB, free: 244.9 MB / 1.135 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.007439/4.559, allocations: 1.832 MB / 2.166 GB, free: 244.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/4.559, allocations: 12.41 kB / 2.166 GB, free: 244.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/4.562, allocations: 370.5 kB / 2.167 GB, free: 244.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004364/4.566, allocations: 1.333 MB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/4.567, allocations: 129.3 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/4.567, allocations: 81.69 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/4.57, allocations: 1.089 MB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/4.57, allocations: 0.9062 kB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/4.57, allocations: 32.47 kB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/4.57, allocations: 20.06 kB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/4.572, allocations: 1.02 MB / 2.17 GB, free: 243.8 MB / 1.135 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.009568/4.582, allocations: 4.929 MB / 2.175 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/4.584, allocations: 0.7565 MB / 2.176 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009216/4.585, allocations: 0.4913 MB / 2.176 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/4.585, allocations: 0.5824 MB / 2.177 GB, free: 241.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/4.586, allocations: 0.6242 MB / 2.177 GB, free: 241.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 5.33e-06/4.586, allocations: 0 / 2.177 GB, free: 241.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.002798/4.589, allocations: 0.9999 MB / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/4.589, allocations: 116.9 kB / 2.178 GB, free: 241.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/4.592, allocations: 1.004 MB / 2.179 GB, free: 240.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/4.592, allocations: 43.64 kB / 2.179 GB, free: 240.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007538/4.593, allocations: 0.5656 MB / 2.18 GB, free: 240.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/4.593, allocations: 177.3 kB / 2.18 GB, free: 240.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/4.593, allocations: 17 kB / 2.18 GB, free: 240.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001173/4.593, allocations: 334.3 kB / 2.181 GB, free: 240.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/4.594, allocations: 428.5 kB / 2.181 GB, free: 240.3 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/4.595, allocations: 0.5864 MB / 2.182 GB, free: 240.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/4.596, allocations: 406 kB / 2.182 GB, free: 240.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/4.596, allocations: 0 / 2.182 GB, free: 240.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002792/4.599, allocations: 1.07 MB / 2.183 GB, free: 240 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005093/4.599, allocations: 1.237 MB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/4.599, allocations: 6.25 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.373e-05/4.6, allocations: 10.2 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/4.6, allocations: 164.4 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-05/4.6, allocations: 12.84 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/4.602, allocations: 127.2 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/4.602, allocations: 58.23 kB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/4.602, allocations: 4.312 kB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/4.604, allocations: 0.9505 MB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/4.604, allocations: 3.344 kB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/4.604, allocations: 6.594 kB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/4.605, allocations: 160.7 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/4.605, allocations: 10.25 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/4.607, allocations: 124.8 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/4.607, allocations: 58.17 kB / 2.186 GB, free: 238.7 MB / 1.135 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.0002906/4.607, allocations: 153.7 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/4.607, allocations: 121.2 kB / 2.186 GB, free: 238.5 MB / 1.135 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.001324/4.609, allocations: 0.6164 MB / 2.187 GB, free: 238.5 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.