Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.Charging,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging",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.106/2.106, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001185/0.001185, allocations: 184.9 kB / 496.1 MB, free: 12.86 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.456/1.456, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009184/0.0009185, allocations: 91.7 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.603e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.268/1.573, allocations: 479.3 MB / 1.687 GB, free: 3.047 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.573, allocations: 99.94 kB / 1.687 GB, free: 2.949 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.258/3.831, allocations: 488.9 MB / 2.164 GB, free: 245 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.482e-06/3.831, allocations: 1.156 kB / 2.164 GB, free: 245 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001178/3.831, allocations: 31.64 kB / 2.164 GB, free: 245 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003781/3.835, allocations: 1.84 MB / 2.166 GB, free: 244.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/3.835, allocations: 9.094 kB / 2.166 GB, free: 244.5 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/3.835, allocations: 122.2 kB / 2.166 GB, free: 244.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/3.837, allocations: 369.2 kB / 2.167 GB, free: 244.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/3.84, allocations: 1.338 MB / 2.168 GB, free: 244.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/3.84, allocations: 128.7 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/3.84, allocations: 83.88 kB / 2.168 GB, free: 244 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/3.842, allocations: 1.087 MB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/3.842, allocations: 5.156 kB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/3.842, allocations: 36.23 kB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/3.842, allocations: 22.98 kB / 2.169 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/3.843, allocations: 1.01 MB / 2.17 GB, free: 243.9 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.006014/3.849, allocations: 4.926 MB / 2.175 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/3.851, allocations: 0.7595 MB / 2.176 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/3.851, allocations: 496.7 kB / 2.176 GB, free: 242.1 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/3.852, allocations: 0.5865 MB / 2.177 GB, free: 241.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008036/3.852, allocations: 0.6237 MB / 2.178 GB, free: 241.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.585e-06/3.852, allocations: 4.469 kB / 2.178 GB, free: 241.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.001599/3.854, allocations: 0.9956 MB / 2.179 GB, free: 241.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/3.854, allocations: 115.7 kB / 2.179 GB, free: 241.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/3.855, allocations: 1.013 MB / 2.18 GB, free: 241 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/3.855, allocations: 48.5 kB / 2.18 GB, free: 240.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/3.856, allocations: 0.5602 MB / 2.18 GB, free: 240.8 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/3.856, allocations: 175.3 kB / 2.18 GB, free: 240.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/3.856, allocations: 9.781 kB / 2.18 GB, free: 240.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/3.856, allocations: 332.4 kB / 2.181 GB, free: 240.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/3.857, allocations: 425.7 kB / 2.181 GB, free: 240.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/3.857, allocations: 0.5977 MB / 2.182 GB, free: 240.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/3.858, allocations: 394 kB / 2.182 GB, free: 240.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/3.858, allocations: 1.188 kB / 2.182 GB, free: 240.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001553/3.859, allocations: 1.08 MB / 2.183 GB, free: 240.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/3.86, allocations: 1.236 MB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/3.86, allocations: 6.562 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/3.86, allocations: 5.812 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/3.86, allocations: 161 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/3.86, allocations: 6.031 kB / 2.184 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/3.861, allocations: 137 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/3.861, allocations: 55.64 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/3.861, allocations: 4.312 kB / 2.185 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/3.863, allocations: 0.9483 MB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/3.863, allocations: 3.719 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/3.863, allocations: 6.281 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/3.864, allocations: 167.2 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/3.864, allocations: 9.5 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/3.865, allocations: 120.4 kB / 2.186 GB, free: 238.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/3.865, allocations: 53.19 kB / 2.186 GB, free: 238.8 MB / 1.135 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.0002337/3.865, allocations: 164.2 kB / 2.186 GB, free: 238.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/3.865, allocations: 114 kB / 2.186 GB, free: 238.6 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 61 equation(s) and 60 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/3.866, allocations: 0.6159 MB / 2.187 GB, free: 238.6 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.