Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.506/2.506, allocations: 284.8 MB / 297.3 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 184.8 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 96.34 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.762e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7862, allocations: 115.2 MB / 0.97 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.258/8.044, allocations: 2.44 GB / 3.41 GB, free: 13.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/8.044, allocations: 86.89 kB / 3.41 GB, free: 13.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 28.98/37.03, allocations: 5.145 GB / 8.555 GB, free: 3.609 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.013e-06/37.03, allocations: 0 / 8.555 GB, free: 3.609 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003196/37.03, allocations: 327.7 kB / 8.555 GB, free: 3.289 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 2.269/39.3, allocations: 11.6 MB / 8.566 GB, free: 57.46 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/39.3, allocations: 12.88 kB / 8.566 GB, free: 57.46 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03838/39.34, allocations: 3.4 MB / 8.57 GB, free: 56.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0668/39.41, allocations: 14.8 MB / 8.584 GB, free: 55 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001617/39.41, allocations: 0.7721 MB / 8.585 GB, free: 54.92 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005359/39.41, allocations: 0.9218 MB / 8.586 GB, free: 54.91 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04604/39.46, allocations: 11.11 MB / 8.597 GB, free: 53.82 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007801/39.46, allocations: 19.19 kB / 8.597 GB, free: 53.82 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004549/39.46, allocations: 373.6 kB / 8.597 GB, free: 53.82 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005576/39.46, allocations: 358.4 kB / 8.597 GB, free: 53.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03918/39.5, allocations: 9.771 MB / 8.607 GB, free: 53.73 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 removeSimpleEquations (simulation): time 0.1428/39.65, allocations: 50.52 MB / 8.656 GB, free: 32.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/39.67, allocations: 8.645 MB / 8.665 GB, free: 30.61 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01193/39.69, allocations: 3.908 MB / 8.668 GB, free: 30.55 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.08566/39.77, allocations: 18.64 MB / 8.687 GB, free: 41.42 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01766/39.79, allocations: 3.83 MB / 8.69 GB, free: 41.21 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01907/39.81, allocations: 1.9 MB / 8.692 GB, free: 40.94 MB / 1.182 GB Notification: Performance of pre-optimization done (n=595): time 5.192e-05/39.81, allocations: 0 / 8.692 GB, free: 40.94 MB / 1.182 GB Notification: Performance of matching and sorting (n=644): time 0.1119/39.92, allocations: 18.82 MB / 8.711 GB, free: 37.91 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003602/39.92, allocations: 382.7 kB / 8.711 GB, free: 37.53 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03823/39.96, allocations: 8.63 MB / 8.719 GB, free: 36.89 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.003133/39.96, allocations: 181.4 kB / 8.72 GB, free: 36.86 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01817/39.98, allocations: 5.626 MB / 8.725 GB, free: 35.27 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.006406/39.99, allocations: 2.192 MB / 8.727 GB, free: 33.86 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002802/39.99, allocations: 148.6 kB / 8.727 GB, free: 33.86 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001463/39.99, allocations: 0.5904 MB / 8.728 GB, free: 33.54 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01509/40.01, allocations: 3.052 MB / 8.731 GB, free: 33.53 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01838/40.03, allocations: 5.342 MB / 8.736 GB, free: 31.13 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/40.04, allocations: 3.893 MB / 8.74 GB, free: 31.01 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.892e-05/40.04, allocations: 18.52 kB / 8.74 GB, free: 31 MB / 1.182 GB Notification: Performance of matching and sorting (n=943) (initialization): time 0.04315/40.08, allocations: 11.06 MB / 8.751 GB, free: 30.18 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01228/40.09, allocations: 26.94 MB / 8.777 GB, free: 17.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/40.09, allocations: 45.97 kB / 8.777 GB, free: 17.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/40.12, allocations: 4.647 MB / 8.782 GB, free: 17.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/40.13, allocations: 1.285 MB / 8.783 GB, free: 17.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03421/40.16, allocations: 13.62 MB / 8.796 GB, free: 28.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02712/40.19, allocations: 1.018 MB / 8.797 GB, free: 28.44 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003546/40.19, allocations: 367.3 kB / 8.797 GB, free: 28.44 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/40.19, allocations: 6.531 kB / 8.797 GB, free: 28.44 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04573/40.24, allocations: 9.9 MB / 8.807 GB, free: 28.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/40.24, allocations: 46.62 kB / 8.807 GB, free: 28.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02424/40.27, allocations: 4.594 MB / 8.812 GB, free: 28.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/40.28, allocations: 1.27 MB / 8.813 GB, free: 28.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03391/40.31, allocations: 15.58 MB / 8.828 GB, free: 21.57 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01947/40.33, allocations: 0.9915 MB / 8.829 GB, free: 21.51 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002559/40.33, allocations: 359.7 kB / 8.829 GB, free: 21.51 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 206 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (728): * Single equations (assignments): 718 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.004709/40.34, allocations: 0.5473 MB / 8.83 GB, free: 21.38 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005295/40.34, allocations: 1.071 MB / 8.831 GB, free: 20.81 MB / 1.214 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 734 equation(s) and 732 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02233/40.36, allocations: 5.202 MB / 8.836 GB, free: 20.52 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.