Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.499/2.499, allocations: 287.5 MB / 303.2 MB, free: 8.211 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.001339/0.001338, allocations: 184.2 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000924/0.0009235, allocations: 96.25 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006209/0.0006211, allocations: 11.27 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2124, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.46/7.673, allocations: 2.439 GB / 3.418 GB, free: 232.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/7.673, allocations: 95.97 kB / 3.418 GB, free: 232.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:89:3-92:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_default.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:96:3-99:62:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.state_start.X[2] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.p to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.T to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.X[1] to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Interfaces/ConservationEquation.mo:140:3-143:73:writable] Notification: Moving binding to initial equation section and setting fixed attribute of roo.rooVol.dynBal.state_default.X[2] to false. Notification: Performance of FrontEnd - DAE generated: time 27.28/34.95, allocations: 5.091 GB / 8.509 GB, free: 60.66 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.985e-06/34.95, allocations: 0 / 8.509 GB, free: 60.66 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002795/34.95, allocations: 322.8 kB / 8.509 GB, free: 60.62 MB / 1.167 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.06798/35.02, allocations: 14.38 MB / 8.523 GB, free: 54.44 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/35.02, allocations: 9.5 kB / 8.523 GB, free: 54.44 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03586/35.06, allocations: 3.335 MB / 8.527 GB, free: 53.68 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05962/35.12, allocations: 14.58 MB / 8.541 GB, free: 51.44 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00153/35.12, allocations: 0.7765 MB / 8.542 GB, free: 51.36 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005046/35.12, allocations: 0.9194 MB / 8.542 GB, free: 51.34 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04791/35.17, allocations: 11.53 MB / 8.554 GB, free: 50.28 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006901/35.17, allocations: 19.16 kB / 8.554 GB, free: 50.28 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004181/35.18, allocations: 372.9 kB / 8.554 GB, free: 50.28 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005388/35.18, allocations: 361.8 kB / 8.554 GB, free: 50.26 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.043/35.22, allocations: 10.48 MB / 8.565 GB, free: 50.18 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1317/35.35, allocations: 50.03 MB / 8.614 GB, free: 28.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03008/35.38, allocations: 9.153 MB / 8.622 GB, free: 27.08 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01409/35.39, allocations: 4.212 MB / 8.627 GB, free: 27 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.06362/35.46, allocations: 18.56 MB / 8.645 GB, free: 21.74 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01546/35.47, allocations: 4.153 MB / 8.649 GB, free: 21.53 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01423/35.49, allocations: 1.897 MB / 8.651 GB, free: 21.22 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 4.291e-05/35.49, allocations: 0.5625 kB / 8.651 GB, free: 21.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=649): time 0.1191/35.61, allocations: 25.69 MB / 8.676 GB, free: 16.11 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/35.61, allocations: 385 kB / 8.676 GB, free: 15.72 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02724/35.63, allocations: 9.63 MB / 8.685 GB, free: 15.08 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002555/35.64, allocations: 188.4 kB / 8.686 GB, free: 15.04 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0101/35.65, allocations: 5.514 MB / 8.691 GB, free: 13.47 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004385/35.65, allocations: 2.19 MB / 8.693 GB, free: 12.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/35.65, allocations: 148.5 kB / 8.693 GB, free: 12.07 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007613/35.65, allocations: 0.6008 MB / 8.694 GB, free: 11.75 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0126/35.67, allocations: 3.436 MB / 8.697 GB, free: 11.71 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01525/35.68, allocations: 5.78 MB / 8.703 GB, free: 9.219 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02774/35.71, allocations: 9.003 MB / 8.712 GB, free: 7.242 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.586e-05/35.71, allocations: 16.47 kB / 8.712 GB, free: 7.242 MB / 1.167 GB Notification: Performance of matching and sorting (n=965) (initialization): time 0.0469/35.76, allocations: 11.91 MB / 8.723 GB, free: 6.348 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009327/35.76, allocations: 1.524 MB / 8.725 GB, free: 4.438 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.471e-05/35.76, allocations: 45.66 kB / 8.725 GB, free: 4.438 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02601/35.78, allocations: 4.976 MB / 8.73 GB, free: 4.246 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/35.8, allocations: 1.29 MB / 8.731 GB, free: 4.152 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03223/35.83, allocations: 13.88 MB / 8.745 GB, free: 15.09 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02087/35.85, allocations: 1.023 MB / 8.746 GB, free: 14.84 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002676/35.85, allocations: 380.1 kB / 8.746 GB, free: 14.77 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/35.85, allocations: 3 kB / 8.746 GB, free: 14.77 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04064/35.89, allocations: 10.73 MB / 8.756 GB, free: 10.62 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/35.89, allocations: 47.16 kB / 8.756 GB, free: 10.62 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/35.92, allocations: 4.896 MB / 8.761 GB, free: 9.629 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/35.93, allocations: 1.26 MB / 8.762 GB, free: 9.492 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04212/35.97, allocations: 16 MB / 8.778 GB, free: 15.98 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01941/35.99, allocations: 0.9886 MB / 8.779 GB, free: 15.73 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002642/35.99, allocations: 359.8 kB / 8.779 GB, free: 15.68 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 728 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 3 * 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.014/36.01, allocations: 3.374 MB / 8.783 GB, free: 14.01 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006217/36.01, allocations: 1.058 MB / 8.784 GB, free: 13.45 MB / 1.198 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 737 equation(s) and 735 variable(s). Error: $cse16 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size 2 but 1 variables ($cse21) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02542/36.04, allocations: 5.467 MB / 8.789 GB, free: 10.39 MB / 1.198 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.