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.772/1.772, allocations: 285.4 MB / 298 MB, free: 5.98 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.001124/0.001124, allocations: 172.8 kB / 366.4 MB, free: 2.094 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.769/1.769, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.000895/0.0008951, allocations: 91.67 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.435e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8346, allocations: 115.3 MB / 0.971 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.695/7.53, allocations: 2.438 GB / 3.409 GB, free: 10.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/7.53, allocations: 86.77 kB / 3.41 GB, free: 10.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 25.52/33.05, allocations: 5.142 GB / 8.552 GB, free: 61.74 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.485e-06/33.05, allocations: 0 / 8.552 GB, free: 61.74 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003041/33.05, allocations: 319.3 kB / 8.552 GB, free: 61.74 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.05271/33.11, allocations: 11.68 MB / 8.564 GB, free: 59.56 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.066e-05/33.11, allocations: 9.469 kB / 8.564 GB, free: 59.56 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008417/33.12, allocations: 1.148 MB / 8.565 GB, free: 59.46 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03567/33.15, allocations: 3.389 MB / 8.568 GB, free: 58.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05235/33.2, allocations: 14.7 MB / 8.582 GB, free: 56.91 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001513/33.21, allocations: 0.7657 MB / 8.583 GB, free: 56.82 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005768/33.21, allocations: 0.9208 MB / 8.584 GB, free: 56.81 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/33.25, allocations: 11.05 MB / 8.595 GB, free: 55.76 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006278/33.25, allocations: 21.38 kB / 8.595 GB, free: 55.76 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004335/33.26, allocations: 366.3 kB / 8.595 GB, free: 55.76 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006722/33.26, allocations: 367.2 kB / 8.596 GB, free: 55.74 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03467/33.29, allocations: 9.719 MB / 8.605 GB, free: 55.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 removeSimpleEquations (simulation): time 0.1221/33.41, allocations: 50.18 MB / 8.654 GB, free: 34.43 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/33.43, allocations: 8.657 MB / 8.663 GB, free: 32.67 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00844/33.44, allocations: 3.903 MB / 8.666 GB, free: 32.6 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.04965/33.49, allocations: 18.69 MB / 8.685 GB, free: 27.38 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008048/33.5, allocations: 3.847 MB / 8.688 GB, free: 27.16 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01188/33.51, allocations: 1.906 MB / 8.69 GB, free: 26.89 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 3.372e-05/33.51, allocations: 0.75 kB / 8.69 GB, free: 26.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=649): time 0.07342/33.58, allocations: 20.53 MB / 8.71 GB, free: 22.56 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/33.58, allocations: 386.2 kB / 8.711 GB, free: 22.18 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0238/33.61, allocations: 8.564 MB / 8.719 GB, free: 21.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002387/33.61, allocations: 187.3 kB / 8.719 GB, free: 21.51 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007684/33.62, allocations: 5.53 MB / 8.725 GB, free: 19.93 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003805/33.62, allocations: 2.195 MB / 8.727 GB, free: 18.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008798/33.62, allocations: 148.2 kB / 8.727 GB, free: 18.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005671/33.62, allocations: 0.5905 MB / 8.727 GB, free: 18.22 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005764/33.63, allocations: 3.046 MB / 8.73 GB, free: 18.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008759/33.64, allocations: 5.344 MB / 8.736 GB, free: 15.79 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008629/33.65, allocations: 3.885 MB / 8.739 GB, free: 15.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.902e-05/33.65, allocations: 16.42 kB / 8.739 GB, free: 15.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.03038/33.68, allocations: 11.05 MB / 8.75 GB, free: 14.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01161/33.69, allocations: 27.23 MB / 8.777 GB, free: 19.37 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/33.69, allocations: 49.84 kB / 8.777 GB, free: 19.37 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01464/33.7, allocations: 4.689 MB / 8.781 GB, free: 19.27 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0065/33.71, allocations: 1.282 MB / 8.783 GB, free: 19.27 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/33.73, allocations: 13.62 MB / 8.796 GB, free: 14.37 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01753/33.75, allocations: 1.028 MB / 8.797 GB, free: 14.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002902/33.75, allocations: 370.6 kB / 8.797 GB, free: 14.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/33.75, allocations: 3.438 kB / 8.797 GB, free: 14.3 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03864/33.79, allocations: 9.891 MB / 8.807 GB, free: 14.06 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/33.79, allocations: 50.5 kB / 8.807 GB, free: 14.06 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02281/33.81, allocations: 4.622 MB / 8.812 GB, free: 13.96 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009827/33.82, allocations: 1.257 MB / 8.813 GB, free: 13.96 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/33.85, allocations: 15.57 MB / 8.828 GB, free: 23.44 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/33.86, allocations: 0.9915 MB / 8.829 GB, free: 23.38 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002105/33.87, allocations: 358.5 kB / 8.829 GB, free: 23.38 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (733): * Single equations (assignments): 723 * 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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00267/33.87, allocations: 0.5662 MB / 8.83 GB, free: 23.24 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003859/33.87, allocations: 1.057 MB / 8.831 GB, free: 22.68 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 736 equation(s) and 734 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/33.89, allocations: 5.192 MB / 8.836 GB, free: 22.39 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.