Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.184/2.184, allocations: 390.5 MB / 398 MB, free: 10.92 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.001408/0.001408, allocations: 175.6 kB / 491.2 MB, free: 1.539 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.403/1.403, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001058/0.001058, allocations: 99.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.485e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.597, allocations: 478.6 MB / 1.68 GB, free: 1.586 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.598, allocations: 106.3 kB / 1.68 GB, free: 1.531 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.88/3.478, allocations: 486.5 MB / 2.155 GB, free: 47.27 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/3.478, allocations: 0 / 2.155 GB, free: 47.27 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002202/3.478, allocations: 39.92 kB / 2.155 GB, free: 47.23 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00516/3.483, allocations: 1.838 MB / 2.157 GB, free: 45.33 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/3.483, allocations: 8.031 kB / 2.157 GB, free: 45.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/3.485, allocations: 361.9 kB / 2.157 GB, free: 44.97 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/3.489, allocations: 1.337 MB / 2.158 GB, free: 43.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/3.489, allocations: 105.4 kB / 2.159 GB, free: 43.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/3.489, allocations: 52 kB / 2.159 GB, free: 43.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/3.491, allocations: 0.9645 MB / 2.16 GB, free: 42.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/3.492, allocations: 0.9839 MB / 2.16 GB, free: 41.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/3.492, allocations: 4 kB / 2.16 GB, free: 41.42 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/3.492, allocations: 3.984 kB / 2.16 GB, free: 41.42 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/3.493, allocations: 24 kB / 2.161 GB, free: 41.39 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.006549/3.499, allocations: 4.771 MB / 2.165 GB, free: 36.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/3.5, allocations: 0.7428 MB / 2.166 GB, free: 35.65 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/3.501, allocations: 488.2 kB / 2.166 GB, free: 35.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/3.501, allocations: 0.5822 MB / 2.167 GB, free: 34.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/3.502, allocations: 0.5966 MB / 2.168 GB, free: 33.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.976e-06/3.502, allocations: 4 kB / 2.168 GB, free: 33.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002258/3.504, allocations: 1.049 MB / 2.169 GB, free: 32.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/3.504, allocations: 111.2 kB / 2.169 GB, free: 32.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/3.505, allocations: 0.9392 MB / 2.17 GB, free: 31.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/3.506, allocations: 33.7 kB / 2.17 GB, free: 31.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/3.506, allocations: 0.5548 MB / 2.17 GB, free: 31.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/3.506, allocations: 169.5 kB / 2.17 GB, free: 30.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/3.506, allocations: 4.031 kB / 2.17 GB, free: 30.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/3.506, allocations: 330 kB / 2.171 GB, free: 30.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/3.507, allocations: 421.4 kB / 2.171 GB, free: 30.19 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/3.507, allocations: 0.5833 MB / 2.172 GB, free: 29.53 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/3.509, allocations: 453.8 kB / 2.172 GB, free: 29.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/3.509, allocations: 4 kB / 2.172 GB, free: 29.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002094/3.511, allocations: 1.103 MB / 2.173 GB, free: 27.97 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003003/3.511, allocations: 1.24 MB / 2.174 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/3.511, allocations: 0 / 2.174 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/3.511, allocations: 8 kB / 2.174 GB, free: 26.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/3.512, allocations: 167.7 kB / 2.174 GB, free: 26.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/3.512, allocations: 11.94 kB / 2.174 GB, free: 26.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/3.513, allocations: 107.4 kB / 2.175 GB, free: 26.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/3.513, allocations: 59.95 kB / 2.175 GB, free: 26.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/3.513, allocations: 5.406 kB / 2.175 GB, free: 26.29 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/3.515, allocations: 0.9577 MB / 2.176 GB, free: 25.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/3.515, allocations: 4 kB / 2.176 GB, free: 25.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/3.515, allocations: 4 kB / 2.176 GB, free: 25.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/3.515, allocations: 172.1 kB / 2.176 GB, free: 25.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/3.515, allocations: 12 kB / 2.176 GB, free: 25.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/3.517, allocations: 107.4 kB / 2.176 GB, free: 25.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/3.517, allocations: 55.95 kB / 2.176 GB, free: 24.99 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$PRE.dat.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$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,dat.nextTimeEvent,$PRE.dat.nextTimeEventScaled,dat.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/3.517, allocations: 131 kB / 2.176 GB, free: 24.85 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002065/3.519, allocations: 1.045 MB / 2.177 GB, free: 23.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/3.519, allocations: 118.6 kB / 2.177 GB, free: 23.68 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 61 equation(s) and 60 variable(s). Warning: Equation 56 (size: 1) iceTan.tanHeaTra.QMin_flow.y = min(iceTan.limQ_flow.y, iceTan.tanHeaTra.QCoe_flow.y) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/3.521, allocations: 0.6636 MB / 2.178 GB, free: 23.02 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.