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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.936/3.936, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.899e-05, allocations: 1.344 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 98.73 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.767/7.989, allocations: 2.547 GB / 3.176 GB, free: 88.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/7.989, allocations: 86.66 kB / 3.176 GB, free: 88.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 28.4/36.39, allocations: 4.948 GB / 8.124 GB, free: 35.54 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.895e-06/36.39, allocations: 3.938 kB / 8.124 GB, free: 35.54 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002969/36.4, allocations: 319.7 kB / 8.125 GB, free: 35.23 MB / 1.026 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.05234/36.45, allocations: 11.76 MB / 8.136 GB, free: 23.33 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/36.45, allocations: 12.03 kB / 8.136 GB, free: 23.32 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04005/36.49, allocations: 3.597 MB / 8.14 GB, free: 19.7 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06152/36.55, allocations: 14.75 MB / 8.154 GB, free: 4.891 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009751/36.55, allocations: 444.6 kB / 8.154 GB, free: 4.441 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004736/36.56, allocations: 0.5545 MB / 8.155 GB, free: 3.887 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03488/36.59, allocations: 9.296 MB / 8.164 GB, free: 10.58 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04466/36.64, allocations: 9.621 MB / 8.173 GB, free: 0.6523 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000625/36.64, allocations: 23.78 kB / 8.173 GB, free: 0.6289 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003972/36.64, allocations: 19.89 kB / 8.173 GB, free: 0.6094 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006132/36.64, allocations: 360.7 kB / 8.174 GB, free: 260 kB / 1.042 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 2.331/38.97, allocations: 48.2 MB / 8.221 GB, free: 39.94 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02592/39, allocations: 9.745 MB / 8.23 GB, free: 37.2 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01098/39.01, allocations: 3.798 MB / 8.234 GB, free: 37.12 MB / 1.042 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.06598/39.08, allocations: 18.61 MB / 8.252 GB, free: 31.37 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01197/39.09, allocations: 3.571 MB / 8.256 GB, free: 31.16 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01354/39.1, allocations: 1.691 MB / 8.257 GB, free: 31.04 MB / 1.042 GB Notification: Performance of pre-optimization done (n=592): time 5.408e-05/39.1, allocations: 1.062 kB / 8.257 GB, free: 31.04 MB / 1.042 GB Notification: Performance of matching and sorting (n=641): time 0.1165/39.22, allocations: 21.21 MB / 8.278 GB, free: 26.95 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/39.22, allocations: 358.9 kB / 8.278 GB, free: 26.6 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02476/39.24, allocations: 7.64 MB / 8.286 GB, free: 26.05 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002378/39.25, allocations: 50.3 kB / 8.286 GB, free: 26.02 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01038/39.26, allocations: 5.528 MB / 8.291 GB, free: 24.84 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004584/39.26, allocations: 2.085 MB / 8.293 GB, free: 23.48 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/39.26, allocations: 0.75 kB / 8.293 GB, free: 23.48 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0008618/39.26, allocations: 0.588 MB / 8.294 GB, free: 23.16 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009211/39.27, allocations: 2.889 MB / 8.297 GB, free: 23.15 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/39.29, allocations: 5.102 MB / 8.302 GB, free: 20.76 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02221/39.31, allocations: 4.4 MB / 8.306 GB, free: 20.66 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/39.31, allocations: 15.34 kB / 8.306 GB, free: 20.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.05146/39.36, allocations: 11.03 MB / 8.317 GB, free: 19.86 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.01172/39.37, allocations: 26.81 MB / 8.343 GB, free: 24.27 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003321/39.37, allocations: 46.78 kB / 8.343 GB, free: 24.27 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02152/39.39, allocations: 3.774 MB / 8.347 GB, free: 24.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/39.4, allocations: 1.271 MB / 8.348 GB, free: 24.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03163/39.44, allocations: 13.7 MB / 8.361 GB, free: 19.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01972/39.46, allocations: 0.8488 MB / 8.362 GB, free: 19.33 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002814/39.46, allocations: 367.5 kB / 8.363 GB, free: 19.33 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/39.46, allocations: 7.469 kB / 8.363 GB, free: 19.33 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04359/39.5, allocations: 9.662 MB / 8.372 GB, free: 19.09 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/39.5, allocations: 46.22 kB / 8.372 GB, free: 19.09 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0211/39.52, allocations: 3.767 MB / 8.376 GB, free: 19 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/39.53, allocations: 1.245 MB / 8.377 GB, free: 19 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03382/39.57, allocations: 15.48 MB / 8.392 GB, free: 28.71 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01863/39.59, allocations: 0.8136 MB / 8.393 GB, free: 28.66 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002685/39.59, allocations: 353.5 kB / 8.393 GB, free: 28.66 MB / 1.089 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[2].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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.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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (726): * Single equations (assignments): 712 * 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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004653/39.59, allocations: 314.7 kB / 8.393 GB, free: 28.52 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03773/39.63, allocations: 7.796 MB / 8.401 GB, free: 27.71 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005759/39.64, allocations: 1.017 MB / 8.402 GB, free: 27.18 MB / 1.089 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 720 equation(s) and 718 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02984/39.67, allocations: 5.348 MB / 8.407 GB, free: 26.9 MB / 1.089 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.