Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.Charging,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001012/0.001012, allocations: 168.8 kB / 487.4 MB, free: 5.039 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.533/1.533, 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.0009434/0.0009434, allocations: 99.84 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.233e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.451, allocations: 477.8 MB / 1.673 GB, free: 10.07 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.452, allocations: 103.2 kB / 1.673 GB, free: 10.01 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.651/3.102, allocations: 486.4 MB / 2.148 GB, free: 58.59 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.783e-06/3.102, allocations: 0 / 2.148 GB, free: 58.59 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000126/3.102, allocations: 28 kB / 2.148 GB, free: 58.56 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.004369/3.107, allocations: 1.842 MB / 2.15 GB, free: 56.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/3.107, allocations: 12.03 kB / 2.15 GB, free: 56.65 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/3.109, allocations: 361.9 kB / 2.15 GB, free: 56.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/3.112, allocations: 1.334 MB / 2.151 GB, free: 54.91 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/3.112, allocations: 93.39 kB / 2.151 GB, free: 54.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/3.112, allocations: 51.98 kB / 2.151 GB, free: 54.75 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/3.114, allocations: 0.9762 MB / 2.152 GB, free: 53.77 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/3.115, allocations: 0.98 MB / 2.153 GB, free: 52.75 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/3.115, allocations: 3.953 kB / 2.153 GB, free: 52.75 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/3.115, allocations: 8 kB / 2.153 GB, free: 52.74 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/3.115, allocations: 16 kB / 2.153 GB, free: 52.73 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.006335/3.122, allocations: 4.779 MB / 2.158 GB, free: 47.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/3.123, allocations: 0.7423 MB / 2.159 GB, free: 46.99 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/3.123, allocations: 483.9 kB / 2.159 GB, free: 46.52 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/3.124, allocations: 0.59 MB / 2.16 GB, free: 45.79 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007539/3.124, allocations: 0.6046 MB / 2.16 GB, free: 45.17 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.986e-06/3.124, allocations: 0 / 2.16 GB, free: 45.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.00233/3.127, allocations: 1.049 MB / 2.161 GB, free: 44.11 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/3.127, allocations: 111.2 kB / 2.161 GB, free: 43.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/3.128, allocations: 0.9353 MB / 2.162 GB, free: 43.03 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/3.128, allocations: 33.7 kB / 2.162 GB, free: 42.99 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/3.129, allocations: 0.5548 MB / 2.163 GB, free: 42.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/3.129, allocations: 169.6 kB / 2.163 GB, free: 42.26 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/3.129, allocations: 3.938 kB / 2.163 GB, free: 42.26 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/3.129, allocations: 337.9 kB / 2.163 GB, free: 41.92 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/3.129, allocations: 417.4 kB / 2.164 GB, free: 41.51 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/3.13, allocations: 0.5782 MB / 2.164 GB, free: 40.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/3.131, allocations: 461.8 kB / 2.165 GB, free: 40.41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/3.131, allocations: 0 / 2.165 GB, free: 40.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002136/3.133, allocations: 1.099 MB / 2.166 GB, free: 39.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000275/3.134, allocations: 1.24 MB / 2.167 GB, free: 37.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/3.134, allocations: 4 kB / 2.167 GB, free: 37.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/3.134, allocations: 7.938 kB / 2.167 GB, free: 37.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/3.135, allocations: 167.7 kB / 2.167 GB, free: 37.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/3.135, allocations: 7.938 kB / 2.167 GB, free: 37.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/3.136, allocations: 115.4 kB / 2.167 GB, free: 37.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/3.136, allocations: 55.97 kB / 2.167 GB, free: 37.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/3.136, allocations: 4 kB / 2.167 GB, free: 37.62 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/3.138, allocations: 0.9618 MB / 2.168 GB, free: 36.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/3.138, allocations: 4 kB / 2.168 GB, free: 36.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/3.138, allocations: 8 kB / 2.168 GB, free: 36.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/3.138, allocations: 163.7 kB / 2.169 GB, free: 36.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/3.138, allocations: 7.984 kB / 2.169 GB, free: 36.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/3.139, allocations: 111.7 kB / 2.169 GB, free: 36.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/3.139, allocations: 55.97 kB / 2.169 GB, free: 36.32 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.0002465/3.14, allocations: 139.6 kB / 2.169 GB, free: 36.18 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001966/3.142, allocations: 1.041 MB / 2.17 GB, free: 35.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/3.142, allocations: 110.7 kB / 2.17 GB, free: 35.02 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.00182/3.144, allocations: 0.6674 MB / 2.171 GB, free: 34.34 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.