Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.0009258/0.0009258, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.382/1.382, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008623/0.0008623, allocations: 84.84 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.484e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6939, allocations: 116.3 MB / 0.9732 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.321/6.015, allocations: 2.439 GB / 3.412 GB, free: 44.87 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/6.016, allocations: 84.53 kB / 3.412 GB, free: 44.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 18.9/24.91, allocations: 5.105 GB / 8.517 GB, free: 53.27 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/24.92, allocations: 0 / 8.517 GB, free: 53.27 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001948/24.92, allocations: 328.5 kB / 8.517 GB, free: 53.2 MB / 1.151 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.03482/24.95, allocations: 11.67 MB / 8.529 GB, free: 47.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/24.95, allocations: 13.91 kB / 8.529 GB, free: 47.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/24.97, allocations: 3.386 MB / 8.532 GB, free: 46.96 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03607/25.01, allocations: 14.71 MB / 8.546 GB, free: 44.62 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006888/25.01, allocations: 452.2 kB / 8.547 GB, free: 44.54 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003183/25.01, allocations: 0.536 MB / 8.547 GB, free: 44.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01855/25.03, allocations: 9.195 MB / 8.556 GB, free: 44.49 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/25.06, allocations: 9.663 MB / 8.566 GB, free: 43.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/25.06, allocations: 18.92 kB / 8.566 GB, free: 43.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/25.06, allocations: 11.69 kB / 8.566 GB, free: 43.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002602/25.06, allocations: 363.2 kB / 8.566 GB, free: 43.38 MB / 1.151 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.07277/25.13, allocations: 48.66 MB / 8.614 GB, free: 3.535 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/25.14, allocations: 9.814 MB / 8.623 GB, free: 10.13 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006193/25.15, allocations: 3.759 MB / 8.627 GB, free: 6.652 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.03832/25.19, allocations: 18.34 MB / 8.645 GB, free: 5.738 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00605/25.2, allocations: 3.558 MB / 8.648 GB, free: 2.113 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008318/25.2, allocations: 1.689 MB / 8.65 GB, free: 428 kB / 1.182 GB Notification: Performance of pre-optimization done (n=591): time 3.423e-05/25.2, allocations: 0 / 8.65 GB, free: 428 kB / 1.182 GB Notification: Performance of matching and sorting (n=595): time 0.9079/26.11, allocations: 16.92 MB / 8.667 GB, free: 90.71 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/26.11, allocations: 377.6 kB / 8.667 GB, free: 90.33 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/26.12, allocations: 7.703 MB / 8.674 GB, free: 89.78 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/26.13, allocations: 51.69 kB / 8.674 GB, free: 89.75 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.005437/26.13, allocations: 5.577 MB / 8.68 GB, free: 88.59 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002683/26.13, allocations: 1.932 MB / 8.682 GB, free: 87.57 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/26.13, allocations: 0.6562 kB / 8.682 GB, free: 87.57 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003381/26.13, allocations: 0.5774 MB / 8.682 GB, free: 87.25 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003722/26.14, allocations: 2.615 MB / 8.685 GB, free: 87.23 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004727/26.14, allocations: 4.844 MB / 8.69 GB, free: 84.81 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007142/26.15, allocations: 3.712 MB / 8.693 GB, free: 84.71 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/26.15, allocations: 12.16 kB / 8.693 GB, free: 84.71 MB / 1.182 GB Notification: Performance of matching and sorting (n=895) (initialization): time 0.01953/26.17, allocations: 8.703 MB / 8.702 GB, free: 83.93 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.004962/26.17, allocations: 27.27 MB / 8.728 GB, free: 55.95 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/26.17, allocations: 50.16 kB / 8.728 GB, free: 55.95 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/26.18, allocations: 0.5994 MB / 8.729 GB, free: 55.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008438/26.19, allocations: 1.615 MB / 8.731 GB, free: 55.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007282/26.19, allocations: 8.119 MB / 8.739 GB, free: 49.48 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/26.21, allocations: 0.8213 MB / 8.739 GB, free: 49.44 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002149/26.21, allocations: 354.1 kB / 8.74 GB, free: 49.44 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/26.21, allocations: 5.406 kB / 8.74 GB, free: 49.44 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02194/26.23, allocations: 7.442 MB / 8.747 GB, free: 49.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/26.23, allocations: 47.22 kB / 8.747 GB, free: 49.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/26.23, allocations: 0.6051 MB / 8.748 GB, free: 49.15 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/26.24, allocations: 1.586 MB / 8.749 GB, free: 49.15 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00749/26.25, allocations: 9.327 MB / 8.758 GB, free: 41.83 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/26.26, allocations: 0.7845 MB / 8.759 GB, free: 41.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/26.26, allocations: 344 kB / 8.759 GB, free: 41.8 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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 (854): * Single equations (assignments): 842 * 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.002425/26.26, allocations: 318.9 kB / 8.76 GB, free: 41.69 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002975/26.27, allocations: 1.005 MB / 8.761 GB, free: 41.16 MB / 1.182 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 679 equation(s) and 677 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/26.28, allocations: 4.689 MB / 8.765 GB, free: 40.91 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.