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.758/2.758, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001524/0.001524, allocations: 179 kB / 0.4902 GB, free: 2.234 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.696/1.696, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001042/0.001042, allocations: 100.1 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 13.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3565, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.689, allocations: 479.3 MB / 1.697 GB, free: 348 kB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.689, allocations: 111.7 kB / 1.697 GB, free: 284 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.935/3.624, allocations: 490.2 MB / 2.176 GB, free: 152.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.597e-06/3.624, allocations: 4 kB / 2.176 GB, free: 152.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002332/3.624, allocations: 32 kB / 2.176 GB, free: 152.3 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.006942/3.631, allocations: 2.083 MB / 2.178 GB, free: 150.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/3.631, allocations: 8.828 kB / 2.178 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/3.634, allocations: 373.8 kB / 2.179 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/3.64, allocations: 1.341 MB / 2.18 GB, free: 148.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/3.64, allocations: 137.3 kB / 2.18 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/3.641, allocations: 80 kB / 2.18 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/3.644, allocations: 1.156 MB / 2.181 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/3.644, allocations: 3.938 kB / 2.181 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/3.644, allocations: 35.98 kB / 2.181 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/3.644, allocations: 20 kB / 2.181 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/3.647, allocations: 1.128 MB / 2.182 GB, free: 145.7 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.008935/3.656, allocations: 4.927 MB / 2.187 GB, free: 140.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/3.658, allocations: 0.8267 MB / 2.188 GB, free: 139.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/3.658, allocations: 0.5744 MB / 2.189 GB, free: 139 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/3.659, allocations: 0.6792 MB / 2.189 GB, free: 138.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 3.737e-06/3.659, allocations: 4 kB / 2.189 GB, free: 138.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003424/3.663, allocations: 1.579 MB / 2.191 GB, free: 136.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/3.663, allocations: 111.2 kB / 2.191 GB, free: 136.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/3.664, allocations: 1.027 MB / 2.192 GB, free: 135.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/3.665, allocations: 41.7 kB / 2.192 GB, free: 135.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/3.665, allocations: 0.5628 MB / 2.192 GB, free: 135 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/3.665, allocations: 177.5 kB / 2.193 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/3.665, allocations: 12 kB / 2.193 GB, free: 134.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/3.665, allocations: 330 kB / 2.193 GB, free: 134.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/3.666, allocations: 485 kB / 2.193 GB, free: 134 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009939/3.667, allocations: 0.6516 MB / 2.194 GB, free: 133.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/3.668, allocations: 445.9 kB / 2.194 GB, free: 132.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/3.668, allocations: 0 / 2.194 GB, free: 132.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002396/3.671, allocations: 1.193 MB / 2.196 GB, free: 131.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003065/3.671, allocations: 1.234 MB / 2.197 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/3.671, allocations: 4 kB / 2.197 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/3.671, allocations: 8 kB / 2.197 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/3.672, allocations: 163.7 kB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/3.672, allocations: 15.92 kB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/3.673, allocations: 131.3 kB / 2.197 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/3.673, allocations: 59.95 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/3.673, allocations: 8.875 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001912/3.675, allocations: 1.051 MB / 2.198 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/3.675, allocations: 4 kB / 2.198 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/3.675, allocations: 8 kB / 2.198 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/3.676, allocations: 172 kB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/3.676, allocations: 7.953 kB / 2.198 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009924/3.677, allocations: 127.4 kB / 2.199 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/3.677, allocations: 51.97 kB / 2.199 GB, free: 128.5 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.0008367/3.678, allocations: 411.2 kB / 2.199 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/3.678, allocations: 114.6 kB / 2.199 GB, free: 128 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.001386/3.679, allocations: 0.6642 MB / 2.2 GB, free: 127.3 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.