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.295/2.295, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.002107/0.002107, allocations: 184.2 kB / 498.1 MB, free: 5.742 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.684/1.684, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.00106/0.00106, allocations: 104.3 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005179, allocations: 6.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3591, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.737, allocations: 478.5 MB / 1.69 GB, free: 15.7 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/1.738, allocations: 111.9 kB / 1.69 GB, free: 15.64 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.725/3.463, allocations: 490.4 MB / 2.169 GB, free: 167.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.973e-06/3.463, allocations: 3.938 kB / 2.169 GB, free: 167.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002011/3.463, allocations: 28 kB / 2.169 GB, free: 167.7 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.005936/3.469, allocations: 2.087 MB / 2.171 GB, free: 165.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/3.469, allocations: 8.031 kB / 2.171 GB, free: 165.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003919/3.47, allocations: 130.5 kB / 2.171 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/3.472, allocations: 369.8 kB / 2.172 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/3.475, allocations: 1.342 MB / 2.173 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/3.476, allocations: 133.4 kB / 2.173 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/3.476, allocations: 83.98 kB / 2.173 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/3.478, allocations: 1.156 MB / 2.174 GB, free: 162.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/3.478, allocations: 0 / 2.174 GB, free: 162.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/3.478, allocations: 32 kB / 2.174 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/3.478, allocations: 27.94 kB / 2.174 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/3.481, allocations: 1.128 MB / 2.176 GB, free: 161 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.007137/3.488, allocations: 4.927 MB / 2.18 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/3.489, allocations: 0.8218 MB / 2.181 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/3.49, allocations: 0.5861 MB / 2.182 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/3.491, allocations: 0.6714 MB / 2.182 GB, free: 153.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 2.184e-06/3.491, allocations: 0 / 2.182 GB, free: 153.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.003078/3.494, allocations: 1.583 MB / 2.184 GB, free: 152 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/3.494, allocations: 111.2 kB / 2.184 GB, free: 151.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/3.495, allocations: 1.023 MB / 2.185 GB, free: 150.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/3.495, allocations: 45.7 kB / 2.185 GB, free: 150.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/3.496, allocations: 0.5589 MB / 2.186 GB, free: 150.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/3.496, allocations: 185.5 kB / 2.186 GB, free: 150.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/3.496, allocations: 12 kB / 2.186 GB, free: 150 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/3.496, allocations: 326 kB / 2.186 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008717/3.497, allocations: 481 kB / 2.187 GB, free: 149.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/3.498, allocations: 0.6556 MB / 2.187 GB, free: 148.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/3.499, allocations: 456 kB / 2.188 GB, free: 148.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/3.499, allocations: 4 kB / 2.188 GB, free: 148.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002172/3.501, allocations: 1.181 MB / 2.189 GB, free: 146.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00023/3.501, allocations: 1.24 MB / 2.19 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/3.501, allocations: 4 kB / 2.19 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/3.501, allocations: 8 kB / 2.19 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/3.502, allocations: 163.7 kB / 2.19 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/3.502, allocations: 11.92 kB / 2.19 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/3.503, allocations: 127.3 kB / 2.19 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/3.503, allocations: 55.95 kB / 2.19 GB, free: 145.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/3.503, allocations: 4 kB / 2.19 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001935/3.505, allocations: 1.067 MB / 2.191 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/3.505, allocations: 0 / 2.191 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/3.505, allocations: 8 kB / 2.191 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/3.506, allocations: 159.7 kB / 2.192 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/3.506, allocations: 16.22 kB / 2.192 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/3.507, allocations: 119.5 kB / 2.192 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/3.507, allocations: 55.95 kB / 2.192 GB, free: 143.8 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.0007539/3.508, allocations: 407.1 kB / 2.192 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/3.508, allocations: 114.6 kB / 2.192 GB, free: 143.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.001335/3.509, allocations: 0.672 MB / 2.193 GB, free: 142.6 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.