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.403/2.403, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.00108/0.00108, allocations: 175.6 kB / 492.3 MB, free: 0.6094 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.505/1.505, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009026/0.0009026, allocations: 99.41 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.011e-05/5.033e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3335, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.739, allocations: 475.2 MB / 1.676 GB, free: 5.055 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/1.739, allocations: 99.38 kB / 1.677 GB, free: 5.004 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.292/5.031, allocations: 0.7753 GB / 2.452 GB, free: 183.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.28e-06/5.032, allocations: 0 / 2.452 GB, free: 183.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000312/5.032, allocations: 55.81 kB / 2.452 GB, free: 183.2 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.0131/5.045, allocations: 2.832 MB / 2.455 GB, free: 180.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.913e-05/5.045, allocations: 8.031 kB / 2.455 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/5.05, allocations: 0.6701 MB / 2.455 GB, free: 179.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006109/5.056, allocations: 2.265 MB / 2.457 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/5.057, allocations: 241.2 kB / 2.458 GB, free: 177.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/5.057, allocations: 140 kB / 2.458 GB, free: 176.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/5.06, allocations: 1.894 MB / 2.46 GB, free: 175 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/5.06, allocations: 0 / 2.46 GB, free: 175 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/5.06, allocations: 52 kB / 2.46 GB, free: 174.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/5.06, allocations: 35.17 kB / 2.46 GB, free: 174.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/5.063, allocations: 1.841 MB / 2.462 GB, free: 173 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.01136/5.074, allocations: 8.225 MB / 2.47 GB, free: 164.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/5.076, allocations: 1.314 MB / 2.471 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/5.077, allocations: 0.904 MB / 2.472 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/5.077, allocations: 0.5111 MB / 2.472 GB, free: 161.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/5.078, allocations: 1.135 MB / 2.473 GB, free: 160.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 2.555e-06/5.078, allocations: 0 / 2.473 GB, free: 160.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.00307/5.082, allocations: 1.96 MB / 2.475 GB, free: 158.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/5.082, allocations: 119.6 kB / 2.475 GB, free: 158.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/5.084, allocations: 1.738 MB / 2.477 GB, free: 156.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/5.084, allocations: 57.7 kB / 2.477 GB, free: 156.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/5.085, allocations: 0.9296 MB / 2.478 GB, free: 155.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/5.085, allocations: 295.8 kB / 2.478 GB, free: 155.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/5.085, allocations: 24 kB / 2.478 GB, free: 155.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/5.085, allocations: 345.9 kB / 2.479 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/5.086, allocations: 0.7793 MB / 2.479 GB, free: 154.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/5.087, allocations: 1.036 MB / 2.48 GB, free: 153 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/5.088, allocations: 0.7156 MB / 2.481 GB, free: 152.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/5.088, allocations: 8 kB / 2.481 GB, free: 152.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003065/5.091, allocations: 2.063 MB / 2.483 GB, free: 150.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004349/5.091, allocations: 1.782 MB / 2.485 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/5.092, allocations: 4 kB / 2.485 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/5.092, allocations: 108.5 kB / 2.485 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/5.093, allocations: 255.6 kB / 2.485 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005307/5.094, allocations: 0.6889 MB / 2.486 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/5.096, allocations: 223.1 kB / 2.486 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/5.096, allocations: 99.92 kB / 2.486 GB, free: 146.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/5.096, allocations: 4 kB / 2.486 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002612/5.099, allocations: 1.884 MB / 2.488 GB, free: 145 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/5.099, allocations: 4 kB / 2.488 GB, free: 145 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/5.099, allocations: 93.17 kB / 2.488 GB, free: 144.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/5.1, allocations: 263.5 kB / 2.488 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/5.102, allocations: 2.039 MB / 2.49 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/5.104, allocations: 211.2 kB / 2.491 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/5.105, allocations: 99.92 kB / 2.491 GB, free: 142.2 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.000523/5.105, allocations: 219.7 kB / 2.491 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/5.105, allocations: 197.6 kB / 2.491 GB, free: 141.8 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 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.001999/5.107, allocations: 1.051 MB / 2.492 GB, free: 140.7 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.