Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.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_latest_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_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, 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.001005/0.001005, allocations: 176.8 kB / 496.1 MB, free: 12.86 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.58/1.58, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009013/0.0009015, allocations: 87.91 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.729e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3697, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.885, allocations: 479.3 MB / 1.687 GB, free: 3.148 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.885, allocations: 99.94 kB / 1.687 GB, free: 3.051 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.664/4.549, allocations: 488.8 MB / 2.164 GB, free: 244.9 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.404e-06/4.549, allocations: 1.25 kB / 2.164 GB, free: 244.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002373/4.55, allocations: 29.94 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.005859/4.555, allocations: 1.834 MB / 2.166 GB, free: 244.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/4.556, allocations: 8.875 kB / 2.166 GB, free: 244.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/4.558, allocations: 374.8 kB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/4.562, allocations: 1.323 MB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/4.562, allocations: 133.6 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/4.563, allocations: 87.34 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/4.565, allocations: 1.086 MB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/4.565, allocations: 0 / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/4.565, allocations: 33.11 kB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/4.565, allocations: 26.06 kB / 2.169 GB, free: 243.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/4.567, allocations: 1.024 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.00734/4.574, allocations: 4.91 MB / 2.175 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/4.575, allocations: 0.7635 MB / 2.176 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/4.576, allocations: 0.4927 MB / 2.176 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/4.577, allocations: 0.5859 MB / 2.177 GB, free: 241.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/4.578, allocations: 0.6156 MB / 2.177 GB, free: 241.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 3.326e-06/4.578, allocations: 0 / 2.177 GB, free: 241.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.001937/4.58, allocations: 1.001 MB / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/4.58, allocations: 113.6 kB / 2.178 GB, free: 241.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/4.581, allocations: 1.013 MB / 2.179 GB, free: 240.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/4.581, allocations: 42.3 kB / 2.179 GB, free: 240.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/4.582, allocations: 0.5667 MB / 2.18 GB, free: 240.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/4.582, allocations: 176.8 kB / 2.18 GB, free: 240.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/4.582, allocations: 9.562 kB / 2.18 GB, free: 240.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/4.582, allocations: 332.6 kB / 2.18 GB, free: 240.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/4.583, allocations: 428.9 kB / 2.181 GB, free: 240.3 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/4.583, allocations: 0.594 MB / 2.181 GB, free: 240.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/4.584, allocations: 402.4 kB / 2.182 GB, free: 240.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/4.584, allocations: 0 / 2.182 GB, free: 240.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001938/4.586, allocations: 1.074 MB / 2.183 GB, free: 240 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.000311/4.586, allocations: 1.238 MB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/4.586, allocations: 2.625 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/4.586, allocations: 6.375 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009039/4.587, allocations: 167.8 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/4.587, allocations: 13.16 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/4.589, allocations: 129.8 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/4.589, allocations: 56.22 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/4.589, allocations: 6.812 kB / 2.184 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/4.59, allocations: 0.9481 MB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/4.59, allocations: 2.844 kB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/4.591, allocations: 6.219 kB / 2.185 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/4.591, allocations: 165.3 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/4.591, allocations: 6.312 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/4.592, allocations: 124.9 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/4.593, allocations: 57.7 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.0003118/4.593, allocations: 158.4 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/4.593, allocations: 112.9 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.00155/4.595, allocations: 0.6131 MB / 2.187 GB, free: 238.5 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.