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.354/2.354, allocations: 390.3 MB / 405.3 MB, free: 13.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.001012/0.001011, allocations: 163.4 kB / 498.1 MB, free: 5.75 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.486/1.486, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001015/0.001015, allocations: 94.89 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004153, allocations: 13.41 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3218, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.595, allocations: 475.2 MB / 1.687 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/1.595, allocations: 106.4 kB / 1.687 GB, free: 8.184 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.171/4.766, allocations: 0.7772 GB / 2.464 GB, free: 219 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.908e-06/4.766, allocations: 0 / 2.464 GB, free: 219 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004562/4.767, allocations: 64.45 kB / 2.464 GB, free: 219 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.01355/4.78, allocations: 3.253 MB / 2.468 GB, free: 217.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/4.78, allocations: 12.09 kB / 2.468 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001169/4.782, allocations: 191.8 kB / 2.468 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/4.787, allocations: 0.6685 MB / 2.468 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/4.795, allocations: 2.294 MB / 2.471 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/4.795, allocations: 236.2 kB / 2.471 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006587/4.796, allocations: 145.1 kB / 2.471 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/4.802, allocations: 2.008 MB / 2.473 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/4.802, allocations: 3.656 kB / 2.473 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/4.802, allocations: 54.09 kB / 2.473 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/4.802, allocations: 37.17 kB / 2.473 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/4.807, allocations: 2.055 MB / 2.475 GB, free: 216.4 MB / 1.151 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.01592/4.823, allocations: 8.223 MB / 2.483 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/4.826, allocations: 1.431 MB / 2.484 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/4.826, allocations: 0.5065 MB / 2.485 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/4.829, allocations: 1.246 MB / 2.486 GB, free: 213.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 4.047e-06/4.829, allocations: 0 / 2.486 GB, free: 213.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.007762/4.837, allocations: 3.325 MB / 2.489 GB, free: 212.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/4.837, allocations: 121.6 kB / 2.49 GB, free: 212.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/4.841, allocations: 1.755 MB / 2.491 GB, free: 212.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/4.841, allocations: 66.05 kB / 2.491 GB, free: 212.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/4.842, allocations: 0.9315 MB / 2.492 GB, free: 212.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/4.843, allocations: 289.1 kB / 2.493 GB, free: 212 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/4.843, allocations: 17.47 kB / 2.493 GB, free: 212 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001457/4.843, allocations: 351.9 kB / 2.493 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/4.845, allocations: 0.8804 MB / 2.494 GB, free: 211.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/4.847, allocations: 1.164 MB / 2.495 GB, free: 210.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/4.849, allocations: 0.8244 MB / 2.496 GB, free: 210.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/4.849, allocations: 3.812 kB / 2.496 GB, free: 210.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005216/4.854, allocations: 2.267 MB / 2.498 GB, free: 209.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004393/4.855, allocations: 1.785 MB / 2.5 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/4.855, allocations: 2.781 kB / 2.5 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/4.855, allocations: 94.61 kB / 2.5 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/4.856, allocations: 258.4 kB / 2.5 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000571/4.857, allocations: 0.6647 MB / 2.501 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/4.859, allocations: 231.1 kB / 2.501 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/4.86, allocations: 101.9 kB / 2.501 GB, free: 206.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/4.86, allocations: 3.625 kB / 2.501 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004968/4.865, allocations: 2.09 MB / 2.503 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/4.865, allocations: 6.719 kB / 2.503 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/4.865, allocations: 89.88 kB / 2.503 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/4.866, allocations: 254.8 kB / 2.503 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/4.869, allocations: 1.884 MB / 2.505 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/4.871, allocations: 224.1 kB / 2.505 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/4.871, allocations: 97.64 kB / 2.505 GB, free: 204.4 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 () * 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.001616/4.873, allocations: 0.6096 MB / 2.506 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/4.874, allocations: 207.7 kB / 2.506 GB, free: 203.9 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.003031/4.877, allocations: 1.156 MB / 2.507 GB, free: 203.4 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.