Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.889/3.889, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002436/0.002436, allocations: 181.1 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.015/4.015, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.001499/0.001499, allocations: 92.48 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008115/0.0008119, allocations: 10.06 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3444, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.85/13.2, allocations: 2.555 GB / 3.455 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004321/13.2, allocations: 95.62 kB / 3.455 GB, free: 209.7 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:85:3-88: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.1/Fluid/MixingVolumes/BaseClasses/PartialMixingVolume.mo:92:3-95: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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 43.45/56.65, allocations: 4.958 GB / 8.413 GB, free: 57.97 MB / 1.089 GB Notification: Performance of FrontEnd: time 4.569e-06/56.65, allocations: 0 / 8.413 GB, free: 57.97 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.005218/56.65, allocations: 325.8 kB / 8.413 GB, free: 57.91 MB / 1.089 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.1063/56.76, allocations: 14.53 MB / 8.427 GB, free: 51.57 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/56.76, allocations: 12.47 kB / 8.427 GB, free: 51.57 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05818/56.82, allocations: 3.322 MB / 8.431 GB, free: 50.73 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09676/56.92, allocations: 14.22 MB / 8.444 GB, free: 48.57 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002429/56.92, allocations: 0.7688 MB / 8.445 GB, free: 48.48 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007928/56.93, allocations: 0.9233 MB / 8.446 GB, free: 48.47 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07622/57, allocations: 11.55 MB / 8.457 GB, free: 47.33 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001102/57, allocations: 24.33 kB / 8.457 GB, free: 47.32 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006567/57.01, allocations: 371.9 kB / 8.458 GB, free: 47.32 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008558/57.01, allocations: 362.8 kB / 8.458 GB, free: 47.29 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06691/57.08, allocations: 10.51 MB / 8.468 GB, free: 47.11 MB / 1.089 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.2166/57.3, allocations: 50.04 MB / 8.517 GB, free: 23.16 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05105/57.35, allocations: 9.39 MB / 8.526 GB, free: 18.48 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02334/57.37, allocations: 4.199 MB / 8.531 GB, free: 16.93 MB / 1.089 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.09595/57.47, allocations: 18.44 MB / 8.549 GB, free: 1.383 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0257/57.49, allocations: 4.162 MB / 8.553 GB, free: 14.11 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02417/57.52, allocations: 1.884 MB / 8.554 GB, free: 12.62 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 4.732e-05/57.52, allocations: 4 kB / 8.554 GB, free: 12.62 MB / 1.104 GB Notification: Performance of matching and sorting (n=650): time 0.1998/57.72, allocations: 25.67 MB / 8.58 GB, free: 5.652 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005109/57.72, allocations: 381.3 kB / 8.58 GB, free: 5.207 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.869/59.59, allocations: 9.662 MB / 8.589 GB, free: 92.31 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003525/59.59, allocations: 182.3 kB / 8.59 GB, free: 92.28 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01786/59.61, allocations: 5.529 MB / 8.595 GB, free: 92.12 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007734/59.61, allocations: 2.195 MB / 8.597 GB, free: 91.68 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003243/59.62, allocations: 147.8 kB / 8.597 GB, free: 91.68 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001785/59.62, allocations: 0.5983 MB / 8.598 GB, free: 91.36 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02545/59.65, allocations: 3.431 MB / 8.601 GB, free: 91.35 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02783/59.67, allocations: 5.768 MB / 8.607 GB, free: 88.93 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02581/59.7, allocations: 4.252 MB / 8.611 GB, free: 88.83 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002028/59.7, allocations: 16.41 kB / 8.611 GB, free: 88.83 MB / 1.12 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.08542/59.79, allocations: 11.9 MB / 8.623 GB, free: 88.02 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.002222/59.79, allocations: 1.526 MB / 8.624 GB, free: 86.2 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004614/59.79, allocations: 46.78 kB / 8.624 GB, free: 86.2 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04366/59.83, allocations: 4.993 MB / 8.629 GB, free: 86.13 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01807/59.85, allocations: 1.292 MB / 8.63 GB, free: 86.13 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05961/59.91, allocations: 13.9 MB / 8.644 GB, free: 81.31 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03118/59.94, allocations: 1.031 MB / 8.645 GB, free: 81.28 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004172/59.94, allocations: 373.5 kB / 8.645 GB, free: 81.28 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/59.95, allocations: 3.594 kB / 8.645 GB, free: 81.28 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07055/60.02, allocations: 10.71 MB / 8.656 GB, free: 81.05 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003761/60.02, allocations: 46.84 kB / 8.656 GB, free: 81.05 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04238/60.06, allocations: 4.962 MB / 8.661 GB, free: 80.95 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/60.08, allocations: 1.265 MB / 8.662 GB, free: 80.95 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06463/60.14, allocations: 15.85 MB / 8.677 GB, free: 74.52 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03013/60.17, allocations: 1.001 MB / 8.678 GB, free: 74.49 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00397/60.17, allocations: 362.3 kB / 8.679 GB, free: 74.49 MB / 1.12 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 (742): * Single equations (assignments): 729 * 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.02143/60.2, allocations: 3.383 MB / 8.682 GB, free: 74.29 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008227/60.2, allocations: 1.06 MB / 8.683 GB, free: 73.73 MB / 1.12 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 738 equation(s) and 736 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.04176/60.25, allocations: 5.494 MB / 8.688 GB, free: 73.48 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.