Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 387.1 MB / 399.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 176.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008602, allocations: 94.81 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.343e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.645/5.918, allocations: 2.271 GB / 3.483 GB, free: 38.65 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/5.919, allocations: 84.64 kB / 3.483 GB, free: 38.57 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.85/26.76, allocations: 5.206 GB / 8.689 GB, free: 496 kB / 1.339 GB Notification: Performance of FrontEnd: time 1.733e-06/26.76, allocations: 0 / 8.689 GB, free: 496 kB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002584/26.77, allocations: 335.7 kB / 8.69 GB, free: 160 kB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2246 * Number of variables: 2246 Notification: Performance of Generate backend data structure: time 0.04721/26.81, allocations: 11.67 MB / 8.701 GB, free: 4.367 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/26.81, allocations: 12.03 kB / 8.701 GB, free: 4.355 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/26.84, allocations: 3.672 MB / 8.705 GB, free: 0.6641 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05197/26.89, allocations: 15.06 MB / 8.719 GB, free: 1.492 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00168/26.9, allocations: 0.7644 MB / 8.72 GB, free: 0.7109 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263/28.16, allocations: 0.9101 MB / 8.721 GB, free: 83.91 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04142/28.2, allocations: 11.14 MB / 8.732 GB, free: 82.83 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005572/28.2, allocations: 20.98 kB / 8.732 GB, free: 82.83 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003618/28.2, allocations: 373 kB / 8.732 GB, free: 82.83 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000532/28.21, allocations: 362.7 kB / 8.733 GB, free: 82.81 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/28.23, allocations: 9.825 MB / 8.742 GB, free: 82.73 MB / 1.37 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.09915/28.33, allocations: 50.87 MB / 8.792 GB, free: 62.25 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/28.35, allocations: 8.719 MB / 8.8 GB, free: 60.54 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00906/28.36, allocations: 3.908 MB / 8.804 GB, free: 60.47 MB / 1.37 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.0548/28.42, allocations: 18.83 MB / 8.823 GB, free: 55.47 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01039/28.43, allocations: 3.859 MB / 8.826 GB, free: 55.26 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01173/28.44, allocations: 1.891 MB / 8.828 GB, free: 55.12 MB / 1.37 GB Notification: Performance of pre-optimization done (n=595): time 4.452e-05/28.44, allocations: 0 / 8.828 GB, free: 55.12 MB / 1.37 GB Notification: Performance of matching and sorting (n=599): time 0.05991/28.5, allocations: 15.52 MB / 8.843 GB, free: 52.31 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/28.5, allocations: 373 kB / 8.844 GB, free: 51.93 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02509/28.53, allocations: 8.729 MB / 8.852 GB, free: 51.32 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.002482/28.53, allocations: 173.9 kB / 8.852 GB, free: 51.29 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.009535/28.54, allocations: 5.633 MB / 8.858 GB, free: 50.16 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.004676/28.54, allocations: 2.039 MB / 8.86 GB, free: 49.13 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/28.54, allocations: 139.4 kB / 8.86 GB, free: 49.13 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001443/28.55, allocations: 0.5716 MB / 8.861 GB, free: 48.82 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009775/28.56, allocations: 2.832 MB / 8.863 GB, free: 48.8 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/28.57, allocations: 4.976 MB / 8.868 GB, free: 46.53 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/28.58, allocations: 3.602 MB / 8.872 GB, free: 46.41 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/28.58, allocations: 12.81 kB / 8.872 GB, free: 46.41 MB / 1.37 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.04831/28.63, allocations: 9.226 MB / 8.881 GB, free: 45.59 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01455/28.64, allocations: 27.05 MB / 8.907 GB, free: 48.94 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003192/28.64, allocations: 47.81 kB / 8.907 GB, free: 48.94 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004776/28.65, allocations: 0.6454 MB / 8.908 GB, free: 48.88 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/28.66, allocations: 1.677 MB / 8.91 GB, free: 48.88 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/28.68, allocations: 8.266 MB / 8.918 GB, free: 42.28 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02633/28.7, allocations: 1.052 MB / 8.919 GB, free: 42.23 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003547/28.71, allocations: 360.6 kB / 8.919 GB, free: 42.23 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/28.71, allocations: 2.594 kB / 8.919 GB, free: 42.23 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03747/28.75, allocations: 8.171 MB / 8.927 GB, free: 41.99 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/28.75, allocations: 45.12 kB / 8.927 GB, free: 41.99 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/28.75, allocations: 0.6388 MB / 8.928 GB, free: 41.95 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008753/28.76, allocations: 1.639 MB / 8.929 GB, free: 41.95 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/28.77, allocations: 9.657 MB / 8.939 GB, free: 34.3 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/28.78, allocations: 1.017 MB / 8.94 GB, free: 34.24 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00268/28.79, allocations: 348.9 kB / 8.94 GB, free: 34.24 MB / 1.401 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 (857): * Single equations (assignments): 845 * 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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00497/28.79, allocations: 0.5543 MB / 8.941 GB, free: 34.09 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005478/28.8, allocations: 1.057 MB / 8.942 GB, free: 33.54 MB / 1.401 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 689 equation(s) and 687 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.0192/28.82, allocations: 4.931 MB / 8.946 GB, free: 33.25 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.