Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",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.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.00131/0.00131, allocations: 173.2 kB / 498.1 MB, free: 5.738 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.518/1.518, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0009826/0.0009824, allocations: 90.77 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003577, allocations: 8.219 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.289, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.57/4.859, allocations: 2.269 GB / 3.492 GB, free: 119.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/4.859, allocations: 97.44 kB / 3.492 GB, free: 119.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.3/23.16, allocations: 5.216 GB / 8.708 GB, free: 64.38 MB / 1.354 GB Notification: Performance of FrontEnd: time 3.126e-06/23.16, allocations: 4 kB / 8.708 GB, free: 64.37 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002606/23.16, allocations: 338.5 kB / 8.708 GB, free: 64.29 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.05331/23.22, allocations: 14.61 MB / 8.722 GB, free: 57.71 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/23.22, allocations: 10.88 kB / 8.722 GB, free: 57.71 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005958/23.22, allocations: 1.162 MB / 8.724 GB, free: 57.61 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02608/23.25, allocations: 3.663 MB / 8.727 GB, free: 56.74 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04464/23.29, allocations: 15.1 MB / 8.742 GB, free: 54.36 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/23.29, allocations: 0.7644 MB / 8.743 GB, free: 54.28 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004253/23.3, allocations: 0.9056 MB / 8.744 GB, free: 54.27 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/23.33, allocations: 11.56 MB / 8.755 GB, free: 53.11 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005377/23.33, allocations: 24.92 kB / 8.755 GB, free: 53.1 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003226/23.34, allocations: 368.5 kB / 8.755 GB, free: 53.09 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004465/23.34, allocations: 360.2 kB / 8.756 GB, free: 53.07 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02942/23.37, allocations: 10.64 MB / 8.766 GB, free: 52.88 MB / 1.354 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.0999/23.47, allocations: 50.5 MB / 8.815 GB, free: 23.51 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/23.49, allocations: 9.292 MB / 8.824 GB, free: 16.12 MB / 1.354 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.04197/23.53, allocations: 15.98 MB / 8.84 GB, free: 2.246 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01098/23.54, allocations: 4.263 MB / 8.844 GB, free: 14.89 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01116/23.55, allocations: 1.356 MB / 8.845 GB, free: 13.77 MB / 1.37 GB Notification: Performance of pre-optimization done (n=603): time 4.463e-05/23.55, allocations: 0 / 8.845 GB, free: 13.77 MB / 1.37 GB Notification: Performance of matching and sorting (n=607): time 0.07747/23.63, allocations: 22.62 MB / 8.868 GB, free: 9.02 MB / 1.385 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/23.63, allocations: 384.4 kB / 8.868 GB, free: 8.57 MB / 1.385 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02095/23.65, allocations: 8.761 MB / 8.876 GB, free: 0.9062 MB / 1.385 GB Notification: Performance of collectPreVariables (initialization): time 0.00202/23.65, allocations: 177.6 kB / 8.877 GB, free: 0.7266 MB / 1.385 GB Notification: Performance of collectInitialEqns (initialization): time 0.9645/24.62, allocations: 5.585 MB / 8.882 GB, free: 105.3 MB / 1.385 GB Notification: Performance of collectInitialBindings (initialization): time 0.003518/24.62, allocations: 2.05 MB / 8.884 GB, free: 105 MB / 1.385 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006089/24.62, allocations: 140.6 kB / 8.884 GB, free: 105 MB / 1.385 GB Notification: Performance of setup shared object (initialization): time 0.0004473/24.62, allocations: 0.577 MB / 8.885 GB, free: 104.7 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008051/24.63, allocations: 3.213 MB / 8.888 GB, free: 104.7 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/24.64, allocations: 5.341 MB / 8.893 GB, free: 102.5 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009758/24.65, allocations: 3.946 MB / 8.897 GB, free: 102.4 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.321e-05/24.65, allocations: 13.38 kB / 8.897 GB, free: 102.4 MB / 1.385 GB Notification: Performance of matching and sorting (n=905) (initialization): time 0.02409/24.67, allocations: 9.984 MB / 8.907 GB, free: 101.6 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 0.004931/24.68, allocations: 26.77 MB / 8.933 GB, free: 73.08 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001915/24.68, allocations: 42.84 kB / 8.933 GB, free: 73.08 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/24.68, allocations: 0.6497 MB / 8.934 GB, free: 73.04 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009179/24.69, allocations: 1.673 MB / 8.935 GB, free: 73.04 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/24.7, allocations: 8.379 MB / 8.943 GB, free: 66.44 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01444/24.71, allocations: 1.06 MB / 8.944 GB, free: 66.4 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/24.72, allocations: 365.5 kB / 8.945 GB, free: 66.4 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/24.72, allocations: 6.844 kB / 8.945 GB, free: 66.4 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01918/24.73, allocations: 8.864 MB / 8.953 GB, free: 66.16 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/24.73, allocations: 45.5 kB / 8.953 GB, free: 66.16 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/24.74, allocations: 0.6474 MB / 8.954 GB, free: 66.11 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0082/24.75, allocations: 1.64 MB / 8.956 GB, free: 66.11 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00895/24.75, allocations: 9.799 MB / 8.965 GB, free: 58.55 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/24.77, allocations: 1.014 MB / 8.966 GB, free: 58.52 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/24.77, allocations: 354.1 kB / 8.967 GB, free: 58.52 MB / 1.385 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 (863): * Single equations (assignments): 851 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,3 9,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009177/24.78, allocations: 3.316 MB / 8.97 GB, free: 58.32 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003167/24.78, allocations: 1.055 MB / 8.971 GB, free: 57.77 MB / 1.385 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 698 equation(s) and 696 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.01301/24.79, allocations: 5.322 MB / 8.976 GB, free: 57.5 MB / 1.385 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.