Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 176.9 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.2 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000804/0.0008039, allocations: 91.64 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.498e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7193/0.7194, allocations: 115.3 MB / 0.9644 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.368/7.088, allocations: 2.438 GB / 3.402 GB, free: 81.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/7.088, allocations: 92.89 kB / 3.402 GB, free: 81.14 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.04/29.13, allocations: 5.107 GB / 8.509 GB, free: 44.43 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.984e-06/29.13, allocations: 3.938 kB / 8.509 GB, free: 44.43 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002815/29.13, allocations: 327.4 kB / 8.51 GB, free: 44.34 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.04928/29.18, allocations: 11.67 MB / 8.521 GB, free: 38.92 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/29.18, allocations: 11.81 kB / 8.521 GB, free: 38.92 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02674/29.21, allocations: 3.387 MB / 8.524 GB, free: 38.08 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05075/29.26, allocations: 14.7 MB / 8.539 GB, free: 35.73 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/29.26, allocations: 451.8 kB / 8.539 GB, free: 35.65 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005133/29.27, allocations: 0.5519 MB / 8.54 GB, free: 35.57 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0263/29.29, allocations: 9.193 MB / 8.549 GB, free: 27.42 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03487/29.33, allocations: 9.655 MB / 8.558 GB, free: 19.02 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006831/29.33, allocations: 26.72 kB / 8.558 GB, free: 19 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004046/29.33, allocations: 16 kB / 8.558 GB, free: 18.98 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003835/29.33, allocations: 362.8 kB / 8.559 GB, free: 18.64 MB / 1.135 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.107/29.44, allocations: 48.56 MB / 8.606 GB, free: 1.066 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 1.148/30.59, allocations: 9.572 MB / 8.615 GB, free: 80.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008301/30.6, allocations: 3.776 MB / 8.619 GB, free: 80.23 MB / 1.167 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.04613/30.64, allocations: 18.25 MB / 8.637 GB, free: 75.13 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006435/30.65, allocations: 3.55 MB / 8.64 GB, free: 74.93 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01021/30.66, allocations: 1.691 MB / 8.642 GB, free: 74.93 MB / 1.167 GB Notification: Performance of pre-optimization done (n=591): time 5.046e-05/30.66, allocations: 0 / 8.642 GB, free: 74.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=640): time 0.1003/30.76, allocations: 20.07 MB / 8.662 GB, free: 71.39 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/30.76, allocations: 389.2 kB / 8.662 GB, free: 71.01 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02516/30.79, allocations: 7.703 MB / 8.669 GB, free: 70.46 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002962/30.79, allocations: 49.77 kB / 8.67 GB, free: 70.43 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01358/30.8, allocations: 5.578 MB / 8.675 GB, free: 69.24 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005586/30.81, allocations: 2.087 MB / 8.677 GB, free: 68.14 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/30.81, allocations: 0 / 8.677 GB, free: 68.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00103/30.81, allocations: 0.5851 MB / 8.678 GB, free: 67.83 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/30.82, allocations: 2.855 MB / 8.68 GB, free: 67.81 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01516/30.84, allocations: 5.1 MB / 8.685 GB, free: 65.39 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/30.86, allocations: 4 MB / 8.689 GB, free: 65.28 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002041/30.86, allocations: 16.73 kB / 8.689 GB, free: 65.28 MB / 1.167 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.04249/30.9, allocations: 10.56 MB / 8.7 GB, free: 64.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005382/30.9, allocations: 27.28 MB / 8.726 GB, free: 36.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/30.9, allocations: 47.38 kB / 8.726 GB, free: 36.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/30.92, allocations: 3.802 MB / 8.73 GB, free: 36.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/30.92, allocations: 1.262 MB / 8.731 GB, free: 36.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/30.94, allocations: 13.71 MB / 8.745 GB, free: 31.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/30.95, allocations: 0.8425 MB / 8.745 GB, free: 31.58 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002425/30.96, allocations: 362.7 kB / 8.746 GB, free: 31.58 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/30.96, allocations: 5.062 kB / 8.746 GB, free: 31.58 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02283/30.98, allocations: 9.142 MB / 8.755 GB, free: 31.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/30.98, allocations: 49.31 kB / 8.755 GB, free: 31.34 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/30.99, allocations: 3.799 MB / 8.758 GB, free: 31.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005764/31, allocations: 1.234 MB / 8.76 GB, free: 31.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/31.02, allocations: 15.49 MB / 8.775 GB, free: 24.94 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/31.03, allocations: 0.8066 MB / 8.776 GB, free: 24.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002338/31.03, allocations: 347.4 kB / 8.776 GB, free: 24.91 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].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: 213 * 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.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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 715 * 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 {20 157,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002953/31.04, allocations: 318.8 kB / 8.776 GB, free: 24.8 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0221/31.06, allocations: 7.426 MB / 8.783 GB, free: 23.99 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004723/31.06, allocations: 1.024 MB / 8.784 GB, free: 23.45 MB / 1.167 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 724 equation(s) and 722 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/31.08, allocations: 4.985 MB / 8.789 GB, free: 23.19 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.