Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,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.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,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.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.00105/0.001051, allocations: 180.8 kB / 487.4 MB, free: 5.066 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.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 87.92 kB / 0.9219 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.054e-05, allocations: 0 / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.531/5.783, allocations: 2.268 GB / 3.474 GB, free: 63.67 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/5.783, allocations: 87.95 kB / 3.474 GB, free: 63.59 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 21.51/27.29, allocations: 5.169 GB / 8.643 GB, free: 49.83 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.675e-06/27.29, allocations: 0 / 8.643 GB, free: 49.83 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.004674/27.3, allocations: 331.7 kB / 8.644 GB, free: 49.51 MB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.05517/27.35, allocations: 11.74 MB / 8.655 GB, free: 37.64 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/27.35, allocations: 11.97 kB / 8.655 GB, free: 37.62 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02871/27.38, allocations: 3.659 MB / 8.659 GB, free: 33.95 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05147/27.43, allocations: 14.97 MB / 8.673 GB, free: 18.93 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/27.43, allocations: 452.7 kB / 8.674 GB, free: 18.47 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005072/27.44, allocations: 0.5428 MB / 8.674 GB, free: 17.93 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02928/27.47, allocations: 9.257 MB / 8.683 GB, free: 8.664 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03969/27.51, allocations: 9.701 MB / 8.693 GB, free: 14.64 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007439/27.51, allocations: 17.94 kB / 8.693 GB, free: 14.63 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004532/27.51, allocations: 12 kB / 8.693 GB, free: 14.62 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005042/27.51, allocations: 360.8 kB / 8.693 GB, free: 14.26 MB / 1.354 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 1.372/28.88, allocations: 48.88 MB / 8.741 GB, free: 84.64 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/28.9, allocations: 9.664 MB / 8.75 GB, free: 81.82 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008085/28.91, allocations: 3.785 MB / 8.754 GB, free: 81.75 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.05048/28.96, allocations: 18.46 MB / 8.772 GB, free: 76.6 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009169/28.97, allocations: 3.575 MB / 8.776 GB, free: 76.4 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01116/28.98, allocations: 1.692 MB / 8.777 GB, free: 76.4 MB / 1.37 GB Notification: Performance of pre-optimization done (n=591): time 6.085e-05/28.98, allocations: 0 / 8.777 GB, free: 76.4 MB / 1.37 GB Notification: Performance of matching and sorting (n=595): time 0.07791/29.06, allocations: 17.09 MB / 8.794 GB, free: 72.74 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/29.06, allocations: 379.7 kB / 8.794 GB, free: 72.36 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02731/29.09, allocations: 7.783 MB / 8.802 GB, free: 71.8 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.003031/29.09, allocations: 44.89 kB / 8.802 GB, free: 71.77 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.0106/29.1, allocations: 5.604 MB / 8.807 GB, free: 70.6 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.004387/29.1, allocations: 1.931 MB / 8.809 GB, free: 69.59 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/29.11, allocations: 0 / 8.809 GB, free: 69.59 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0009372/29.11, allocations: 0.5748 MB / 8.81 GB, free: 69.27 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00657/29.11, allocations: 2.644 MB / 8.812 GB, free: 69.25 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008713/29.12, allocations: 4.746 MB / 8.817 GB, free: 66.95 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/29.13, allocations: 3.714 MB / 8.821 GB, free: 66.85 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/29.13, allocations: 17.06 kB / 8.821 GB, free: 66.85 MB / 1.37 GB Notification: Performance of matching and sorting (n=895) (initialization): time 0.02967/29.16, allocations: 8.753 MB / 8.829 GB, free: 66.05 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.006883/29.17, allocations: 27.37 MB / 8.856 GB, free: 38.09 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/29.17, allocations: 46.75 kB / 8.856 GB, free: 38.09 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/29.17, allocations: 0.6022 MB / 8.857 GB, free: 38.04 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00932/29.18, allocations: 1.644 MB / 8.858 GB, free: 38.04 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009868/29.19, allocations: 8.11 MB / 8.866 GB, free: 47.62 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/29.21, allocations: 0.881 MB / 8.867 GB, free: 47.58 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/29.21, allocations: 352 kB / 8.867 GB, free: 47.58 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/29.21, allocations: 6.562 kB / 8.867 GB, free: 47.58 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02731/29.24, allocations: 7.483 MB / 8.875 GB, free: 47.34 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004059/29.24, allocations: 46.97 kB / 8.875 GB, free: 47.34 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/29.24, allocations: 0.6036 MB / 8.875 GB, free: 47.3 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009277/29.25, allocations: 1.609 MB / 8.877 GB, free: 47.3 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/29.26, allocations: 9.346 MB / 8.886 GB, free: 39.96 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01454/29.28, allocations: 0.84 MB / 8.887 GB, free: 39.93 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002623/29.28, allocations: 342 kB / 8.887 GB, free: 39.93 MB / 1.385 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.005111/29.28, allocations: 323.7 kB / 8.888 GB, free: 39.81 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005696/29.29, allocations: 1.015 MB / 8.888 GB, free: 39.28 MB / 1.385 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.0204/29.31, allocations: 4.724 MB / 8.893 GB, free: 39.03 MB / 1.385 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.