Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 184.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 90.52 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.44e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2336, allocations: 106.3 MB / 0.8918 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.15/6.384, allocations: 2.555 GB / 3.447 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/6.384, allocations: 83.95 kB / 3.447 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 19.76/26.15, allocations: 5.009 GB / 8.456 GB, free: 62.56 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.335e-06/26.15, allocations: 0.9688 kB / 8.456 GB, free: 62.56 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002841/26.15, allocations: 325 kB / 8.456 GB, free: 62.52 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.04418/26.19, allocations: 11.69 MB / 8.468 GB, free: 57.37 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/26.19, allocations: 6.406 kB / 8.468 GB, free: 57.37 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02557/26.22, allocations: 3.381 MB / 8.471 GB, free: 56.61 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04572/26.27, allocations: 14.74 MB / 8.485 GB, free: 54.8 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001093/26.27, allocations: 0.767 MB / 8.486 GB, free: 54.71 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004857/26.27, allocations: 0.9155 MB / 8.487 GB, free: 54.71 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03756/26.31, allocations: 11.07 MB / 8.498 GB, free: 53.65 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000658/26.31, allocations: 21.5 kB / 8.498 GB, free: 53.64 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004307/26.31, allocations: 373.9 kB / 8.498 GB, free: 53.64 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004388/26.31, allocations: 357.8 kB / 8.498 GB, free: 53.62 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02714/26.34, allocations: 9.757 MB / 8.508 GB, free: 53.55 MB / 1.104 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.09724/26.44, allocations: 50.27 MB / 8.557 GB, free: 32.3 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/26.46, allocations: 8.738 MB / 8.566 GB, free: 30.61 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00863/26.47, allocations: 3.878 MB / 8.569 GB, free: 30.54 MB / 1.104 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.04485/26.51, allocations: 18.66 MB / 8.588 GB, free: 25.37 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006808/26.52, allocations: 3.841 MB / 8.591 GB, free: 25.15 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009895/26.53, allocations: 1.913 MB / 8.593 GB, free: 24.88 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 4.192e-05/26.53, allocations: 1.875 kB / 8.593 GB, free: 24.88 MB / 1.104 GB Notification: Performance of matching and sorting (n=605): time 0.05745/26.58, allocations: 17.14 MB / 8.61 GB, free: 20.61 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/26.58, allocations: 379 kB / 8.61 GB, free: 20.22 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02535/26.61, allocations: 8.605 MB / 8.619 GB, free: 19.59 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002283/26.61, allocations: 172.6 kB / 8.619 GB, free: 19.56 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.008604/26.62, allocations: 5.546 MB / 8.624 GB, free: 18 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004057/26.63, allocations: 2.044 MB / 8.626 GB, free: 16.69 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/26.63, allocations: 146.7 kB / 8.627 GB, free: 16.69 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008473/26.63, allocations: 0.5753 MB / 8.627 GB, free: 16.38 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0067/26.63, allocations: 2.797 MB / 8.63 GB, free: 16.36 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007964/26.64, allocations: 5.069 MB / 8.635 GB, free: 13.95 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/26.65, allocations: 3.589 MB / 8.638 GB, free: 13.82 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.498e-05/26.65, allocations: 15.62 kB / 8.638 GB, free: 13.82 MB / 1.104 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02353/26.67, allocations: 9.152 MB / 8.647 GB, free: 13.02 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.007396/26.68, allocations: 27.23 MB / 8.674 GB, free: 1.551 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/26.68, allocations: 49.53 kB / 8.674 GB, free: 1.551 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/26.68, allocations: 0.6334 MB / 8.674 GB, free: 1.504 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008453/26.69, allocations: 1.639 MB / 8.676 GB, free: 1.504 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/26.7, allocations: 8.28 MB / 8.684 GB, free: 10.89 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01497/26.72, allocations: 0.9946 MB / 8.685 GB, free: 10.83 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/26.72, allocations: 356.8 kB / 8.685 GB, free: 10.83 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/26.72, allocations: 7.219 kB / 8.685 GB, free: 10.83 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01601/26.73, allocations: 8.112 MB / 8.693 GB, free: 10.59 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/26.73, allocations: 47.58 kB / 8.693 GB, free: 10.59 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/26.74, allocations: 0.6327 MB / 8.694 GB, free: 10.54 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007663/26.74, allocations: 1.604 MB / 8.696 GB, free: 10.54 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/26.75, allocations: 9.656 MB / 8.705 GB, free: 2.891 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/26.77, allocations: 0.9623 MB / 8.706 GB, free: 2.828 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/26.77, allocations: 350.3 kB / 8.706 GB, free: 2.828 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (863): * Single equations (assignments): 851 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,2 10,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002797/26.77, allocations: 0.5614 MB / 8.707 GB, free: 2.684 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003216/26.78, allocations: 1.043 MB / 8.708 GB, free: 2.133 MB / 1.135 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 692 equation(s) and 690 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/26.79, allocations: 4.872 MB / 8.713 GB, free: 1.848 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.