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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.Tank,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_Tank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.Tank,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_Tank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.123/2.123, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001165/0.001165, allocations: 172.9 kB / 492.3 MB, free: 0.6133 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.601/1.601, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0009846/0.0009846, allocations: 97.83 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.904e-05, allocations: 11.98 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.641, allocations: 475.2 MB / 1.677 GB, free: 4.98 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.641, allocations: 97.5 kB / 1.677 GB, free: 4.93 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.131/4.773, allocations: 0.7753 GB / 2.452 GB, free: 183.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.512e-06/4.773, allocations: 0 / 2.452 GB, free: 183.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003296/4.773, allocations: 55.98 kB / 2.452 GB, free: 183.1 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.009448/4.782, allocations: 2.828 MB / 2.455 GB, free: 180.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/4.782, allocations: 11.72 kB / 2.455 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008391/4.783, allocations: 190 kB / 2.455 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/4.788, allocations: 0.6707 MB / 2.456 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00743/4.796, allocations: 2.267 MB / 2.458 GB, free: 177 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/4.796, allocations: 237.2 kB / 2.458 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005687/4.796, allocations: 144 kB / 2.458 GB, free: 176.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/4.8, allocations: 1.889 MB / 2.46 GB, free: 174.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/4.8, allocations: 3.719 kB / 2.46 GB, free: 174.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/4.801, allocations: 59.94 kB / 2.46 GB, free: 174.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/4.801, allocations: 32 kB / 2.46 GB, free: 174.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/4.803, allocations: 1.841 MB / 2.462 GB, free: 172.7 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.01129/4.814, allocations: 8.223 MB / 2.47 GB, free: 164.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/4.816, allocations: 1.313 MB / 2.471 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/4.817, allocations: 0.9104 MB / 2.472 GB, free: 162 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/4.818, allocations: 0.515 MB / 2.473 GB, free: 161.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/4.819, allocations: 1.131 MB / 2.474 GB, free: 160.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 2.104e-06/4.819, allocations: 0 / 2.474 GB, free: 160.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.003404/4.822, allocations: 1.945 MB / 2.476 GB, free: 158.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/4.822, allocations: 131.5 kB / 2.476 GB, free: 158.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/4.825, allocations: 1.741 MB / 2.477 GB, free: 156.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/4.825, allocations: 57.7 kB / 2.477 GB, free: 156.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/4.826, allocations: 0.9289 MB / 2.478 GB, free: 155.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/4.826, allocations: 295.8 kB / 2.479 GB, free: 155 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/4.826, allocations: 20 kB / 2.479 GB, free: 155 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/4.826, allocations: 345.9 kB / 2.479 GB, free: 154.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009343/4.827, allocations: 0.7754 MB / 2.48 GB, free: 153.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/4.828, allocations: 1.047 MB / 2.481 GB, free: 152.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/4.829, allocations: 0.7195 MB / 2.481 GB, free: 152 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/4.829, allocations: 7.938 kB / 2.481 GB, free: 152 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003036/4.832, allocations: 2.052 MB / 2.483 GB, free: 149.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000346/4.833, allocations: 1.783 MB / 2.485 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/4.833, allocations: 8 kB / 2.485 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/4.833, allocations: 112.6 kB / 2.485 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/4.834, allocations: 255.5 kB / 2.486 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004788/4.835, allocations: 0.6849 MB / 2.486 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/4.837, allocations: 231 kB / 2.486 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/4.837, allocations: 99.88 kB / 2.487 GB, free: 146.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/4.837, allocations: 4 kB / 2.487 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/4.84, allocations: 1.876 MB / 2.488 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/4.84, allocations: 4 kB / 2.488 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/4.84, allocations: 104.7 kB / 2.488 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/4.841, allocations: 259.8 kB / 2.489 GB, free: 144.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/4.843, allocations: 2.025 MB / 2.491 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/4.845, allocations: 215.2 kB / 2.491 GB, free: 142 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/4.845, allocations: 99.92 kB / 2.491 GB, free: 141.9 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.0003941/4.845, allocations: 219.6 kB / 2.491 GB, free: 141.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/4.846, allocations: 197.6 kB / 2.491 GB, free: 141.5 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.001841/4.847, allocations: 1.055 MB / 2.492 GB, free: 140.4 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.