Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,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.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,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.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 11 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.00112/0.00112, allocations: 176 kB / 326.5 MB, free: 2.25 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.764/1.764, allocations: 205.4 MB / 0.5775 GB, free: 20.34 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.0008414/0.0008413, allocations: 90.42 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8.531 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2771, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.782/7.06, allocations: 2.557 GB / 3.457 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/7.06, allocations: 92.47 kB / 3.457 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 19.68/26.74, allocations: 5.021 GB / 8.479 GB, free: 49.88 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.235e-06/26.74, allocations: 0 / 8.479 GB, free: 49.88 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002542/26.75, allocations: 325.9 kB / 8.479 GB, free: 49.8 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.0601/26.81, allocations: 14.49 MB / 8.493 GB, free: 43.34 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/26.81, allocations: 11.59 kB / 8.493 GB, free: 43.34 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02507/26.83, allocations: 3.387 MB / 8.497 GB, free: 42.49 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05058/26.88, allocations: 14.93 MB / 8.511 GB, free: 40.12 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/26.88, allocations: 0.7798 MB / 8.512 GB, free: 40.02 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004818/26.89, allocations: 0.927 MB / 8.513 GB, free: 40 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04384/26.93, allocations: 11.54 MB / 8.524 GB, free: 38.82 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000807/26.93, allocations: 19.12 kB / 8.524 GB, free: 38.82 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004693/26.94, allocations: 370.5 kB / 8.524 GB, free: 38.81 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/26.94, allocations: 362.1 kB / 8.525 GB, free: 38.79 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03429/26.97, allocations: 10.55 MB / 8.535 GB, free: 36.32 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.107/27.08, allocations: 50.62 MB / 8.585 GB, free: 5.711 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02314/27.1, allocations: 9.235 MB / 8.594 GB, free: 12.35 MB / 1.12 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.8995/28, allocations: 15.72 MB / 8.609 GB, free: 86.01 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01196/28.02, allocations: 4.152 MB / 8.613 GB, free: 85.8 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01036/28.03, allocations: 1.348 MB / 8.614 GB, free: 85.8 MB / 1.12 GB Notification: Performance of pre-optimization done (n=599): time 4.626e-05/28.03, allocations: 0 / 8.614 GB, free: 85.8 MB / 1.12 GB Notification: Performance of matching and sorting (n=603): time 0.07042/28.1, allocations: 20.64 MB / 8.634 GB, free: 83.32 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/28.1, allocations: 375.8 kB / 8.635 GB, free: 82.93 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02167/28.12, allocations: 8.786 MB / 8.643 GB, free: 82.37 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002069/28.12, allocations: 171.3 kB / 8.644 GB, free: 82.34 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.006893/28.13, allocations: 5.621 MB / 8.649 GB, free: 81.22 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.003348/28.13, allocations: 2.052 MB / 8.651 GB, free: 80.18 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/28.13, allocations: 140 kB / 8.651 GB, free: 80.18 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0004693/28.13, allocations: 0.5736 MB / 8.652 GB, free: 79.87 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007469/28.14, allocations: 3.143 MB / 8.655 GB, free: 79.85 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009953/28.15, allocations: 5.385 MB / 8.66 GB, free: 77.49 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009777/28.16, allocations: 3.899 MB / 8.664 GB, free: 77.39 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/28.16, allocations: 16.58 kB / 8.664 GB, free: 77.39 MB / 1.12 GB Notification: Performance of matching and sorting (n=901) (initialization): time 0.02744/28.19, allocations: 9.877 MB / 8.674 GB, free: 76.57 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.005461/28.19, allocations: 26.49 MB / 8.699 GB, free: 48.38 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/28.19, allocations: 43.72 kB / 8.699 GB, free: 48.38 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/28.2, allocations: 0.6548 MB / 8.7 GB, free: 48.33 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/28.21, allocations: 1.651 MB / 8.702 GB, free: 48.33 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/28.21, allocations: 8.383 MB / 8.71 GB, free: 41.73 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/28.23, allocations: 0.9944 MB / 8.711 GB, free: 41.69 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002573/28.23, allocations: 361.6 kB / 8.711 GB, free: 41.69 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/28.23, allocations: 4.031 kB / 8.711 GB, free: 41.69 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0269/28.26, allocations: 8.791 MB / 8.72 GB, free: 41.45 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/28.26, allocations: 43.88 kB / 8.72 GB, free: 41.45 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/28.26, allocations: 0.6477 MB / 8.72 GB, free: 41.4 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009078/28.27, allocations: 1.623 MB / 8.722 GB, free: 41.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/28.28, allocations: 9.798 MB / 8.732 GB, free: 33.84 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01611/28.3, allocations: 0.9618 MB / 8.733 GB, free: 33.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002722/28.3, allocations: 347.5 kB / 8.733 GB, free: 33.8 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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.conPID.I.trigger_internal,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 (859): * Single equations (assignments): 847 * 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 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01287/28.31, allocations: 3.338 MB / 8.736 GB, free: 33.61 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00415/28.32, allocations: 1.053 MB / 8.737 GB, free: 33.05 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 697 equation(s) and 695 variable(s). Error: $cse74 = 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 (roo.TRooAir) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/28.33, allocations: 5.24 MB / 8.742 GB, free: 32.79 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.