Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.225/2.225, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 181.8 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 95.22 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005161/0.0005161, allocations: 16.97 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2239, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.662/8.886, allocations: 2.555 GB / 3.454 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/8.886, allocations: 99.83 kB / 3.454 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 27.53/36.41, allocations: 5.021 GB / 8.475 GB, free: 55.34 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.256e-06/36.41, allocations: 0 / 8.475 GB, free: 55.34 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002905/36.42, allocations: 330.5 kB / 8.475 GB, free: 55.27 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.07111/36.49, allocations: 14.53 MB / 8.489 GB, free: 48.72 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/36.49, allocations: 11.62 kB / 8.489 GB, free: 48.72 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006566/36.49, allocations: 1.161 MB / 8.491 GB, free: 48.62 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03714/36.53, allocations: 3.384 MB / 8.494 GB, free: 47.77 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0615/36.59, allocations: 14.87 MB / 8.508 GB, free: 45.41 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001459/36.59, allocations: 0.7724 MB / 8.509 GB, free: 45.32 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005037/36.6, allocations: 0.92 MB / 8.51 GB, free: 45.3 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04762/36.65, allocations: 11.47 MB / 8.521 GB, free: 44.16 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006739/36.65, allocations: 25.89 kB / 8.521 GB, free: 44.14 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00419/36.65, allocations: 376.2 kB / 8.522 GB, free: 44.14 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004807/36.65, allocations: 360.1 kB / 8.522 GB, free: 44.11 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04271/36.69, allocations: 10.51 MB / 8.532 GB, free: 43.93 MB / 1.089 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.1287/36.82, allocations: 50.18 MB / 8.581 GB, free: 4.777 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03273/36.86, allocations: 9.231 MB / 8.59 GB, free: 12.41 MB / 1.104 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.05822/36.91, allocations: 15.7 MB / 8.606 GB, free: 13.08 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01786/36.93, allocations: 4.169 MB / 8.61 GB, free: 8.832 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01485/36.95, allocations: 1.353 MB / 8.611 GB, free: 7.473 MB / 1.12 GB Notification: Performance of pre-optimization done (n=604): time 3.3e-05/36.95, allocations: 4 kB / 8.611 GB, free: 7.469 MB / 1.12 GB Notification: Performance of matching and sorting (n=653): time 1.311/38.26, allocations: 25.64 MB / 8.636 GB, free: 90.88 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/38.26, allocations: 391.9 kB / 8.636 GB, free: 90.5 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02935/38.29, allocations: 8.707 MB / 8.645 GB, free: 89.95 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.00277/38.29, allocations: 178.3 kB / 8.645 GB, free: 89.91 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01129/38.3, allocations: 5.544 MB / 8.65 GB, free: 88.81 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0047/38.31, allocations: 2.205 MB / 8.653 GB, free: 87.7 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/38.31, allocations: 148.6 kB / 8.653 GB, free: 87.7 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0007713/38.31, allocations: 0.59 MB / 8.653 GB, free: 87.38 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01422/38.32, allocations: 3.378 MB / 8.657 GB, free: 87.36 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01722/38.34, allocations: 5.658 MB / 8.662 GB, free: 84.98 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/38.36, allocations: 4.192 MB / 8.666 GB, free: 84.88 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/38.36, allocations: 13.75 kB / 8.666 GB, free: 84.88 MB / 1.12 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.05024/38.41, allocations: 11.72 MB / 8.678 GB, free: 84.07 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.005803/38.41, allocations: 26.8 MB / 8.704 GB, free: 57.06 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/38.41, allocations: 48.25 kB / 8.704 GB, free: 57.06 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02649/38.44, allocations: 4.924 MB / 8.709 GB, free: 56.97 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/38.45, allocations: 1.285 MB / 8.71 GB, free: 56.97 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03817/38.49, allocations: 14.11 MB / 8.724 GB, free: 52.16 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02147/38.51, allocations: 1.038 MB / 8.725 GB, free: 52.12 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00281/38.51, allocations: 366.8 kB / 8.725 GB, free: 52.12 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/38.51, allocations: 3.281 kB / 8.725 GB, free: 52.12 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0449/38.56, allocations: 10.61 MB / 8.736 GB, free: 51.89 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/38.56, allocations: 45.69 kB / 8.736 GB, free: 51.89 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02674/38.59, allocations: 4.921 MB / 8.74 GB, free: 51.79 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/38.6, allocations: 1.261 MB / 8.742 GB, free: 51.79 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03916/38.64, allocations: 16.1 MB / 8.757 GB, free: 45.43 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01968/38.66, allocations: 0.9944 MB / 8.758 GB, free: 45.39 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00269/38.66, allocations: 361.7 kB / 8.759 GB, free: 45.39 MB / 1.12 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 (735): * Single equations (assignments): 725 * 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.01395/38.67, allocations: 3.383 MB / 8.762 GB, free: 45.2 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005405/38.68, allocations: 1.062 MB / 8.763 GB, free: 44.64 MB / 1.12 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 744 equation(s) and 742 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.02675/38.7, allocations: 5.543 MB / 8.768 GB, free: 44.38 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.