Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Discharging1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",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.208/2.208, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.00111/0.001111, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0008486/0.0008486, allocations: 91.55 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.839e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2941, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.569, allocations: 479.3 MB / 1.687 GB, free: 3.062 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.569, allocations: 107.9 kB / 1.687 GB, free: 2.957 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 2.296/3.865, allocations: 489 MB / 2.164 GB, free: 244.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.124e-06/3.865, allocations: 0 / 2.164 GB, free: 244.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.00015/3.865, allocations: 32.97 kB / 2.165 GB, free: 244.8 MB / 1.135 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.004709/3.87, allocations: 1.836 MB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/3.87, allocations: 9.781 kB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/3.87, allocations: 124 kB / 2.166 GB, free: 244.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/3.872, allocations: 373.5 kB / 2.167 GB, free: 244.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/3.875, allocations: 1.334 MB / 2.168 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/3.875, allocations: 130.3 kB / 2.168 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/3.875, allocations: 79.44 kB / 2.168 GB, free: 243.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/3.877, allocations: 1.086 MB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/3.877, allocations: 4.531 kB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/3.877, allocations: 36.3 kB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/3.877, allocations: 23.11 kB / 2.169 GB, free: 243.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/3.879, allocations: 1.013 MB / 2.17 GB, free: 243.7 MB / 1.135 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.006676/3.885, allocations: 4.919 MB / 2.175 GB, free: 241.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/3.887, allocations: 0.7696 MB / 2.176 GB, free: 241.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/3.887, allocations: 499.3 kB / 2.176 GB, free: 241.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/3.888, allocations: 0.5872 MB / 2.177 GB, free: 241.2 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/3.889, allocations: 0.6164 MB / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.285e-06/3.889, allocations: 0 / 2.178 GB, free: 241.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.001819/3.891, allocations: 1.003 MB / 2.179 GB, free: 241.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/3.891, allocations: 113.8 kB / 2.179 GB, free: 240.9 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/3.892, allocations: 1.012 MB / 2.18 GB, free: 240.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.832e-05/3.892, allocations: 46.2 kB / 2.18 GB, free: 240.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/3.892, allocations: 0.5667 MB / 2.18 GB, free: 240.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/3.893, allocations: 175.4 kB / 2.18 GB, free: 240.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/3.893, allocations: 18.06 kB / 2.18 GB, free: 240.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/3.893, allocations: 329.2 kB / 2.181 GB, free: 240.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/3.893, allocations: 426.2 kB / 2.181 GB, free: 240.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/3.894, allocations: 0.5927 MB / 2.182 GB, free: 240 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/3.895, allocations: 401 kB / 2.182 GB, free: 240 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/3.895, allocations: 1.281 kB / 2.182 GB, free: 240 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001789/3.896, allocations: 1.071 MB / 2.183 GB, free: 239.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002417/3.897, allocations: 1.239 MB / 2.184 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/3.897, allocations: 7.719 kB / 2.184 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/3.897, allocations: 5.938 kB / 2.184 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/3.897, allocations: 166.1 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/3.898, allocations: 8.391 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/3.899, allocations: 129.9 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/3.899, allocations: 52.62 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/3.899, allocations: 5.312 kB / 2.185 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/3.9, allocations: 0.9489 MB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/3.9, allocations: 3.75 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/3.9, allocations: 5.844 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/3.901, allocations: 168.1 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/3.901, allocations: 6 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/3.902, allocations: 124.6 kB / 2.186 GB, free: 238.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/3.902, allocations: 55.53 kB / 2.186 GB, free: 238.6 MB / 1.135 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.0002522/3.902, allocations: 156.9 kB / 2.186 GB, free: 238.5 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/3.903, allocations: 120.6 kB / 2.186 GB, free: 238.4 MB / 1.135 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.001091/3.904, allocations: 0.6148 MB / 2.187 GB, free: 238.4 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.