Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Discharging1,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001351/0.001351, allocations: 180 kB / 492.3 MB, free: 0.6133 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.565/1.565, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009943/0.0009946, allocations: 93.25 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.362e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 142.4 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.625, allocations: 478.5 MB / 1.68 GB, free: 1.668 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/1.626, allocations: 99.09 kB / 1.68 GB, free: 1.617 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.698/3.324, allocations: 489 MB / 2.157 GB, free: 44.85 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/3.324, allocations: 0 / 2.157 GB, free: 44.85 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000186/3.324, allocations: 32 kB / 2.157 GB, free: 44.82 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.004766/3.329, allocations: 1.844 MB / 2.159 GB, free: 42.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/3.329, allocations: 8.031 kB / 2.159 GB, free: 42.91 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003809/3.329, allocations: 122.6 kB / 2.159 GB, free: 42.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/3.332, allocations: 369.9 kB / 2.16 GB, free: 42.42 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/3.335, allocations: 1.337 MB / 2.161 GB, free: 41.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/3.335, allocations: 125.4 kB / 2.161 GB, free: 40.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/3.335, allocations: 88 kB / 2.161 GB, free: 40.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/3.337, allocations: 1.085 MB / 2.162 GB, free: 39.68 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/3.338, allocations: 3.953 kB / 2.162 GB, free: 39.68 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/3.338, allocations: 39.98 kB / 2.162 GB, free: 39.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/3.338, allocations: 20 kB / 2.162 GB, free: 39.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/3.339, allocations: 1.015 MB / 2.163 GB, free: 38.61 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.007044/3.346, allocations: 4.923 MB / 2.168 GB, free: 33.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/3.347, allocations: 0.7589 MB / 2.169 GB, free: 32.69 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000599/3.348, allocations: 499.8 kB / 2.169 GB, free: 32.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003993/3.348, allocations: 0.5861 MB / 2.17 GB, free: 31.49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007479/3.349, allocations: 0.6206 MB / 2.17 GB, free: 30.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 4.088e-06/3.349, allocations: 4 kB / 2.17 GB, free: 30.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001551/3.351, allocations: 1.01 MB / 2.171 GB, free: 29.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/3.351, allocations: 111.2 kB / 2.172 GB, free: 29.69 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/3.352, allocations: 1.012 MB / 2.173 GB, free: 28.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/3.352, allocations: 49.69 kB / 2.173 GB, free: 28.61 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/3.353, allocations: 0.555 MB / 2.173 GB, free: 28.05 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/3.353, allocations: 173.6 kB / 2.173 GB, free: 27.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/3.353, allocations: 15.94 kB / 2.173 GB, free: 27.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/3.353, allocations: 334 kB / 2.174 GB, free: 27.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/3.353, allocations: 425.4 kB / 2.174 GB, free: 27.11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/3.354, allocations: 0.5983 MB / 2.175 GB, free: 26.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/3.354, allocations: 389 kB / 2.175 GB, free: 26.06 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.354, allocations: 4 kB / 2.175 GB, free: 26.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00136/3.356, allocations: 1.079 MB / 2.176 GB, free: 24.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/3.356, allocations: 1.234 MB / 2.177 GB, free: 23.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/3.356, allocations: 8 kB / 2.177 GB, free: 23.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/3.356, allocations: 8 kB / 2.177 GB, free: 23.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/3.357, allocations: 171.7 kB / 2.177 GB, free: 23.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/3.357, allocations: 11.98 kB / 2.177 GB, free: 23.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/3.358, allocations: 123.4 kB / 2.178 GB, free: 23.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/3.358, allocations: 59.89 kB / 2.178 GB, free: 23.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/3.358, allocations: 4 kB / 2.178 GB, free: 23.27 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/3.359, allocations: 0.946 MB / 2.179 GB, free: 22.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/3.359, allocations: 3.984 kB / 2.179 GB, free: 22.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/3.359, allocations: 8 kB / 2.179 GB, free: 22.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/3.36, allocations: 163.7 kB / 2.179 GB, free: 22.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/3.36, allocations: 12.36 kB / 2.179 GB, free: 22.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/3.361, allocations: 127.4 kB / 2.179 GB, free: 22.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/3.361, allocations: 55.95 kB / 2.179 GB, free: 21.96 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.0001718/3.361, allocations: 151.1 kB / 2.179 GB, free: 21.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/3.361, allocations: 114.6 kB / 2.179 GB, free: 21.69 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). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/3.362, allocations: 0.6209 MB / 2.18 GB, free: 21.06 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.