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.386/2.386, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001167/0.001167, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.53/1.53, 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.0009709/0.000971, allocations: 104.8 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.752e-05, allocations: 10.09 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.194/5.462, allocations: 2.269 GB / 3.481 GB, free: 53.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.462, allocations: 82.52 kB / 3.481 GB, free: 53.36 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.2/24.66, allocations: 5.205 GB / 8.686 GB, free: 23.97 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.803e-06/24.66, allocations: 0 / 8.686 GB, free: 23.97 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002582/24.67, allocations: 327.7 kB / 8.687 GB, free: 23.65 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.03974/24.71, allocations: 11.75 MB / 8.698 GB, free: 11.77 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/24.71, allocations: 12.02 kB / 8.698 GB, free: 11.76 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005094/24.71, allocations: 1.14 MB / 8.699 GB, free: 10.61 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02715/24.74, allocations: 3.659 MB / 8.703 GB, free: 6.926 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04794/24.79, allocations: 14.99 MB / 8.718 GB, free: 7.891 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/24.79, allocations: 0.7565 MB / 8.718 GB, free: 7.121 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004596/24.79, allocations: 0.9021 MB / 8.719 GB, free: 6.219 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03677/24.83, allocations: 11.11 MB / 8.73 GB, free: 10.79 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000501/24.83, allocations: 15.88 kB / 8.73 GB, free: 10.77 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003315/24.83, allocations: 369.9 kB / 8.73 GB, free: 10.41 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004316/24.83, allocations: 360.8 kB / 8.731 GB, free: 10.06 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02567/24.86, allocations: 9.784 MB / 8.74 GB, free: 264 kB / 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 1.042/25.9, allocations: 50.51 MB / 8.79 GB, free: 66.21 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/25.92, allocations: 8.722 MB / 8.798 GB, free: 64.47 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006141/25.92, allocations: 3.903 MB / 8.802 GB, free: 64.4 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.04127/25.96, allocations: 18.88 MB / 8.82 GB, free: 59.33 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006471/25.97, allocations: 3.877 MB / 8.824 GB, free: 59.11 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01073/25.98, allocations: 1.903 MB / 8.826 GB, free: 58.96 MB / 1.37 GB Notification: Performance of pre-optimization done (n=600): time 4.464e-05/25.98, allocations: 0.9375 kB / 8.826 GB, free: 58.96 MB / 1.37 GB Notification: Performance of matching and sorting (n=604): time 0.04868/26.03, allocations: 17.27 MB / 8.843 GB, free: 54.85 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/26.03, allocations: 384 kB / 8.843 GB, free: 54.46 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01893/26.05, allocations: 8.653 MB / 8.852 GB, free: 53.86 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.002012/26.05, allocations: 175.4 kB / 8.852 GB, free: 53.83 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.006131/26.06, allocations: 5.607 MB / 8.857 GB, free: 52.71 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.00314/26.06, allocations: 2.044 MB / 8.859 GB, free: 51.64 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000701/26.06, allocations: 138.5 kB / 8.86 GB, free: 51.64 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0004653/26.06, allocations: 0.5792 MB / 8.86 GB, free: 51.32 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005502/26.07, allocations: 2.827 MB / 8.863 GB, free: 51.3 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007305/26.07, allocations: 4.973 MB / 8.868 GB, free: 49.02 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/26.08, allocations: 3.594 MB / 8.871 GB, free: 48.9 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-05/26.08, allocations: 15.66 kB / 8.871 GB, free: 48.9 MB / 1.37 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.0202/26.1, allocations: 9.185 MB / 8.88 GB, free: 48.09 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.009/26.11, allocations: 27.34 MB / 8.907 GB, free: 35.02 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/26.11, allocations: 47.98 kB / 8.907 GB, free: 35.02 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/26.11, allocations: 0.6427 MB / 8.908 GB, free: 34.97 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008693/26.12, allocations: 1.662 MB / 8.909 GB, free: 34.97 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009229/26.13, allocations: 8.287 MB / 8.917 GB, free: 44.36 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/26.14, allocations: 1.058 MB / 8.918 GB, free: 44.29 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/26.15, allocations: 366.8 kB / 8.919 GB, free: 44.29 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/26.15, allocations: 3.812 kB / 8.919 GB, free: 44.29 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01594/26.16, allocations: 8.129 MB / 8.927 GB, free: 44.05 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/26.16, allocations: 51.22 kB / 8.927 GB, free: 44.05 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/26.16, allocations: 0.6333 MB / 8.927 GB, free: 44 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007808/26.17, allocations: 1.634 MB / 8.929 GB, free: 44 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009873/26.18, allocations: 9.657 MB / 8.938 GB, free: 36.36 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01374/26.2, allocations: 1.016 MB / 8.939 GB, free: 36.3 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/26.2, allocations: 351.8 kB / 8.94 GB, free: 36.3 MB / 1.401 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (862): * Single equations (assignments): 850 * 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.003359/26.2, allocations: 0.5587 MB / 8.94 GB, free: 36.16 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003972/26.21, allocations: 1.05 MB / 8.941 GB, free: 35.6 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 691 equation(s) and 689 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.0142/26.22, allocations: 4.917 MB / 8.946 GB, free: 35.32 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.