Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.Discharging2,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2",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.262/2.262, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.001159/0.00116, allocations: 183.8 kB / 0.4901 GB, free: 2.293 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.497/1.497, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001044/0.001044, allocations: 100.3 kB / 0.9396 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 9.625 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2956, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.584, allocations: 479.3 MB / 1.697 GB, free: 12.29 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.584, allocations: 112.1 kB / 1.697 GB, free: 12.22 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.78/3.364, allocations: 490.4 MB / 2.176 GB, free: 133.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.824e-06/3.364, allocations: 0 / 2.176 GB, free: 133.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002215/3.365, allocations: 31.98 kB / 2.176 GB, free: 133.6 MB / 1.167 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.006347/3.371, allocations: 2.095 MB / 2.178 GB, free: 131.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/3.371, allocations: 8.031 kB / 2.178 GB, free: 131.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/3.371, allocations: 122.6 kB / 2.179 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/3.374, allocations: 369.8 kB / 2.179 GB, free: 130.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/3.377, allocations: 1.349 MB / 2.18 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/3.377, allocations: 125.4 kB / 2.18 GB, free: 129.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/3.378, allocations: 88 kB / 2.18 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/3.38, allocations: 1.148 MB / 2.182 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/3.38, allocations: 4 kB / 2.182 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/3.38, allocations: 32 kB / 2.182 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/3.38, allocations: 27.88 kB / 2.182 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/3.382, allocations: 1.128 MB / 2.183 GB, free: 126.9 MB / 1.167 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.006843/3.389, allocations: 4.919 MB / 2.188 GB, free: 121.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/3.391, allocations: 0.8294 MB / 2.188 GB, free: 121 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/3.391, allocations: 0.5822 MB / 2.189 GB, free: 120.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/3.392, allocations: 0.6753 MB / 2.19 GB, free: 119.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.985e-06/3.392, allocations: 0 / 2.19 GB, free: 119.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003295/3.395, allocations: 1.579 MB / 2.191 GB, free: 118 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/3.395, allocations: 115.2 kB / 2.191 GB, free: 117.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/3.398, allocations: 1.027 MB / 2.192 GB, free: 116.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/3.398, allocations: 45.7 kB / 2.192 GB, free: 116.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/3.398, allocations: 0.5589 MB / 2.193 GB, free: 116.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/3.398, allocations: 177.5 kB / 2.193 GB, free: 116 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/3.398, allocations: 12 kB / 2.193 GB, free: 116 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/3.399, allocations: 330 kB / 2.193 GB, free: 115.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009241/3.4, allocations: 481.2 kB / 2.194 GB, free: 115.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009884/3.401, allocations: 0.6528 MB / 2.194 GB, free: 114.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/3.401, allocations: 455.9 kB / 2.195 GB, free: 114 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/3.401, allocations: 4 kB / 2.195 GB, free: 114 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002741/3.404, allocations: 1.185 MB / 2.196 GB, free: 112.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004286/3.405, allocations: 1.236 MB / 2.197 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/3.405, allocations: 4 kB / 2.197 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.79e-05/3.405, allocations: 4 kB / 2.197 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/3.406, allocations: 175.7 kB / 2.197 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/3.406, allocations: 7.938 kB / 2.197 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/3.407, allocations: 127.4 kB / 2.197 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/3.407, allocations: 55.97 kB / 2.198 GB, free: 111.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/3.407, allocations: 4.781 kB / 2.198 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/3.409, allocations: 1.051 MB / 2.199 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/3.409, allocations: 4.406 kB / 2.199 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/3.409, allocations: 12 kB / 2.199 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/3.41, allocations: 167.7 kB / 2.199 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/3.41, allocations: 11.89 kB / 2.199 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/3.411, allocations: 123.4 kB / 2.199 GB, free: 109.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/3.411, allocations: 51.97 kB / 2.199 GB, free: 109.7 MB / 1.167 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 () * Number of clocked 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.0008841/3.412, allocations: 408.7 kB / 2.199 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/3.413, allocations: 118.6 kB / 2.199 GB, free: 109.2 MB / 1.167 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.001793/3.415, allocations: 0.6759 MB / 2.2 GB, free: 108.5 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.