Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.Tank.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.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_latest_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_latest_Buildings.Fluid.Storage.Ice.Validation.Tank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.296/2.296, allocations: 393.5 MB / 408.4 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.001109/0.001109, allocations: 189.8 kB / 0.4902 GB, free: 2.227 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.621/1.621, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001088/0.001088, allocations: 99.64 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004291, allocations: 14.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.397, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/1.814, allocations: 476 MB / 1.694 GB, free: 3.445 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.814, allocations: 98.02 kB / 1.694 GB, free: 3.395 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.347/5.162, allocations: 0.7772 GB / 2.471 GB, free: 223.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/5.162, allocations: 0 / 2.471 GB, free: 223.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004826/5.162, allocations: 56.08 kB / 2.471 GB, free: 223.6 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.01351/5.176, allocations: 3.258 MB / 2.475 GB, free: 222 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.508e-05/5.176, allocations: 9.875 kB / 2.475 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0065/5.183, allocations: 0.6765 MB / 2.475 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007292/5.19, allocations: 2.276 MB / 2.477 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/5.19, allocations: 242.2 kB / 2.478 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/5.191, allocations: 149.5 kB / 2.478 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/5.196, allocations: 2.011 MB / 2.48 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/5.196, allocations: 4.375 kB / 2.48 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/5.196, allocations: 49.38 kB / 2.48 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/5.196, allocations: 32.81 kB / 2.48 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006382/5.203, allocations: 2.065 MB / 2.482 GB, free: 221.1 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.01279/5.216, allocations: 8.224 MB / 2.49 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/5.218, allocations: 1.42 MB / 2.491 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004275/5.219, allocations: 0.5127 MB / 2.492 GB, free: 218 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002151/5.221, allocations: 1.248 MB / 2.493 GB, free: 217.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 2.525e-06/5.221, allocations: 3.844 kB / 2.493 GB, free: 217.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.006953/5.228, allocations: 3.311 MB / 2.496 GB, free: 217.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/5.228, allocations: 120.9 kB / 2.496 GB, free: 217.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/5.231, allocations: 1.763 MB / 2.498 GB, free: 217.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/5.231, allocations: 64.23 kB / 2.498 GB, free: 217.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008852/5.232, allocations: 0.9302 MB / 2.499 GB, free: 216.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/5.232, allocations: 296.4 kB / 2.499 GB, free: 216.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/5.232, allocations: 18.56 kB / 2.499 GB, free: 216.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/5.232, allocations: 348.4 kB / 2.5 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/5.234, allocations: 0.881 MB / 2.501 GB, free: 216.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/5.236, allocations: 1.157 MB / 2.502 GB, free: 216.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/5.237, allocations: 0.8286 MB / 2.503 GB, free: 216 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/5.237, allocations: 0 / 2.503 GB, free: 216 MB / 1.167 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004711/5.242, allocations: 2.277 MB / 2.505 GB, free: 215.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004427/5.243, allocations: 1.778 MB / 2.506 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/5.243, allocations: 7.688 kB / 2.506 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/5.243, allocations: 97.31 kB / 2.507 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/5.244, allocations: 257.3 kB / 2.507 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004861/5.245, allocations: 0.6682 MB / 2.507 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/5.247, allocations: 223.8 kB / 2.508 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/5.247, allocations: 103.5 kB / 2.508 GB, free: 213.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/5.247, allocations: 7.781 kB / 2.508 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004003/5.251, allocations: 2.091 MB / 2.51 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/5.251, allocations: 7.25 kB / 2.51 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/5.251, allocations: 90.91 kB / 2.51 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/5.252, allocations: 261.6 kB / 2.51 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/5.254, allocations: 1.874 MB / 2.512 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/5.257, allocations: 228.2 kB / 2.512 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/5.257, allocations: 99.91 kB / 2.512 GB, free: 211.9 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.001509/5.258, allocations: 0.6071 MB / 2.513 GB, free: 211.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000575/5.259, allocations: 200.2 kB / 2.513 GB, free: 211.6 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.002845/5.262, allocations: 1.162 MB / 2.514 GB, free: 211.5 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.