Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001156/0.001156, allocations: 186 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00085/0.0008501, allocations: 82.92 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005265, allocations: 10.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2498, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.114/7.363, allocations: 2.439 GB / 3.418 GB, free: 183.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/7.364, allocations: 97.95 kB / 3.418 GB, free: 183.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 23.64/31, allocations: 5.154 GB / 8.572 GB, free: 61.32 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.875e-06/31, allocations: 0 / 8.572 GB, free: 61.32 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002681/31.01, allocations: 330 kB / 8.572 GB, free: 61.28 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.06578/31.07, allocations: 14.51 MB / 8.586 GB, free: 55.09 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/31.07, allocations: 7.188 kB / 8.586 GB, free: 55.09 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008785/31.08, allocations: 1.166 MB / 8.587 GB, free: 55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/31.11, allocations: 3.393 MB / 8.591 GB, free: 54.24 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05944/31.17, allocations: 14.81 MB / 8.605 GB, free: 52.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001683/31.17, allocations: 0.7746 MB / 8.606 GB, free: 52.31 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006073/31.18, allocations: 0.9189 MB / 8.607 GB, free: 52.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05235/31.23, allocations: 11.47 MB / 8.618 GB, free: 51.19 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000861/31.23, allocations: 18.09 kB / 8.618 GB, free: 51.19 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004897/31.23, allocations: 367.8 kB / 8.618 GB, free: 51.19 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005004/31.24, allocations: 362.2 kB / 8.619 GB, free: 51.17 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03649/31.27, allocations: 10.48 MB / 8.629 GB, free: 51.05 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.1305/31.4, allocations: 50.17 MB / 8.678 GB, free: 29.31 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/31.43, allocations: 9.137 MB / 8.687 GB, free: 27.39 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 evalFunc (simulation): time 0.04977/31.48, allocations: 15.82 MB / 8.702 GB, free: 22.26 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01296/31.49, allocations: 4.172 MB / 8.706 GB, free: 22.02 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01207/31.5, allocations: 1.358 MB / 8.708 GB, free: 21.66 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 6.192e-05/31.5, allocations: 3.938 kB / 8.708 GB, free: 21.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=652): time 0.1064/31.61, allocations: 25.7 MB / 8.733 GB, free: 16.57 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/31.61, allocations: 387.2 kB / 8.733 GB, free: 16.18 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02614/31.63, allocations: 8.675 MB / 8.742 GB, free: 14.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002636/31.64, allocations: 184.8 kB / 8.742 GB, free: 14.27 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009473/31.65, allocations: 5.539 MB / 8.747 GB, free: 9.996 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004485/31.65, allocations: 2.191 MB / 8.749 GB, free: 8.297 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/31.65, allocations: 145.5 kB / 8.75 GB, free: 8.184 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008658/31.65, allocations: 0.5879 MB / 8.75 GB, free: 7.75 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009022/31.66, allocations: 3.389 MB / 8.753 GB, free: 6.543 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/31.67, allocations: 5.663 MB / 8.759 GB, free: 2.676 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/31.68, allocations: 4.203 MB / 8.763 GB, free: 0.8359 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.866e-05/31.68, allocations: 11.06 kB / 8.763 GB, free: 0.8359 MB / 1.167 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.04434/31.73, allocations: 11.91 MB / 8.775 GB, free: 12.91 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01287/31.74, allocations: 26.79 MB / 8.801 GB, free: 1.391 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/31.74, allocations: 41.94 kB / 8.801 GB, free: 1.391 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02013/31.76, allocations: 5.082 MB / 8.806 GB, free: 15.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00792/31.77, allocations: 1.287 MB / 8.807 GB, free: 14.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02687/31.8, allocations: 14.12 MB / 8.821 GB, free: 1.352 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01713/31.81, allocations: 1.03 MB / 8.822 GB, free: 0.5586 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002938/31.82, allocations: 369.4 kB / 8.822 GB, free: 244 kB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/31.82, allocations: 4 kB / 8.822 GB, free: 240 kB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.329/33.15, allocations: 10.62 MB / 8.833 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002656/33.15, allocations: 45.75 kB / 8.833 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02105/33.17, allocations: 4.928 MB / 8.837 GB, free: 105.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008446/33.18, allocations: 1.257 MB / 8.839 GB, free: 105.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/33.21, allocations: 16.09 MB / 8.854 GB, free: 99.41 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/33.23, allocations: 0.986 MB / 8.855 GB, free: 99.41 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003372/33.23, allocations: 360.4 kB / 8.856 GB, free: 99.41 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * 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.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 724 * 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 {19 158,4 16,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01654/33.25, allocations: 3.36 MB / 8.859 GB, free: 99.21 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006668/33.25, allocations: 1.061 MB / 8.86 GB, free: 99.21 MB / 1.214 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 743 equation(s) and 741 variable(s). Error: $cse74 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size 2 but 1 variables (roo.TRooAir) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02777/33.28, allocations: 5.555 MB / 8.865 GB, free: 99.02 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.