Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.592/1.592, allocations: 249.3 MB / 261.8 MB, free: 5.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 176.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 86.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.507e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2483, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.69/7.938, allocations: 2.555 GB / 3.447 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/7.938, allocations: 84.66 kB / 3.447 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 22.96/30.9, allocations: 5.008 GB / 8.455 GB, free: 58 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.565e-06/30.9, allocations: 4.906 kB / 8.455 GB, free: 58 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002895/30.9, allocations: 331.7 kB / 8.455 GB, free: 57.95 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.05192/30.95, allocations: 11.69 MB / 8.467 GB, free: 52.8 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/30.95, allocations: 8.031 kB / 8.467 GB, free: 52.8 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007246/30.96, allocations: 1.151 MB / 8.468 GB, free: 52.7 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/30.99, allocations: 3.381 MB / 8.471 GB, free: 51.94 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05342/31.04, allocations: 14.73 MB / 8.485 GB, free: 50.14 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002004/31.04, allocations: 0.7677 MB / 8.486 GB, free: 50.05 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006514/31.05, allocations: 0.9184 MB / 8.487 GB, free: 50.05 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04338/31.09, allocations: 11.06 MB / 8.498 GB, free: 48.99 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006327/31.09, allocations: 24.67 kB / 8.498 GB, free: 48.99 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004418/31.1, allocations: 367.4 kB / 8.498 GB, free: 48.99 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004411/31.1, allocations: 362.6 kB / 8.499 GB, free: 48.97 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/31.13, allocations: 9.751 MB / 8.508 GB, free: 48.89 MB / 1.104 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.1196/31.25, allocations: 50.3 MB / 8.557 GB, free: 27.62 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/31.27, allocations: 8.736 MB / 8.566 GB, free: 25.93 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008455/31.28, allocations: 3.871 MB / 8.57 GB, free: 25.86 MB / 1.104 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.05876/31.33, allocations: 18.66 MB / 8.588 GB, free: 20.69 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01119/31.35, allocations: 3.852 MB / 8.591 GB, free: 20.47 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01246/31.36, allocations: 1.907 MB / 8.593 GB, free: 20.2 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 4.713e-05/31.36, allocations: 0 / 8.593 GB, free: 20.2 MB / 1.104 GB Notification: Performance of matching and sorting (n=605): time 0.0706/31.43, allocations: 17.13 MB / 8.61 GB, free: 15.93 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/31.43, allocations: 387.2 kB / 8.61 GB, free: 15.55 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02743/31.46, allocations: 8.6 MB / 8.619 GB, free: 14.91 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002939/31.46, allocations: 176.2 kB / 8.619 GB, free: 14.88 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01048/31.47, allocations: 5.538 MB / 8.624 GB, free: 13.31 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00401/31.47, allocations: 2.048 MB / 8.626 GB, free: 12.01 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/31.48, allocations: 137.2 kB / 8.627 GB, free: 12.01 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008623/31.48, allocations: 0.5767 MB / 8.627 GB, free: 11.69 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007316/31.48, allocations: 2.794 MB / 8.63 GB, free: 11.68 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/31.5, allocations: 5.074 MB / 8.635 GB, free: 9.262 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008366/31.5, allocations: 3.585 MB / 8.638 GB, free: 9.141 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.358e-05/31.5, allocations: 11.38 kB / 8.638 GB, free: 9.141 MB / 1.104 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.03187/31.54, allocations: 9.151 MB / 8.647 GB, free: 8.336 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.009974/31.55, allocations: 27.24 MB / 8.674 GB, free: 12.73 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/31.55, allocations: 45.25 kB / 8.674 GB, free: 12.73 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/31.55, allocations: 0.6398 MB / 8.675 GB, free: 12.67 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008745/31.56, allocations: 1.635 MB / 8.676 GB, free: 12.66 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008362/31.57, allocations: 8.283 MB / 8.684 GB, free: 6.027 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01588/31.58, allocations: 1 MB / 8.685 GB, free: 5.898 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/31.58, allocations: 356.6 kB / 8.686 GB, free: 5.898 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/31.58, allocations: 3.719 kB / 8.686 GB, free: 5.898 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01683/31.6, allocations: 8.112 MB / 8.693 GB, free: 5.43 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/31.6, allocations: 50.75 kB / 8.694 GB, free: 5.43 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/31.6, allocations: 0.6277 MB / 8.694 GB, free: 5.371 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008036/31.61, allocations: 1.6 MB / 8.696 GB, free: 5.262 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/31.62, allocations: 9.668 MB / 8.705 GB, free: 13.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01596/31.64, allocations: 0.9604 MB / 8.706 GB, free: 13.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/31.64, allocations: 347.1 kB / 8.706 GB, free: 13.39 MB / 1.151 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 (863): * Single equations (assignments): 851 * 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.003524/31.64, allocations: 0.5586 MB / 8.707 GB, free: 13.15 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004421/31.65, allocations: 1.049 MB / 8.708 GB, free: 12.6 MB / 1.151 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 692 equation(s) and 690 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.0139/31.66, allocations: 4.875 MB / 8.713 GB, free: 12.23 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.