Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001033/0.001033, allocations: 172.9 kB / 487.4 MB, free: 5.066 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.43/1.43, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009069, allocations: 95.84 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.444e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.471, allocations: 477.8 MB / 1.673 GB, free: 10.06 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/1.471, allocations: 102.9 kB / 1.673 GB, free: 10 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.535/3.006, allocations: 486.5 MB / 2.148 GB, free: 58.52 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.283e-06/3.006, allocations: 0 / 2.148 GB, free: 58.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001089/3.006, allocations: 31.98 kB / 2.148 GB, free: 58.49 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.004071/3.01, allocations: 1.846 MB / 2.15 GB, free: 56.59 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/3.01, allocations: 8.031 kB / 2.15 GB, free: 56.58 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/3.012, allocations: 361.9 kB / 2.15 GB, free: 56.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/3.015, allocations: 1.33 MB / 2.151 GB, free: 54.84 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/3.015, allocations: 101.3 kB / 2.151 GB, free: 54.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/3.015, allocations: 55.98 kB / 2.151 GB, free: 54.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/3.016, allocations: 0.9683 MB / 2.152 GB, free: 53.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/3.018, allocations: 0.984 MB / 2.153 GB, free: 52.68 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/3.018, allocations: 3.953 kB / 2.153 GB, free: 52.68 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/3.018, allocations: 0 / 2.153 GB, free: 52.68 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/3.018, allocations: 20 kB / 2.153 GB, free: 52.66 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.005282/3.023, allocations: 4.79 MB / 2.158 GB, free: 47.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/3.024, allocations: 0.7307 MB / 2.159 GB, free: 46.91 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/3.025, allocations: 490.8 kB / 2.159 GB, free: 46.43 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/3.025, allocations: 0.5822 MB / 2.16 GB, free: 45.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000674/3.026, allocations: 0.608 MB / 2.16 GB, free: 45.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.134e-06/3.026, allocations: 4 kB / 2.16 GB, free: 45.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002126/3.028, allocations: 1.045 MB / 2.161 GB, free: 44.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/3.028, allocations: 115.2 kB / 2.162 GB, free: 43.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/3.029, allocations: 0.9315 MB / 2.162 GB, free: 42.96 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/3.029, allocations: 33.7 kB / 2.162 GB, free: 42.92 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/3.029, allocations: 0.5548 MB / 2.163 GB, free: 42.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/3.029, allocations: 165.6 kB / 2.163 GB, free: 42.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/3.03, allocations: 4.031 kB / 2.163 GB, free: 42.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/3.03, allocations: 337.9 kB / 2.163 GB, free: 41.85 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/3.03, allocations: 413.4 kB / 2.164 GB, free: 41.45 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/3.031, allocations: 0.5782 MB / 2.164 GB, free: 40.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/3.032, allocations: 465.8 kB / 2.165 GB, free: 40.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/3.032, allocations: 0 / 2.165 GB, free: 40.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001884/3.034, allocations: 1.095 MB / 2.166 GB, free: 39.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002324/3.034, allocations: 1.24 MB / 2.167 GB, free: 37.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/3.034, allocations: 11.97 kB / 2.167 GB, free: 37.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/3.034, allocations: 4 kB / 2.167 GB, free: 37.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/3.035, allocations: 175.7 kB / 2.167 GB, free: 37.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/3.035, allocations: 4 kB / 2.167 GB, free: 37.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009143/3.036, allocations: 111.4 kB / 2.167 GB, free: 37.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/3.036, allocations: 55.97 kB / 2.168 GB, free: 37.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/3.036, allocations: 5.719 kB / 2.168 GB, free: 37.55 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/3.037, allocations: 0.9577 MB / 2.168 GB, free: 36.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/3.037, allocations: 4 kB / 2.168 GB, free: 36.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/3.037, allocations: 4 kB / 2.168 GB, free: 36.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/3.038, allocations: 167.7 kB / 2.169 GB, free: 36.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/3.038, allocations: 12.28 kB / 2.169 GB, free: 36.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/3.039, allocations: 111.5 kB / 2.169 GB, free: 36.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/3.039, allocations: 55.97 kB / 2.169 GB, free: 36.25 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.0001944/3.039, allocations: 135.7 kB / 2.169 GB, free: 36.11 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001832/3.041, allocations: 1.037 MB / 2.17 GB, free: 35.06 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/3.041, allocations: 118.7 kB / 2.17 GB, free: 34.95 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.001675/3.043, allocations: 0.6597 MB / 2.171 GB, free: 34.27 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.