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.504/1.504, allocations: 249.5 MB / 257 MB, free: 6.957 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.001101/0.001101, allocations: 172.9 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009999/0.0009999, allocations: 96.5 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.516e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.386/6.611, allocations: 2.556 GB / 3.441 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/6.611, allocations: 94.77 kB / 3.441 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 18.66/25.27, allocations: 4.973 GB / 8.413 GB, free: 6.402 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.086e-06/25.27, allocations: 4 kB / 8.413 GB, free: 6.398 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002235/25.28, allocations: 331.6 kB / 8.414 GB, free: 6.074 MB / 1.073 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.04306/25.32, allocations: 11.68 MB / 8.425 GB, free: 10.26 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/25.32, allocations: 8.031 kB / 8.425 GB, free: 10.25 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/25.35, allocations: 3.38 MB / 8.428 GB, free: 6.855 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0459/25.39, allocations: 14.73 MB / 8.443 GB, free: 8.012 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008296/25.39, allocations: 452.8 kB / 8.443 GB, free: 7.555 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0046/25.4, allocations: 0.5506 MB / 8.444 GB, free: 7.004 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.9545/26.35, allocations: 9.212 MB / 8.453 GB, free: 63.18 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03892/26.39, allocations: 9.66 MB / 8.462 GB, free: 62.17 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004836/26.39, allocations: 21.08 kB / 8.462 GB, free: 62.17 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002863/26.39, allocations: 16.55 kB / 8.462 GB, free: 62.17 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005205/26.39, allocations: 359.6 kB / 8.463 GB, free: 62.15 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.09989/26.49, allocations: 48.67 MB / 8.51 GB, free: 42.04 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/26.51, allocations: 9.655 MB / 8.52 GB, free: 39.31 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00581/26.51, allocations: 3.743 MB / 8.523 GB, free: 39.25 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.03383/26.55, allocations: 18.23 MB / 8.541 GB, free: 33.97 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005996/26.55, allocations: 3.546 MB / 8.545 GB, free: 33.76 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008423/26.56, allocations: 1.688 MB / 8.546 GB, free: 33.64 MB / 1.104 GB Notification: Performance of pre-optimization done (n=592): time 1.603e-05/26.56, allocations: 1.625 kB / 8.546 GB, free: 33.64 MB / 1.104 GB Notification: Performance of matching and sorting (n=596): time 0.04803/26.61, allocations: 16.92 MB / 8.563 GB, free: 29.55 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/26.61, allocations: 383.4 kB / 8.563 GB, free: 29.17 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01877/26.63, allocations: 7.732 MB / 8.571 GB, free: 28.63 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001865/26.63, allocations: 48.61 kB / 8.571 GB, free: 28.6 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.006273/26.64, allocations: 5.6 MB / 8.576 GB, free: 27.42 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00314/26.64, allocations: 1.94 MB / 8.578 GB, free: 26.24 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/26.64, allocations: 0.75 kB / 8.578 GB, free: 26.24 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000389/26.64, allocations: 0.5713 MB / 8.579 GB, free: 25.93 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/26.65, allocations: 2.609 MB / 8.581 GB, free: 25.91 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/26.65, allocations: 4.838 MB / 8.586 GB, free: 23.48 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008645/26.66, allocations: 3.707 MB / 8.589 GB, free: 23.38 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.975e-05/26.66, allocations: 13.31 kB / 8.589 GB, free: 23.38 MB / 1.104 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0254/26.69, allocations: 8.692 MB / 8.598 GB, free: 22.59 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0123/26.7, allocations: 27.28 MB / 8.625 GB, free: 26.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/26.7, allocations: 45.06 kB / 8.625 GB, free: 26.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/26.7, allocations: 0.5939 MB / 8.625 GB, free: 26.55 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008378/26.71, allocations: 1.623 MB / 8.627 GB, free: 26.55 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008424/26.72, allocations: 8.113 MB / 8.635 GB, free: 20.14 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/26.73, allocations: 0.819 MB / 8.636 GB, free: 20.07 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/26.74, allocations: 357.7 kB / 8.636 GB, free: 20.07 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/26.74, allocations: 4.906 kB / 8.636 GB, free: 20.07 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02125/26.76, allocations: 7.424 MB / 8.643 GB, free: 19.84 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/26.76, allocations: 54.27 kB / 8.643 GB, free: 19.83 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/26.76, allocations: 0.6045 MB / 8.644 GB, free: 19.79 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007541/26.77, allocations: 1.584 MB / 8.645 GB, free: 19.79 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/26.78, allocations: 9.344 MB / 8.654 GB, free: 28.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01357/26.79, allocations: 0.7853 MB / 8.655 GB, free: 28.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/26.79, allocations: 344.2 kB / 8.656 GB, free: 28.39 MB / 1.151 GB 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 (855): * Single equations (assignments): 843 * 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,3 9,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004195/26.8, allocations: 323.4 kB / 8.656 GB, free: 28.24 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00391/26.8, allocations: 1.008 MB / 8.657 GB, free: 27.71 MB / 1.151 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 680 equation(s) and 678 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/26.82, allocations: 4.68 MB / 8.661 GB, free: 27.43 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.