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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.945/3.945, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.636e-05, allocations: 3.938 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.715/7.937, allocations: 2.548 GB / 3.183 GB, free: 113 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/7.937, allocations: 89.2 kB / 3.183 GB, free: 112.9 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 28.51/36.45, allocations: 4.983 GB / 8.166 GB, free: 18.16 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.966e-06/36.45, allocations: 0 / 8.166 GB, free: 18.16 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002894/36.45, allocations: 323.7 kB / 8.166 GB, free: 17.85 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.05734/36.51, allocations: 11.75 MB / 8.178 GB, free: 5.961 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/36.51, allocations: 8.031 kB / 8.178 GB, free: 5.953 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006203/36.51, allocations: 1.147 MB / 8.179 GB, free: 4.797 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04099/36.55, allocations: 3.609 MB / 8.182 GB, free: 1.168 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06989/36.62, allocations: 14.75 MB / 8.197 GB, free: 2.359 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00198/36.63, allocations: 0.7643 MB / 8.198 GB, free: 1.582 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005949/36.63, allocations: 0.9192 MB / 8.199 GB, free: 0.6641 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04907/36.68, allocations: 11.01 MB / 8.209 GB, free: 5.344 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000676/36.68, allocations: 27.72 kB / 8.209 GB, free: 5.316 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004283/36.69, allocations: 372 kB / 8.21 GB, free: 4.953 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005897/36.69, allocations: 364.6 kB / 8.21 GB, free: 4.594 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.145/37.83, allocations: 9.812 MB / 8.22 GB, free: 64.79 MB / 1.057 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 0.1415/37.97, allocations: 49.83 MB / 8.268 GB, free: 44.79 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/38, allocations: 8.818 MB / 8.277 GB, free: 43.13 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01205/38.01, allocations: 3.922 MB / 8.281 GB, free: 43.06 MB / 1.057 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.06811/38.08, allocations: 19.05 MB / 8.299 GB, free: 37.57 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01357/38.09, allocations: 3.868 MB / 8.303 GB, free: 37.34 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01429/38.11, allocations: 1.914 MB / 8.305 GB, free: 37.2 MB / 1.057 GB Notification: Performance of pre-optimization done (n=601): time 4.694e-05/38.11, allocations: 0 / 8.305 GB, free: 37.2 MB / 1.057 GB Notification: Performance of matching and sorting (n=650): time 0.1326/38.24, allocations: 20.5 MB / 8.325 GB, free: 33.07 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/38.24, allocations: 358.9 kB / 8.325 GB, free: 32.72 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02884/38.27, allocations: 8.498 MB / 8.334 GB, free: 32.12 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002466/38.27, allocations: 181.7 kB / 8.334 GB, free: 32.09 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/38.28, allocations: 5.532 MB / 8.339 GB, free: 30.98 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.005057/38.29, allocations: 2.195 MB / 8.341 GB, free: 29.58 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002794/38.29, allocations: 147.6 kB / 8.341 GB, free: 29.58 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001192/38.29, allocations: 0.5936 MB / 8.342 GB, free: 29.27 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01761/38.31, allocations: 3.079 MB / 8.345 GB, free: 29.25 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/38.32, allocations: 5.351 MB / 8.35 GB, free: 26.87 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/38.34, allocations: 4.016 MB / 8.354 GB, free: 26.62 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/38.34, allocations: 11.97 kB / 8.354 GB, free: 26.62 MB / 1.057 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04407/38.38, allocations: 11.3 MB / 8.365 GB, free: 25.67 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.01184/38.39, allocations: 26.74 MB / 8.391 GB, free: 30.6 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/38.39, allocations: 48.75 kB / 8.391 GB, free: 30.6 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02473/38.42, allocations: 4.689 MB / 8.396 GB, free: 30.51 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/38.43, allocations: 1.291 MB / 8.397 GB, free: 30.51 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/38.46, allocations: 13.62 MB / 8.411 GB, free: 25.6 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02081/38.48, allocations: 1.038 MB / 8.412 GB, free: 25.53 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002898/38.48, allocations: 369.9 kB / 8.412 GB, free: 25.53 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/38.48, allocations: 2.812 kB / 8.412 GB, free: 25.53 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0377/38.52, allocations: 10.21 MB / 8.422 GB, free: 25.16 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/38.52, allocations: 48.88 kB / 8.422 GB, free: 25.16 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02431/38.55, allocations: 4.692 MB / 8.426 GB, free: 25.06 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/38.56, allocations: 1.264 MB / 8.428 GB, free: 25.06 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03325/38.59, allocations: 15.57 MB / 8.443 GB, free: 18.54 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01965/38.61, allocations: 0.997 MB / 8.444 GB, free: 18.48 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002718/38.61, allocations: 358.1 kB / 8.444 GB, free: 18.48 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * 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 (734): * Single equations (assignments): 720 * 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.004856/38.62, allocations: 0.5542 MB / 8.445 GB, free: 18.34 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005072/38.62, allocations: 1.052 MB / 8.446 GB, free: 17.79 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 732 equation(s) and 730 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02307/38.65, allocations: 5.172 MB / 8.451 GB, free: 17.51 MB / 1.089 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.