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.461/1.461, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 178.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001002/0.001002, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 7.406 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.225/7.495, allocations: 2.555 GB / 3.456 GB, free: 297.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/7.496, allocations: 91.25 kB / 3.456 GB, free: 297.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 22.24/29.73, allocations: 5.019 GB / 8.474 GB, free: 56.97 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.974e-06/29.73, allocations: 0 / 8.474 GB, free: 56.97 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003457/29.74, allocations: 324.5 kB / 8.475 GB, free: 56.91 MB / 1.089 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.06902/29.81, allocations: 14.53 MB / 8.489 GB, free: 50.56 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/29.81, allocations: 10.44 kB / 8.489 GB, free: 50.56 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01052/29.82, allocations: 1.163 MB / 8.49 GB, free: 50.46 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02952/29.85, allocations: 3.387 MB / 8.493 GB, free: 49.62 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0575/29.9, allocations: 14.84 MB / 8.508 GB, free: 47.52 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/29.91, allocations: 0.7716 MB / 8.509 GB, free: 47.44 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006634/29.91, allocations: 0.9177 MB / 8.51 GB, free: 47.43 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05134/29.96, allocations: 11.48 MB / 8.521 GB, free: 46.29 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001124/29.96, allocations: 28.72 kB / 8.521 GB, free: 46.27 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006076/29.97, allocations: 371.4 kB / 8.521 GB, free: 46.27 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005766/29.97, allocations: 365.6 kB / 8.521 GB, free: 46.24 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0402/30.01, allocations: 10.51 MB / 8.532 GB, free: 46.06 MB / 1.089 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.1293/30.14, allocations: 50.28 MB / 8.581 GB, free: 22.34 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/30.17, allocations: 9.233 MB / 8.59 GB, free: 17.73 MB / 1.089 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.05128/30.22, allocations: 15.79 MB / 8.605 GB, free: 8.012 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01289/30.23, allocations: 4.175 MB / 8.609 GB, free: 5.324 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01267/30.24, allocations: 1.358 MB / 8.611 GB, free: 4.207 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 7.144e-05/30.24, allocations: 0 / 8.611 GB, free: 4.207 MB / 1.089 GB Notification: Performance of matching and sorting (n=608): time 0.09693/30.34, allocations: 22.13 MB / 8.632 GB, free: 15.9 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/30.34, allocations: 384.1 kB / 8.633 GB, free: 15.45 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02861/30.37, allocations: 8.708 MB / 8.641 GB, free: 8.211 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002874/30.37, allocations: 177.6 kB / 8.641 GB, free: 8.035 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01333/30.38, allocations: 5.528 MB / 8.647 GB, free: 2.996 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.006566/30.39, allocations: 2.057 MB / 8.649 GB, free: 1.086 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003197/30.39, allocations: 144 kB / 8.649 GB, free: 0.9453 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001561/30.4, allocations: 0.5757 MB / 8.649 GB, free: 456 kB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268/31.66, allocations: 3.126 MB / 8.652 GB, free: 91.02 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01555/31.68, allocations: 5.388 MB / 8.658 GB, free: 88.64 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01473/31.69, allocations: 3.896 MB / 8.662 GB, free: 88.54 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001848/31.7, allocations: 13.28 kB / 8.662 GB, free: 88.54 MB / 1.12 GB Notification: Performance of matching and sorting (n=906) (initialization): time 0.04023/31.74, allocations: 9.82 MB / 8.671 GB, free: 88.29 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.008129/31.74, allocations: 26.79 MB / 8.697 GB, free: 61.29 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003686/31.74, allocations: 49 kB / 8.697 GB, free: 61.29 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003493/31.75, allocations: 0.6527 MB / 8.698 GB, free: 61.25 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/31.76, allocations: 1.643 MB / 8.7 GB, free: 61.25 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/31.77, allocations: 8.388 MB / 8.708 GB, free: 54.68 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/31.78, allocations: 0.9952 MB / 8.709 GB, free: 54.68 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003447/31.79, allocations: 359.2 kB / 8.709 GB, free: 54.68 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/31.79, allocations: 3.812 kB / 8.709 GB, free: 54.68 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02607/31.81, allocations: 8.727 MB / 8.718 GB, free: 54.44 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/31.81, allocations: 50.75 kB / 8.718 GB, free: 54.44 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/31.82, allocations: 0.6433 MB / 8.718 GB, free: 54.39 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00939/31.83, allocations: 1.604 MB / 8.72 GB, free: 54.39 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/31.84, allocations: 9.815 MB / 8.729 GB, free: 46.89 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02015/31.86, allocations: 0.9636 MB / 8.73 GB, free: 46.88 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002944/31.86, allocations: 349.2 kB / 8.731 GB, free: 46.88 MB / 1.12 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 (864): * Single equations (assignments): 852 * 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 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01486/31.88, allocations: 3.327 MB / 8.734 GB, free: 46.69 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006213/31.88, allocations: 1.051 MB / 8.735 GB, free: 46.69 MB / 1.12 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 699 equation(s) and 697 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.02367/31.91, allocations: 5.224 MB / 8.74 GB, free: 46.49 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.