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.554/2.554, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001012/0.001012, allocations: 180.1 kB / 496.1 MB, free: 12.88 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.559/1.559, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0008959/0.0008957, allocations: 91.94 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.87e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3327, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.498/1.831, allocations: 479.3 MB / 1.687 GB, free: 3.125 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.831, allocations: 103.9 kB / 1.687 GB, free: 3.023 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.757/4.588, allocations: 488.9 MB / 2.164 GB, free: 244.9 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.573e-06/4.588, allocations: 0 / 2.164 GB, free: 244.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002285/4.588, allocations: 32.16 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.005775/4.594, allocations: 1.833 MB / 2.166 GB, free: 244.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/4.594, allocations: 10.06 kB / 2.166 GB, free: 244.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/4.597, allocations: 376.6 kB / 2.167 GB, free: 244.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/4.6, allocations: 1.331 MB / 2.168 GB, free: 244.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/4.6, allocations: 131.5 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/4.6, allocations: 82.11 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/4.603, allocations: 1.091 MB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/4.603, allocations: 3.656 kB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/4.603, allocations: 34.72 kB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/4.603, allocations: 18.94 kB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/4.605, allocations: 1.02 MB / 2.17 GB, free: 243.9 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.007373/4.612, allocations: 4.919 MB / 2.175 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/4.614, allocations: 0.7608 MB / 2.176 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007735/4.614, allocations: 497.3 kB / 2.176 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/4.615, allocations: 0.5885 MB / 2.177 GB, free: 241.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009619/4.616, allocations: 0.6161 MB / 2.177 GB, free: 241.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.245e-06/4.616, allocations: 1.438 kB / 2.177 GB, free: 241.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.002028/4.618, allocations: 1.005 MB / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/4.618, allocations: 110.3 kB / 2.178 GB, free: 241.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/4.62, allocations: 1.011 MB / 2.179 GB, free: 241 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/4.62, allocations: 47.64 kB / 2.179 GB, free: 240.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/4.621, allocations: 0.56 MB / 2.18 GB, free: 240.8 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/4.621, allocations: 177.6 kB / 2.18 GB, free: 240.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/4.621, allocations: 9.969 kB / 2.18 GB, free: 240.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001089/4.621, allocations: 334.3 kB / 2.181 GB, free: 240.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/4.622, allocations: 426.7 kB / 2.181 GB, free: 240.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/4.623, allocations: 0.5981 MB / 2.182 GB, free: 240.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/4.623, allocations: 402.2 kB / 2.182 GB, free: 240.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/4.623, allocations: 0.5312 kB / 2.182 GB, free: 240.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002189/4.626, allocations: 1.077 MB / 2.183 GB, free: 240.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003966/4.626, allocations: 1.235 MB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/4.626, allocations: 3.25 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.779e-05/4.626, allocations: 6.594 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/4.627, allocations: 166.4 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/4.627, allocations: 9.906 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/4.628, allocations: 130.7 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/4.628, allocations: 55.14 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/4.628, allocations: 3.625 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001946/4.63, allocations: 0.9443 MB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/4.63, allocations: 2.969 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/4.63, allocations: 8.781 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/4.631, allocations: 165 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/4.631, allocations: 9.062 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/4.632, allocations: 122.9 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/4.633, allocations: 55.89 kB / 2.186 GB, free: 238.8 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.0003163/4.633, allocations: 156.8 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/4.633, allocations: 120.5 kB / 2.186 GB, free: 238.6 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.001882/4.635, allocations: 0.6179 MB / 2.187 GB, free: 238.6 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.