Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.395/2.395, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 180.9 kB / 360.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001105, allocations: 94.67 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.419e-05, allocations: 4 kB / 0.8508 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8333, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.058/7.891, allocations: 2.438 GB / 3.401 GB, free: 40.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/7.891, allocations: 87.3 kB / 3.401 GB, free: 40.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 29.89/37.78, allocations: 5.107 GB / 8.508 GB, free: 40.15 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.215e-06/37.78, allocations: 0 / 8.508 GB, free: 40.15 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002778/37.78, allocations: 323.2 kB / 8.508 GB, free: 40.07 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.05105/37.83, allocations: 11.67 MB / 8.519 GB, free: 34.64 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/37.83, allocations: 7.875 kB / 8.519 GB, free: 34.64 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0362/37.87, allocations: 3.392 MB / 8.523 GB, free: 33.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06134/37.93, allocations: 14.72 MB / 8.537 GB, free: 25.35 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009446/37.93, allocations: 446.9 kB / 8.538 GB, free: 24.91 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/37.93, allocations: 0.5465 MB / 8.538 GB, free: 24.36 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03192/37.97, allocations: 9.203 MB / 8.547 GB, free: 16.11 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03764/38, allocations: 9.646 MB / 8.557 GB, free: 6.348 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005123/38, allocations: 23.86 kB / 8.557 GB, free: 6.324 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003578/38.01, allocations: 17.72 kB / 8.557 GB, free: 6.309 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000453/38.01, allocations: 356.7 kB / 8.557 GB, free: 5.957 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 1.279/39.29, allocations: 48.55 MB / 8.604 GB, free: 68.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02715/39.31, allocations: 9.582 MB / 8.614 GB, free: 66.06 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/39.33, allocations: 3.78 MB / 8.617 GB, free: 66 MB / 1.167 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 evalFunc (simulation): time 0.06728/39.39, allocations: 18.27 MB / 8.635 GB, free: 60.88 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01237/39.41, allocations: 3.542 MB / 8.639 GB, free: 60.68 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01328/39.42, allocations: 1.691 MB / 8.64 GB, free: 60.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=591): time 4.831e-05/39.42, allocations: 0.5312 kB / 8.64 GB, free: 60.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=640): time 0.1006/39.52, allocations: 20.06 MB / 8.66 GB, free: 57.05 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/39.52, allocations: 391.1 kB / 8.66 GB, free: 56.66 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02991/39.55, allocations: 7.699 MB / 8.668 GB, free: 56.12 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002376/39.55, allocations: 47.75 kB / 8.668 GB, free: 56.09 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01062/39.56, allocations: 5.581 MB / 8.673 GB, free: 54.92 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004724/39.57, allocations: 2.081 MB / 8.675 GB, free: 53.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/39.57, allocations: 3.594 kB / 8.675 GB, free: 53.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000823/39.57, allocations: 0.5903 MB / 8.676 GB, free: 53.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008965/39.58, allocations: 2.848 MB / 8.679 GB, free: 53.49 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/39.59, allocations: 5.106 MB / 8.684 GB, free: 51.06 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/39.61, allocations: 4.004 MB / 8.688 GB, free: 50.95 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/39.61, allocations: 13.81 kB / 8.688 GB, free: 50.95 MB / 1.167 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.05696/39.66, allocations: 10.56 MB / 8.698 GB, free: 50.15 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006909/39.67, allocations: 27.28 MB / 8.725 GB, free: 22.16 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003085/39.67, allocations: 49.97 kB / 8.725 GB, free: 22.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02443/39.7, allocations: 3.801 MB / 8.728 GB, free: 22.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/39.71, allocations: 1.264 MB / 8.73 GB, free: 22.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03347/39.74, allocations: 13.7 MB / 8.743 GB, free: 33.29 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02029/39.76, allocations: 0.8403 MB / 8.744 GB, free: 33.26 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/39.76, allocations: 365.1 kB / 8.744 GB, free: 33.26 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/39.76, allocations: 6.281 kB / 8.744 GB, free: 33.26 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03973/39.8, allocations: 9.146 MB / 8.753 GB, free: 33.02 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002831/39.8, allocations: 48.62 kB / 8.753 GB, free: 33.02 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02143/39.83, allocations: 3.796 MB / 8.757 GB, free: 32.93 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/39.84, allocations: 1.237 MB / 8.758 GB, free: 32.93 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03653/39.87, allocations: 15.49 MB / 8.773 GB, free: 26.63 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01904/39.89, allocations: 0.8038 MB / 8.774 GB, free: 26.59 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002757/39.89, allocations: 352.8 kB / 8.774 GB, free: 26.59 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 213 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 715 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {20 157,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005148/39.9, allocations: 315.9 kB / 8.775 GB, free: 26.48 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03534/39.93, allocations: 7.427 MB / 8.782 GB, free: 25.67 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005604/39.94, allocations: 1.02 MB / 8.783 GB, free: 25.13 MB / 1.182 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 724 equation(s) and 722 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03128/39.97, allocations: 4.981 MB / 8.788 GB, free: 24.88 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.