Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.212/2.212, allocations: 390.5 MB / 398 MB, free: 10.98 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.0009484/0.0009487, allocations: 172.1 kB / 491.2 MB, free: 1.633 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.384/1.384, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008635/0.0008635, allocations: 109.4 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.948e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2436, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.587, allocations: 478.6 MB / 1.68 GB, free: 1.746 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.587, allocations: 108.3 kB / 1.68 GB, free: 1.688 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.629/3.217, allocations: 486.5 MB / 2.155 GB, free: 47.38 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.963e-06/3.217, allocations: 0 / 2.155 GB, free: 47.38 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001919/3.217, allocations: 31.98 kB / 2.155 GB, free: 47.34 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.005344/3.222, allocations: 1.835 MB / 2.157 GB, free: 45.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/3.222, allocations: 8.031 kB / 2.157 GB, free: 45.44 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/3.225, allocations: 365.9 kB / 2.157 GB, free: 45.08 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/3.228, allocations: 1.338 MB / 2.158 GB, free: 43.69 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/3.228, allocations: 101.4 kB / 2.159 GB, free: 43.58 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/3.229, allocations: 48 kB / 2.159 GB, free: 43.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00169/3.23, allocations: 0.9645 MB / 2.16 GB, free: 42.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/3.232, allocations: 0.9878 MB / 2.16 GB, free: 41.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/3.232, allocations: 7.875 kB / 2.16 GB, free: 41.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/3.232, allocations: 4 kB / 2.16 GB, free: 41.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/3.232, allocations: 20 kB / 2.161 GB, free: 41.51 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.007102/3.239, allocations: 4.767 MB / 2.165 GB, free: 36.54 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/3.24, allocations: 0.7423 MB / 2.166 GB, free: 35.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/3.241, allocations: 487.4 kB / 2.166 GB, free: 35.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/3.242, allocations: 0.5861 MB / 2.167 GB, free: 34.58 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/3.243, allocations: 0.6047 MB / 2.168 GB, free: 33.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 5.851e-06/3.243, allocations: 0 / 2.168 GB, free: 33.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002767/3.245, allocations: 1.045 MB / 2.169 GB, free: 32.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/3.246, allocations: 115.2 kB / 2.169 GB, free: 32.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/3.247, allocations: 0.9355 MB / 2.17 GB, free: 31.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/3.247, allocations: 37.73 kB / 2.17 GB, free: 31.77 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/3.248, allocations: 0.5587 MB / 2.17 GB, free: 31.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/3.248, allocations: 165.6 kB / 2.17 GB, free: 31.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/3.248, allocations: 0 / 2.17 GB, free: 31.04 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/3.248, allocations: 334 kB / 2.171 GB, free: 30.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/3.249, allocations: 417.3 kB / 2.171 GB, free: 30.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/3.249, allocations: 0.5812 MB / 2.172 GB, free: 29.65 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/3.251, allocations: 461.8 kB / 2.172 GB, free: 29.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/3.251, allocations: 0 / 2.172 GB, free: 29.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002252/3.253, allocations: 1.099 MB / 2.173 GB, free: 28.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000296/3.253, allocations: 1.235 MB / 2.174 GB, free: 26.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/3.253, allocations: 4 kB / 2.174 GB, free: 26.76 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/3.253, allocations: 8 kB / 2.174 GB, free: 26.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/3.254, allocations: 167.7 kB / 2.174 GB, free: 26.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/3.254, allocations: 7.938 kB / 2.174 GB, free: 26.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/3.255, allocations: 115.4 kB / 2.175 GB, free: 26.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/3.255, allocations: 55.95 kB / 2.175 GB, free: 26.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/3.255, allocations: 9.562 kB / 2.175 GB, free: 26.41 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/3.257, allocations: 0.9538 MB / 2.176 GB, free: 25.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/3.257, allocations: 4 kB / 2.176 GB, free: 25.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/3.257, allocations: 4 kB / 2.176 GB, free: 25.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/3.258, allocations: 168.1 kB / 2.176 GB, free: 25.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/3.258, allocations: 11.97 kB / 2.176 GB, free: 25.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/3.259, allocations: 103.5 kB / 2.176 GB, free: 25.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/3.259, allocations: 59.95 kB / 2.176 GB, free: 25.11 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.0002543/3.26, allocations: 136 kB / 2.176 GB, free: 24.97 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002225/3.262, allocations: 1.045 MB / 2.177 GB, free: 23.92 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/3.262, allocations: 114.6 kB / 2.177 GB, free: 23.8 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.001888/3.264, allocations: 0.6617 MB / 2.178 GB, free: 23.14 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.