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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01424/0.01424, allocations: 107.6 kB / 15.05 MB, free: 5.934 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.001662/0.001662, allocations: 187.5 kB / 15.95 MB, free: 5.898 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 2.179/2.179, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.206/2.206, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004998, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7222/0.7228, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.998/8.721, allocations: 2.538 GB / 3.221 GB, free: 166.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004606/8.721, allocations: 96.08 kB / 3.221 GB, free: 166.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 28.8/37.52, allocations: 4.994 GB / 8.216 GB, free: 46.85 MB / 1.042 GB Notification: Performance of FrontEnd: time 5.069e-06/37.52, allocations: 0 / 8.216 GB, free: 46.85 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.004203/37.53, allocations: 326 kB / 8.216 GB, free: 46.77 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.0895/37.62, allocations: 14.57 MB / 8.23 GB, free: 40.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/37.62, allocations: 10.41 kB / 8.23 GB, free: 40.16 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008239/37.62, allocations: 1.159 MB / 8.231 GB, free: 40.07 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05773/37.68, allocations: 3.612 MB / 8.235 GB, free: 39.21 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08729/37.77, allocations: 14.88 MB / 8.25 GB, free: 36.86 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002051/37.77, allocations: 0.7664 MB / 8.25 GB, free: 36.77 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006949/37.78, allocations: 0.9254 MB / 8.251 GB, free: 36.75 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06105/37.84, allocations: 11.45 MB / 8.262 GB, free: 35.65 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007553/37.84, allocations: 24.19 kB / 8.262 GB, free: 35.64 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00446/37.85, allocations: 365.5 kB / 8.263 GB, free: 35.64 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004792/37.85, allocations: 360 kB / 8.263 GB, free: 35.61 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04541/37.89, allocations: 10.63 MB / 8.273 GB, free: 30.24 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.1369/38.03, allocations: 49.84 MB / 8.322 GB, free: 15.39 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03611/38.06, allocations: 9.375 MB / 8.331 GB, free: 5.875 MB / 1.073 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 1.225/39.29, allocations: 16.15 MB / 8.347 GB, free: 84 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01913/39.31, allocations: 4.22 MB / 8.351 GB, free: 83.78 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01466/39.32, allocations: 1.364 MB / 8.353 GB, free: 83.78 MB / 1.073 GB Notification: Performance of pre-optimization done (n=604): time 5.318e-05/39.32, allocations: 1.625 kB / 8.353 GB, free: 83.78 MB / 1.073 GB Notification: Performance of matching and sorting (n=653): time 0.1364/39.46, allocations: 25.87 MB / 8.378 GB, free: 79.89 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/39.46, allocations: 360.3 kB / 8.378 GB, free: 79.54 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02833/39.49, allocations: 8.607 MB / 8.387 GB, free: 78.99 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002579/39.49, allocations: 183.2 kB / 8.387 GB, free: 78.96 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01091/39.5, allocations: 5.52 MB / 8.392 GB, free: 77.87 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.004881/39.51, allocations: 2.209 MB / 8.394 GB, free: 76.75 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/39.51, allocations: 145.3 kB / 8.394 GB, free: 76.75 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0009606/39.51, allocations: 0.5869 MB / 8.395 GB, free: 76.44 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01511/39.52, allocations: 3.45 MB / 8.398 GB, free: 76.42 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01772/39.54, allocations: 5.693 MB / 8.404 GB, free: 74.08 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/39.56, allocations: 4.351 MB / 8.408 GB, free: 73.86 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/39.56, allocations: 12.25 kB / 8.408 GB, free: 73.86 MB / 1.073 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.05216/39.61, allocations: 12 MB / 8.42 GB, free: 72.92 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005983/39.62, allocations: 26.31 MB / 8.446 GB, free: 46.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002881/39.62, allocations: 45.17 kB / 8.446 GB, free: 46.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02688/39.65, allocations: 4.951 MB / 8.45 GB, free: 46.22 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/39.66, allocations: 1.301 MB / 8.452 GB, free: 46.22 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03649/39.69, allocations: 14.11 MB / 8.466 GB, free: 41.39 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02102/39.71, allocations: 1.043 MB / 8.467 GB, free: 41.35 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002838/39.72, allocations: 375.5 kB / 8.467 GB, free: 41.35 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/39.72, allocations: 3.25 kB / 8.467 GB, free: 41.35 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04651/39.76, allocations: 10.91 MB / 8.478 GB, free: 40.99 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/39.76, allocations: 43.62 kB / 8.478 GB, free: 40.99 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02658/39.79, allocations: 4.968 MB / 8.482 GB, free: 40.89 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/39.8, allocations: 1.271 MB / 8.484 GB, free: 40.89 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03988/39.84, allocations: 16.11 MB / 8.499 GB, free: 34.53 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02017/39.86, allocations: 1.008 MB / 8.5 GB, free: 34.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002999/39.86, allocations: 362.8 kB / 8.501 GB, free: 34.5 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.01454/39.88, allocations: 3.368 MB / 8.504 GB, free: 34.3 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005536/39.88, allocations: 1.056 MB / 8.505 GB, free: 33.75 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.02669/39.91, allocations: 5.555 MB / 8.51 GB, free: 33.49 MB / 1.073 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.