Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank") translateModel(Buildings.Fluid.Storage.Ice.Validation.Tank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|iceTan.T|TSou.y.1.|iceTan.SOC|iceTanUnc.SOC|iceTan.mIce|iceTan.Q_flow|iceTanUnc.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.Tank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001397/0.001397, allocations: 177.1 kB / 498.1 MB, free: 5.758 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.663/1.663, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001093/0.001093, allocations: 99.77 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004389, allocations: 10.41 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4093, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.8, allocations: 475.2 MB / 1.687 GB, free: 3.234 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.8, allocations: 106.2 kB / 1.687 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.454/5.254, allocations: 0.7772 GB / 2.464 GB, free: 230.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.284e-06/5.254, allocations: 0 / 2.464 GB, free: 230.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002106/5.254, allocations: 53.42 kB / 2.464 GB, free: 230.2 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.009412/5.263, allocations: 3.253 MB / 2.467 GB, free: 228.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/5.263, allocations: 13.5 kB / 2.467 GB, free: 228.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/5.268, allocations: 0.6629 MB / 2.468 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/5.274, allocations: 2.289 MB / 2.47 GB, free: 228 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/5.274, allocations: 241.8 kB / 2.471 GB, free: 227.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/5.274, allocations: 142.5 kB / 2.471 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/5.278, allocations: 2.01 MB / 2.473 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/5.278, allocations: 0 / 2.473 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/5.278, allocations: 63.11 kB / 2.473 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/5.278, allocations: 37.36 kB / 2.473 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003946/5.282, allocations: 2.053 MB / 2.475 GB, free: 227.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.01262/5.295, allocations: 8.226 MB / 2.483 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/5.297, allocations: 1.423 MB / 2.484 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/5.298, allocations: 0.5048 MB / 2.485 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/5.3, allocations: 1.257 MB / 2.486 GB, free: 224.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 2.655e-06/5.3, allocations: 0 / 2.486 GB, free: 224.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.00692/5.307, allocations: 3.312 MB / 2.489 GB, free: 224.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/5.307, allocations: 128.5 kB / 2.489 GB, free: 223.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/5.31, allocations: 1.76 MB / 2.491 GB, free: 223.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/5.31, allocations: 67.09 kB / 2.491 GB, free: 223.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/5.311, allocations: 0.9228 MB / 2.492 GB, free: 223.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/5.311, allocations: 296 kB / 2.492 GB, free: 223.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/5.311, allocations: 20.94 kB / 2.492 GB, free: 223.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/5.311, allocations: 341 kB / 2.493 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/5.313, allocations: 0.8812 MB / 2.493 GB, free: 222.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/5.315, allocations: 1.166 MB / 2.495 GB, free: 222.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/5.317, allocations: 0.8263 MB / 2.495 GB, free: 222.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/5.317, allocations: 0 / 2.495 GB, free: 222.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004976/5.322, allocations: 2.27 MB / 2.498 GB, free: 222.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004033/5.322, allocations: 1.783 MB / 2.499 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/5.322, allocations: 3.25 kB / 2.499 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/5.322, allocations: 99.3 kB / 2.499 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/5.323, allocations: 258 kB / 2.5 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/5.324, allocations: 0.6686 MB / 2.5 GB, free: 220 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/5.326, allocations: 226.4 kB / 2.501 GB, free: 220 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/5.327, allocations: 101.5 kB / 2.501 GB, free: 220 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/5.327, allocations: 3.906 kB / 2.501 GB, free: 220 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004174/5.331, allocations: 2.087 MB / 2.503 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/5.331, allocations: 6.812 kB / 2.503 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/5.331, allocations: 95.56 kB / 2.503 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/5.332, allocations: 254.4 kB / 2.503 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/5.334, allocations: 1.877 MB / 2.505 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/5.336, allocations: 212 kB / 2.505 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/5.337, allocations: 103.4 kB / 2.505 GB, free: 218.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition6,$PRE.TSou.nextTimeEvent,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$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,TSou.nextTimeEvent,$PRE.TSou.nextTimeEventScaled,TSou.nextTimeEventScaled,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.iceTanUnc.tanHeaTra.SOCCalc.charged,iceTanUnc.tanHeaTra.SOCCalc.charged,$PRE.iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.discharged,iceTanUnc.tanHeaTra.SOCCalc.suspend,$PRE.iceTanUnc.tanHeaTra.canFreeze.lesHys.y,iceTanUnc.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTanUnc.tanHeaTra.canMelt.greHys.y,iceTanUnc.tanHeaTra.canMelt.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001513/5.338, allocations: 0.6096 MB / 2.506 GB, free: 218.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/5.339, allocations: 196.3 kB / 2.506 GB, free: 218.1 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 97 equation(s) and 95 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/5.341, allocations: 1.172 MB / 2.507 GB, free: 217.6 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.