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.34/2.34, allocations: 390.5 MB / 398 MB, free: 10.97 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.001007/0.001007, allocations: 184.8 kB / 491.2 MB, free: 1.59 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.593/1.593, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009516/0.0009517, allocations: 91.91 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.811e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.688, allocations: 478.6 MB / 1.68 GB, free: 2.078 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.688, allocations: 99.62 kB / 1.68 GB, free: 2.027 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.837/3.525, allocations: 486.4 MB / 2.155 GB, free: 47.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/3.525, allocations: 0 / 2.155 GB, free: 47.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002788/3.525, allocations: 35.92 kB / 2.155 GB, free: 47.62 MB / 1.151 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.00712/3.533, allocations: 1.831 MB / 2.157 GB, free: 45.73 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.847e-05/3.533, allocations: 8.031 kB / 2.157 GB, free: 45.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/3.535, allocations: 365.9 kB / 2.157 GB, free: 45.37 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/3.539, allocations: 1.339 MB / 2.158 GB, free: 43.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/3.539, allocations: 97.38 kB / 2.158 GB, free: 43.87 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/3.54, allocations: 55.84 kB / 2.158 GB, free: 43.81 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001785/3.541, allocations: 0.9684 MB / 2.159 GB, free: 42.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/3.543, allocations: 0.9878 MB / 2.16 GB, free: 41.82 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/3.543, allocations: 0 / 2.16 GB, free: 41.82 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/3.543, allocations: 0 / 2.16 GB, free: 41.82 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/3.543, allocations: 20 kB / 2.16 GB, free: 41.8 MB / 1.151 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.008508/3.552, allocations: 4.783 MB / 2.165 GB, free: 36.81 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/3.553, allocations: 0.739 MB / 2.166 GB, free: 36.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/3.554, allocations: 492.3 kB / 2.166 GB, free: 35.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/3.554, allocations: 0.5861 MB / 2.167 GB, free: 34.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000835/3.555, allocations: 0.6004 MB / 2.167 GB, free: 34.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 4.739e-06/3.555, allocations: 0 / 2.167 GB, free: 34.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002748/3.558, allocations: 1.045 MB / 2.168 GB, free: 33.18 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/3.558, allocations: 115.2 kB / 2.169 GB, free: 33.04 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/3.56, allocations: 0.9431 MB / 2.169 GB, free: 32.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/3.56, allocations: 33.7 kB / 2.169 GB, free: 32.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/3.561, allocations: 0.5548 MB / 2.17 GB, free: 31.48 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/3.561, allocations: 169.6 kB / 2.17 GB, free: 31.32 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/3.561, allocations: 0 / 2.17 GB, free: 31.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000109/3.561, allocations: 330 kB / 2.17 GB, free: 30.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/3.562, allocations: 417.4 kB / 2.171 GB, free: 30.58 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/3.562, allocations: 0.589 MB / 2.171 GB, free: 29.92 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/3.564, allocations: 457.8 kB / 2.172 GB, free: 29.47 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/3.564, allocations: 0 / 2.172 GB, free: 29.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002206/3.566, allocations: 1.099 MB / 2.173 GB, free: 28.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/3.566, allocations: 1.239 MB / 2.174 GB, free: 27.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/3.566, allocations: 4 kB / 2.174 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/3.566, allocations: 4 kB / 2.174 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/3.567, allocations: 167.7 kB / 2.174 GB, free: 26.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/3.567, allocations: 4 kB / 2.174 GB, free: 26.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/3.568, allocations: 119.4 kB / 2.174 GB, free: 26.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.568, allocations: 51.97 kB / 2.175 GB, free: 26.69 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/3.568, allocations: 4 kB / 2.175 GB, free: 26.69 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001778/3.57, allocations: 0.9577 MB / 2.175 GB, free: 25.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/3.57, allocations: 8.391 kB / 2.175 GB, free: 25.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/3.57, allocations: 8 kB / 2.175 GB, free: 25.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/3.571, allocations: 163.7 kB / 2.176 GB, free: 25.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/3.571, allocations: 7.938 kB / 2.176 GB, free: 25.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/3.572, allocations: 107.5 kB / 2.176 GB, free: 25.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/3.572, allocations: 55.95 kB / 2.176 GB, free: 25.39 MB / 1.151 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.000225/3.572, allocations: 135 kB / 2.176 GB, free: 25.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/3.572, allocations: 114.6 kB / 2.176 GB, free: 25.13 MB / 1.151 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). Warning: Equation 56 (size: 1) iceTan.tanHeaTra.QMin_flow.y = min(iceTan.limQ_flow.y, iceTan.tanHeaTra.QCoe_flow.y) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/3.574, allocations: 0.6636 MB / 2.177 GB, free: 24.47 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.