Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 169.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 90.06 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005067, allocations: 15.73 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.046/8.279, allocations: 2.438 GB / 3.417 GB, free: 186.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/8.279, allocations: 98.45 kB / 3.417 GB, free: 186.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 29.5/37.78, allocations: 5.153 GB / 8.57 GB, free: 60.08 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.507e-06/37.78, allocations: 0 / 8.57 GB, free: 60.08 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002913/37.78, allocations: 325 kB / 8.57 GB, free: 60.04 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.07959/37.86, allocations: 14.51 MB / 8.584 GB, free: 53.85 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/37.86, allocations: 11.47 kB / 8.584 GB, free: 53.85 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006991/37.87, allocations: 1.158 MB / 8.586 GB, free: 53.76 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/37.91, allocations: 3.389 MB / 8.589 GB, free: 53 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06487/37.97, allocations: 14.84 MB / 8.603 GB, free: 51.19 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001578/37.97, allocations: 0.77 MB / 8.604 GB, free: 51.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005252/37.98, allocations: 0.9172 MB / 8.605 GB, free: 51.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04977/38.03, allocations: 11.46 MB / 8.616 GB, free: 50.02 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007096/38.03, allocations: 21.66 kB / 8.616 GB, free: 50.02 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004434/38.03, allocations: 370 kB / 8.617 GB, free: 50.02 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005505/38.04, allocations: 356.5 kB / 8.617 GB, free: 50 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0445/38.08, allocations: 10.49 MB / 8.627 GB, free: 49.88 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1327/38.21, allocations: 50.17 MB / 8.676 GB, free: 28.18 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03134/38.24, allocations: 9.127 MB / 8.685 GB, free: 26.25 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05517/38.3, allocations: 15.82 MB / 8.701 GB, free: 21.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01608/38.32, allocations: 4.167 MB / 8.705 GB, free: 20.88 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01387/38.33, allocations: 1.357 MB / 8.706 GB, free: 20.53 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 3.892e-05/38.33, allocations: 11.69 kB / 8.706 GB, free: 20.52 MB / 1.167 GB Notification: Performance of matching and sorting (n=652): time 0.1245/38.45, allocations: 25.69 MB / 8.731 GB, free: 15.41 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/38.45, allocations: 390.5 kB / 8.731 GB, free: 15.03 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02749/38.48, allocations: 8.666 MB / 8.74 GB, free: 14.45 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002565/38.48, allocations: 188.8 kB / 8.74 GB, free: 14.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00985/38.49, allocations: 5.524 MB / 8.745 GB, free: 11.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004595/38.5, allocations: 2.195 MB / 8.748 GB, free: 9.504 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/38.5, allocations: 146.4 kB / 8.748 GB, free: 9.387 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007404/38.5, allocations: 0.5897 MB / 8.748 GB, free: 8.953 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01318/38.51, allocations: 3.391 MB / 8.752 GB, free: 7.746 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01606/38.53, allocations: 5.663 MB / 8.757 GB, free: 3.871 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/38.55, allocations: 4.193 MB / 8.761 GB, free: 2.039 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.998e-05/38.55, allocations: 13.34 kB / 8.761 GB, free: 2.039 MB / 1.167 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05224/38.6, allocations: 11.76 MB / 8.773 GB, free: 13.44 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.01139/38.61, allocations: 26.79 MB / 8.799 GB, free: 1.918 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/38.61, allocations: 43.5 kB / 8.799 GB, free: 1.918 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02692/38.64, allocations: 4.995 MB / 8.804 GB, free: 0.918 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/38.65, allocations: 1.292 MB / 8.805 GB, free: 0.7773 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03986/38.69, allocations: 14.11 MB / 8.819 GB, free: 5.777 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02078/38.71, allocations: 1.028 MB / 8.82 GB, free: 4.984 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002761/38.71, allocations: 370.4 kB / 8.82 GB, free: 4.664 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/38.71, allocations: 4.938 kB / 8.82 GB, free: 4.66 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.242/39.95, allocations: 10.62 MB / 8.831 GB, free: 102.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/39.95, allocations: 45.47 kB / 8.831 GB, free: 102.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02901/39.98, allocations: 4.928 MB / 8.835 GB, free: 102.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/39.99, allocations: 1.256 MB / 8.837 GB, free: 102.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03784/40.03, allocations: 16.09 MB / 8.852 GB, free: 96.07 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0188/40.05, allocations: 0.9899 MB / 8.853 GB, free: 96.07 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002559/40.05, allocations: 361.5 kB / 8.854 GB, free: 96.07 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * 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.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,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.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 724 * 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 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01264/40.07, allocations: 3.366 MB / 8.857 GB, free: 95.88 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00489/40.07, allocations: 1.061 MB / 8.858 GB, free: 95.88 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 743 equation(s) and 741 variable(s). Error: $cse74 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size 2 but 1 variables (roo.TRooAir) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/40.1, allocations: 5.541 MB / 8.863 GB, free: 95.68 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.