Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.ExperimentNIST.Discharging2,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.0009797/0.0009795, allocations: 183.7 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.526/1.526, 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.001071/0.001071, allocations: 87.53 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.238e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3191, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/1.65, allocations: 478.5 MB / 1.68 GB, free: 1.746 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.65, allocations: 113.2 kB / 1.68 GB, free: 1.68 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.777/3.427, allocations: 489 MB / 2.157 GB, free: 44.95 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.012e-06/3.427, allocations: 0 / 2.157 GB, free: 44.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001723/3.427, allocations: 31.98 kB / 2.157 GB, free: 44.91 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.004485/3.432, allocations: 1.846 MB / 2.159 GB, free: 43.01 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/3.432, allocations: 8.031 kB / 2.159 GB, free: 43 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/3.432, allocations: 126.6 kB / 2.159 GB, free: 42.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/3.434, allocations: 361.9 kB / 2.16 GB, free: 42.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/3.437, allocations: 1.337 MB / 2.161 GB, free: 41.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/3.438, allocations: 129.4 kB / 2.161 GB, free: 40.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/3.438, allocations: 83.98 kB / 2.161 GB, free: 40.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/3.44, allocations: 1.093 MB / 2.162 GB, free: 39.77 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/3.44, allocations: 3.953 kB / 2.162 GB, free: 39.77 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/3.44, allocations: 32 kB / 2.162 GB, free: 39.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/3.44, allocations: 23.98 kB / 2.162 GB, free: 39.71 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/3.441, allocations: 1.015 MB / 2.163 GB, free: 38.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.006642/3.448, allocations: 4.919 MB / 2.168 GB, free: 33.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/3.449, allocations: 0.7649 MB / 2.169 GB, free: 32.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/3.45, allocations: 498.4 kB / 2.169 GB, free: 32.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/3.45, allocations: 0.5865 MB / 2.17 GB, free: 31.58 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007878/3.451, allocations: 0.6245 MB / 2.17 GB, free: 30.94 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.226e-06/3.451, allocations: 0 / 2.17 GB, free: 30.94 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001793/3.453, allocations: 1.002 MB / 2.171 GB, free: 29.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/3.453, allocations: 115.2 kB / 2.172 GB, free: 29.79 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/3.454, allocations: 1.009 MB / 2.173 GB, free: 28.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/3.455, allocations: 45.7 kB / 2.173 GB, free: 28.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/3.455, allocations: 0.5706 MB / 2.173 GB, free: 28.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/3.455, allocations: 169.6 kB / 2.173 GB, free: 27.97 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/3.455, allocations: 12 kB / 2.173 GB, free: 27.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/3.455, allocations: 326 kB / 2.174 GB, free: 27.63 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/3.456, allocations: 425.4 kB / 2.174 GB, free: 27.21 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/3.457, allocations: 0.6021 MB / 2.175 GB, free: 26.54 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/3.457, allocations: 397 kB / 2.175 GB, free: 26.15 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/3.457, allocations: 0 / 2.175 GB, free: 26.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001702/3.459, allocations: 1.075 MB / 2.176 GB, free: 25.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003362/3.459, allocations: 1.237 MB / 2.177 GB, free: 23.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/3.459, allocations: 4 kB / 2.177 GB, free: 23.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/3.459, allocations: 12 kB / 2.177 GB, free: 23.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/3.46, allocations: 167.7 kB / 2.177 GB, free: 23.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/3.46, allocations: 8 kB / 2.177 GB, free: 23.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/3.461, allocations: 123.4 kB / 2.178 GB, free: 23.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/3.461, allocations: 55.91 kB / 2.178 GB, free: 23.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/3.461, allocations: 4 kB / 2.178 GB, free: 23.38 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/3.463, allocations: 0.9499 MB / 2.179 GB, free: 22.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/3.463, allocations: 4 kB / 2.179 GB, free: 22.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/3.463, allocations: 4 kB / 2.179 GB, free: 22.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/3.463, allocations: 172.1 kB / 2.179 GB, free: 22.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/3.463, allocations: 15.89 kB / 2.179 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/3.465, allocations: 123.4 kB / 2.179 GB, free: 22.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/3.465, allocations: 51.97 kB / 2.179 GB, free: 22.06 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.0002326/3.465, allocations: 147.1 kB / 2.179 GB, free: 21.91 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/3.465, allocations: 122.6 kB / 2.179 GB, free: 21.79 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). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/3.466, allocations: 0.617 MB / 2.18 GB, free: 21.17 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.