Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009108/0.009108, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001158/0.001158, allocations: 183.9 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.951/1.951, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.385/2.385, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6169, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.716/7.333, allocations: 2.538 GB / 3.221 GB, free: 196.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/7.333, allocations: 99.95 kB / 3.221 GB, free: 196.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 24.88/32.21, allocations: 4.995 GB / 8.217 GB, free: 48.29 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.251e-06/32.21, allocations: 3.328 kB / 8.217 GB, free: 48.29 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002575/32.21, allocations: 319.8 kB / 8.217 GB, free: 48.22 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2228 * Number of variables: 2228 Notification: Performance of Generate backend data structure: time 0.05794/32.27, allocations: 14.57 MB / 8.231 GB, free: 41.62 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/32.27, allocations: 7.188 kB / 8.231 GB, free: 41.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03188/32.3, allocations: 3.616 MB / 8.235 GB, free: 40.76 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05506/32.36, allocations: 14.88 MB / 8.249 GB, free: 38.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/32.36, allocations: 0.7662 MB / 8.25 GB, free: 38.32 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/32.36, allocations: 0.9197 MB / 8.251 GB, free: 38.3 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04137/32.4, allocations: 11.46 MB / 8.262 GB, free: 37.2 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005378/32.4, allocations: 24.28 kB / 8.262 GB, free: 37.19 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/32.41, allocations: 365.9 kB / 8.263 GB, free: 37.18 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004013/32.41, allocations: 359.2 kB / 8.263 GB, free: 37.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03808/32.45, allocations: 10.63 MB / 8.273 GB, free: 36.98 MB / 1.042 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.1085/32.55, allocations: 49.82 MB / 8.322 GB, free: 10.37 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02754/32.58, allocations: 9.372 MB / 8.331 GB, free: 1.879 MB / 1.057 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.04949/32.63, allocations: 16.17 MB / 8.347 GB, free: 1.008 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.9107/33.54, allocations: 4.214 MB / 8.351 GB, free: 86.11 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01125/33.55, allocations: 1.36 MB / 8.352 GB, free: 86.11 MB / 1.073 GB Notification: Performance of pre-optimization done (n=604): time 3.856e-05/33.55, allocations: 0.75 kB / 8.352 GB, free: 86.11 MB / 1.073 GB Notification: Performance of matching and sorting (n=653): time 0.1064/33.66, allocations: 25.86 MB / 8.378 GB, free: 82.34 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/33.66, allocations: 360.1 kB / 8.378 GB, free: 81.99 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02464/33.69, allocations: 8.6 MB / 8.386 GB, free: 81.45 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001969/33.69, allocations: 184.8 kB / 8.387 GB, free: 81.41 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00881/33.7, allocations: 5.531 MB / 8.392 GB, free: 80.32 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003787/33.7, allocations: 2.204 MB / 8.394 GB, free: 79.21 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/33.7, allocations: 148.9 kB / 8.394 GB, free: 79.21 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0008297/33.7, allocations: 0.5938 MB / 8.395 GB, free: 78.89 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01096/33.71, allocations: 3.444 MB / 8.398 GB, free: 78.88 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/33.73, allocations: 5.694 MB / 8.404 GB, free: 76.54 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/33.74, allocations: 4.349 MB / 8.408 GB, free: 76.3 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.366e-05/33.74, allocations: 13.91 kB / 8.408 GB, free: 76.3 MB / 1.073 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.07207/33.81, allocations: 12 MB / 8.42 GB, free: 75.38 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.008506/33.82, allocations: 26.31 MB / 8.445 GB, free: 48.77 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004004/33.82, allocations: 45.25 kB / 8.445 GB, free: 48.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03771/33.86, allocations: 4.969 MB / 8.45 GB, free: 48.67 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008972/33.87, allocations: 1.295 MB / 8.452 GB, free: 48.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02909/33.9, allocations: 14.11 MB / 8.465 GB, free: 43.85 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01631/33.91, allocations: 1.044 MB / 8.466 GB, free: 43.81 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/33.92, allocations: 376.7 kB / 8.467 GB, free: 43.81 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/33.92, allocations: 3.5 kB / 8.467 GB, free: 43.81 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0374/33.95, allocations: 10.92 MB / 8.477 GB, free: 43.45 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/33.95, allocations: 42.59 kB / 8.477 GB, free: 43.45 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/33.98, allocations: 4.97 MB / 8.482 GB, free: 43.35 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008016/33.98, allocations: 1.271 MB / 8.484 GB, free: 43.35 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03133/34.01, allocations: 16.1 MB / 8.499 GB, free: 36.99 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01609/34.03, allocations: 1.006 MB / 8.5 GB, free: 36.96 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00213/34.03, allocations: 360.3 kB / 8.501 GB, free: 36.96 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 57 ($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.conTim1.tNext,weaData.conTim1.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 721 * Array equations: 4 * Algorithm blocks: 4 * 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.0116/34.04, allocations: 3.374 MB / 8.504 GB, free: 36.76 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004097/34.05, allocations: 1.058 MB / 8.505 GB, free: 36.2 MB / 1.073 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 739 equation(s) and 737 variable(s). Error: $cse69 = 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.02093/34.07, allocations: 5.559 MB / 8.51 GB, free: 35.95 MB / 1.073 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.