Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",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.487/2.487, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001219/0.001219, allocations: 184 kB / 0.4901 GB, free: 2.234 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.548/1.548, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001129/0.001129, allocations: 104.3 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003798, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.562, allocations: 479.3 MB / 1.697 GB, free: 228 kB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.563, allocations: 109.6 kB / 1.697 GB, free: 164 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.66/3.223, allocations: 490.4 MB / 2.176 GB, free: 152.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.433e-06/3.223, allocations: 0 / 2.176 GB, free: 152.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002014/3.223, allocations: 39.98 kB / 2.176 GB, free: 152.2 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.006241/3.229, allocations: 2.091 MB / 2.178 GB, free: 150 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/3.229, allocations: 8.828 kB / 2.178 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004229/3.23, allocations: 126.6 kB / 2.179 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/3.232, allocations: 369.8 kB / 2.179 GB, free: 149.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/3.236, allocations: 1.345 MB / 2.18 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/3.236, allocations: 125.4 kB / 2.18 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/3.236, allocations: 84 kB / 2.18 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/3.239, allocations: 1.159 MB / 2.182 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/3.239, allocations: 11.88 kB / 2.182 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/3.239, allocations: 31.98 kB / 2.182 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/3.239, allocations: 20 kB / 2.182 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/3.241, allocations: 1.128 MB / 2.183 GB, free: 145.5 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.007374/3.248, allocations: 4.927 MB / 2.188 GB, free: 140.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/3.25, allocations: 0.8183 MB / 2.188 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004454/3.25, allocations: 0.5861 MB / 2.189 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/3.252, allocations: 0.6678 MB / 2.19 GB, free: 138.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 3.316e-06/3.252, allocations: 7.938 kB / 2.19 GB, free: 138.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003354/3.255, allocations: 1.575 MB / 2.191 GB, free: 136.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/3.255, allocations: 115.2 kB / 2.191 GB, free: 136.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/3.257, allocations: 1.023 MB / 2.192 GB, free: 135.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/3.257, allocations: 45.7 kB / 2.192 GB, free: 135.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/3.257, allocations: 0.5667 MB / 2.193 GB, free: 134.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/3.258, allocations: 177.5 kB / 2.193 GB, free: 134.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/3.258, allocations: 12 kB / 2.193 GB, free: 134.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/3.258, allocations: 330 kB / 2.193 GB, free: 134.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008771/3.259, allocations: 489 kB / 2.194 GB, free: 133.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/3.26, allocations: 0.6516 MB / 2.194 GB, free: 133 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/3.261, allocations: 452 kB / 2.195 GB, free: 132.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/3.261, allocations: 0 / 2.195 GB, free: 132.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002325/3.263, allocations: 1.177 MB / 2.196 GB, free: 131.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002853/3.263, allocations: 1.237 MB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/3.263, allocations: 8 kB / 2.197 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/3.263, allocations: 11.98 kB / 2.197 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/3.264, allocations: 167.6 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/3.264, allocations: 4 kB / 2.197 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/3.265, allocations: 127.3 kB / 2.197 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/3.265, allocations: 63.95 kB / 2.198 GB, free: 129.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/3.265, allocations: 4 kB / 2.198 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001959/3.267, allocations: 1.051 MB / 2.199 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/3.267, allocations: 4 kB / 2.199 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/3.267, allocations: 7.984 kB / 2.199 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/3.268, allocations: 168 kB / 2.199 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/3.268, allocations: 15.89 kB / 2.199 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/3.269, allocations: 119.4 kB / 2.199 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/3.269, allocations: 59.95 kB / 2.199 GB, free: 128.3 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.0007901/3.27, allocations: 395.2 kB / 2.199 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/3.27, allocations: 118.6 kB / 2.199 GB, free: 127.8 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.001572/3.272, allocations: 0.672 MB / 2.2 GB, free: 127.1 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.