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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, 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.001365/0.001365, allocations: 188.8 kB / 487.4 MB, free: 5.055 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.462/1.462, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.0009972/0.0009972, allocations: 106.1 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.481e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3284, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.211/6.539, allocations: 2.268 GB / 3.474 GB, free: 51.12 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/6.539, allocations: 83.95 kB / 3.474 GB, free: 51.04 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.66/25.2, allocations: 5.17 GB / 8.644 GB, free: 53.06 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.924e-06/25.2, allocations: 0 / 8.644 GB, free: 53.06 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002615/25.2, allocations: 331.7 kB / 8.644 GB, free: 52.73 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.0451/25.24, allocations: 11.76 MB / 8.656 GB, free: 40.86 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/25.24, allocations: 12.03 kB / 8.656 GB, free: 40.84 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/25.27, allocations: 3.651 MB / 8.659 GB, free: 37.17 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05016/25.32, allocations: 14.98 MB / 8.674 GB, free: 22.14 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009121/25.32, allocations: 448.7 kB / 8.674 GB, free: 21.69 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004551/25.33, allocations: 0.535 MB / 8.675 GB, free: 21.15 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02636/25.35, allocations: 9.261 MB / 8.684 GB, free: 11.88 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03376/25.39, allocations: 9.699 MB / 8.693 GB, free: 1.867 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006191/25.39, allocations: 23.86 kB / 8.693 GB, free: 1.844 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003403/25.39, allocations: 19.8 kB / 8.693 GB, free: 1.828 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003312/25.39, allocations: 356.8 kB / 8.694 GB, free: 1.477 MB / 1.339 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.275/26.67, allocations: 48.88 MB / 8.741 GB, free: 83.29 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/26.69, allocations: 9.656 MB / 8.751 GB, free: 80.47 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007388/26.69, allocations: 3.782 MB / 8.754 GB, free: 80.41 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.04663/26.74, allocations: 18.46 MB / 8.772 GB, free: 75.27 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007758/26.75, allocations: 3.578 MB / 8.776 GB, free: 75.07 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009149/26.76, allocations: 1.684 MB / 8.778 GB, free: 75.07 MB / 1.37 GB Notification: Performance of pre-optimization done (n=591): time 2.89e-05/26.76, allocations: 0 / 8.778 GB, free: 75.07 MB / 1.37 GB Notification: Performance of matching and sorting (n=595): time 0.0594/26.82, allocations: 17.11 MB / 8.794 GB, free: 71.41 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/26.82, allocations: 378.9 kB / 8.795 GB, free: 71.03 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0177/26.83, allocations: 7.78 MB / 8.802 GB, free: 70.48 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001739/26.84, allocations: 49.39 kB / 8.802 GB, free: 70.45 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.006616/26.84, allocations: 5.592 MB / 8.808 GB, free: 69.28 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003216/26.85, allocations: 1.937 MB / 8.81 GB, free: 68.27 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/26.85, allocations: 0 / 8.81 GB, free: 68.27 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0006346/26.85, allocations: 0.5694 MB / 8.81 GB, free: 67.95 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005255/26.85, allocations: 2.638 MB / 8.813 GB, free: 67.93 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006505/26.86, allocations: 4.752 MB / 8.817 GB, free: 65.63 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009076/26.87, allocations: 3.718 MB / 8.821 GB, free: 65.53 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.643e-05/26.87, allocations: 12.44 kB / 8.821 GB, free: 65.53 MB / 1.37 GB Notification: Performance of matching and sorting (n=895) (initialization): time 0.02377/26.89, allocations: 8.753 MB / 8.83 GB, free: 64.74 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.004506/26.9, allocations: 27.37 MB / 8.856 GB, free: 36.78 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/26.9, allocations: 51.55 kB / 8.856 GB, free: 36.77 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/26.9, allocations: 0.5977 MB / 8.857 GB, free: 36.73 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00825/26.91, allocations: 1.652 MB / 8.859 GB, free: 36.73 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008595/26.92, allocations: 8.111 MB / 8.867 GB, free: 46.3 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/26.93, allocations: 0.8774 MB / 8.867 GB, free: 46.26 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/26.93, allocations: 357.1 kB / 8.868 GB, free: 46.26 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/26.93, allocations: 5.562 kB / 8.868 GB, free: 46.26 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02065/26.95, allocations: 7.481 MB / 8.875 GB, free: 46.02 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/26.95, allocations: 47.69 kB / 8.875 GB, free: 46.02 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/26.96, allocations: 0.6067 MB / 8.876 GB, free: 45.98 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/26.96, allocations: 1.61 MB / 8.877 GB, free: 45.98 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009142/26.97, allocations: 9.34 MB / 8.886 GB, free: 38.64 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/26.98, allocations: 0.8434 MB / 8.887 GB, free: 38.61 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/26.99, allocations: 346 kB / 8.888 GB, free: 38.61 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.003102/26.99, allocations: 326.5 kB / 8.888 GB, free: 38.49 MB / 1.385 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01835/27.01, allocations: 6.884 MB / 8.895 GB, free: 37.68 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003265/27.01, allocations: 1.018 MB / 8.896 GB, free: 37.15 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.01315/27.02, allocations: 4.716 MB / 8.9 GB, free: 36.89 MB / 1.385 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.