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.507/2.507, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001246/0.001246, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008656/0.0008657, allocations: 79.97 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.131e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3666, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.514/1.881, allocations: 476 MB / 1.684 GB, free: 6.469 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.881, allocations: 95.94 kB / 1.684 GB, free: 6.375 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.389/5.271, allocations: 0.7753 GB / 2.459 GB, free: 85.25 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.254e-06/5.271, allocations: 0 / 2.459 GB, free: 85.25 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0003874/5.271, allocations: 55.92 kB / 2.459 GB, free: 85.2 MB / 1.135 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.009601/5.281, allocations: 2.831 MB / 2.462 GB, free: 82.29 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/5.281, allocations: 8.031 kB / 2.462 GB, free: 82.28 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004623/5.285, allocations: 0.6729 MB / 2.462 GB, free: 81.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/5.291, allocations: 2.265 MB / 2.465 GB, free: 79.26 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/5.292, allocations: 237.3 kB / 2.465 GB, free: 79 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/5.292, allocations: 139.9 kB / 2.465 GB, free: 78.87 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/5.296, allocations: 1.887 MB / 2.467 GB, free: 76.92 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/5.296, allocations: 7.938 kB / 2.467 GB, free: 76.91 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/5.297, allocations: 60 kB / 2.467 GB, free: 76.85 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/5.297, allocations: 35.98 kB / 2.467 GB, free: 76.82 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/5.3, allocations: 1.833 MB / 2.469 GB, free: 74.98 MB / 1.135 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.01376/5.314, allocations: 8.238 MB / 2.477 GB, free: 66.42 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/5.315, allocations: 1.297 MB / 2.478 GB, free: 65.11 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/5.317, allocations: 0.9104 MB / 2.479 GB, free: 64.19 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/5.317, allocations: 0.5111 MB / 2.479 GB, free: 63.57 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/5.319, allocations: 1.139 MB / 2.481 GB, free: 62.41 MB / 1.135 GB Notification: Performance of pre-optimization done (n=94): time 5.41e-06/5.319, allocations: 0 / 2.481 GB, free: 62.41 MB / 1.135 GB Notification: Performance of matching and sorting (n=94): time 0.004158/5.323, allocations: 1.956 MB / 2.482 GB, free: 60.43 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/5.323, allocations: 123.6 kB / 2.483 GB, free: 60.29 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/5.328, allocations: 1.734 MB / 2.484 GB, free: 58.51 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0002499/5.328, allocations: 61.69 kB / 2.484 GB, free: 58.45 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/5.329, allocations: 0.9218 MB / 2.485 GB, free: 57.52 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/5.33, allocations: 307.8 kB / 2.486 GB, free: 57.21 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/5.33, allocations: 16 kB / 2.486 GB, free: 57.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.33, allocations: 345.9 kB / 2.486 GB, free: 56.85 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/5.331, allocations: 0.7754 MB / 2.487 GB, free: 56.07 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/5.332, allocations: 1.045 MB / 2.488 GB, free: 54.93 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/5.333, allocations: 0.7232 MB / 2.488 GB, free: 54.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/5.333, allocations: 0 / 2.488 GB, free: 54.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003559/5.337, allocations: 2.055 MB / 2.49 GB, free: 52.12 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/5.337, allocations: 1.786 MB / 2.492 GB, free: 50.21 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/5.337, allocations: 8 kB / 2.492 GB, free: 50.21 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/5.338, allocations: 120.6 kB / 2.492 GB, free: 50.09 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/5.339, allocations: 255.6 kB / 2.492 GB, free: 49.84 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004917/5.339, allocations: 0.6761 MB / 2.493 GB, free: 49.14 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/5.341, allocations: 235 kB / 2.493 GB, free: 48.91 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/5.342, allocations: 99.92 kB / 2.493 GB, free: 48.81 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/5.342, allocations: 4 kB / 2.493 GB, free: 48.8 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002643/5.344, allocations: 1.868 MB / 2.495 GB, free: 46.93 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/5.344, allocations: 11.95 kB / 2.495 GB, free: 46.92 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/5.345, allocations: 101.2 kB / 2.495 GB, free: 46.82 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/5.346, allocations: 255.5 kB / 2.496 GB, free: 46.57 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/5.348, allocations: 2.021 MB / 2.498 GB, free: 44.39 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/5.35, allocations: 215.2 kB / 2.498 GB, free: 44.18 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/5.35, allocations: 99.92 kB / 2.498 GB, free: 44.08 MB / 1.135 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.0004588/5.35, allocations: 226.6 kB / 2.498 GB, free: 43.85 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/5.351, allocations: 197.7 kB / 2.498 GB, free: 43.65 MB / 1.135 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.002148/5.353, allocations: 1.055 MB / 2.499 GB, free: 42.59 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.