Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.345/2.345, allocations: 248.5 MB / 261 MB, free: 6.055 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.001665/0.001665, allocations: 180.9 kB / 320.4 MB, free: 15.33 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.971/1.971, allocations: 205.2 MB / 0.571 GB, free: 11.72 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.001066/0.001065, allocations: 94.41 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.424e-05, allocations: 0 / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.269/8.508, allocations: 2.555 GB / 3.446 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/8.509, allocations: 92 kB / 3.446 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 29.86/38.37, allocations: 5.01 GB / 8.455 GB, free: 60.38 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.104e-06/38.37, allocations: 0.9375 kB / 8.455 GB, free: 60.38 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002825/38.37, allocations: 324.3 kB / 8.456 GB, free: 60.33 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.05133/38.42, allocations: 11.7 MB / 8.467 GB, free: 55.18 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/38.42, allocations: 11.91 kB / 8.467 GB, free: 55.18 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006565/38.43, allocations: 1.151 MB / 8.468 GB, free: 55.09 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03664/38.46, allocations: 3.38 MB / 8.472 GB, free: 54.33 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06392/38.53, allocations: 14.74 MB / 8.486 GB, free: 52.52 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001572/38.53, allocations: 0.7669 MB / 8.487 GB, free: 52.44 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005211/38.54, allocations: 0.926 MB / 8.488 GB, free: 52.43 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04514/38.58, allocations: 11.07 MB / 8.498 GB, free: 51.37 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006852/38.58, allocations: 16.47 kB / 8.498 GB, free: 51.37 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004378/38.59, allocations: 370.3 kB / 8.499 GB, free: 51.37 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005467/38.59, allocations: 365.6 kB / 8.499 GB, free: 51.35 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03646/38.62, allocations: 9.752 MB / 8.509 GB, free: 51.27 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.1331/38.76, allocations: 50.17 MB / 8.558 GB, free: 30.02 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0267/38.78, allocations: 8.752 MB / 8.566 GB, free: 28.31 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01152/38.79, allocations: 3.891 MB / 8.57 GB, free: 28.24 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.08702/38.88, allocations: 18.57 MB / 8.588 GB, free: 23.07 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01966/38.9, allocations: 3.845 MB / 8.592 GB, free: 22.85 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02061/38.92, allocations: 1.912 MB / 8.594 GB, free: 22.58 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 4.846e-05/38.92, allocations: 1.969 kB / 8.594 GB, free: 22.58 MB / 1.104 GB Notification: Performance of matching and sorting (n=650): time 0.1172/39.04, allocations: 20.48 MB / 8.614 GB, free: 18.22 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/39.04, allocations: 386.7 kB / 8.614 GB, free: 17.84 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02728/39.07, allocations: 8.599 MB / 8.623 GB, free: 17.21 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002361/39.07, allocations: 179 kB / 8.623 GB, free: 17.18 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/39.08, allocations: 5.553 MB / 8.628 GB, free: 15.59 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004516/39.08, allocations: 2.195 MB / 8.63 GB, free: 14.19 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/39.09, allocations: 150.5 kB / 8.63 GB, free: 14.19 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008521/39.09, allocations: 0.5863 MB / 8.631 GB, free: 13.87 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/39.1, allocations: 3.042 MB / 8.634 GB, free: 13.86 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01286/39.11, allocations: 5.34 MB / 8.639 GB, free: 11.44 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/39.12, allocations: 3.884 MB / 8.643 GB, free: 11.31 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.547e-05/39.12, allocations: 18.39 kB / 8.643 GB, free: 11.31 MB / 1.104 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04143/39.16, allocations: 11.1 MB / 8.654 GB, free: 10.48 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.009993/39.17, allocations: 27.23 MB / 8.68 GB, free: 14.96 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/39.17, allocations: 49.22 kB / 8.681 GB, free: 14.96 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.025/39.2, allocations: 4.685 MB / 8.685 GB, free: 14.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/39.21, allocations: 1.279 MB / 8.686 GB, free: 14.79 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03304/39.24, allocations: 13.62 MB / 8.7 GB, free: 9.863 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02071/39.26, allocations: 1.027 MB / 8.701 GB, free: 9.73 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/39.27, allocations: 366.2 kB / 8.701 GB, free: 9.73 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/39.27, allocations: 9.375 kB / 8.701 GB, free: 9.727 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03633/39.3, allocations: 9.884 MB / 8.711 GB, free: 9.348 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/39.3, allocations: 47.12 kB / 8.711 GB, free: 9.348 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02449/39.33, allocations: 4.629 MB / 8.715 GB, free: 9.184 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/39.34, allocations: 1.255 MB / 8.716 GB, free: 9.094 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03578/39.37, allocations: 15.57 MB / 8.732 GB, free: 2.293 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01934/39.39, allocations: 0.9865 MB / 8.733 GB, free: 2.055 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002715/39.4, allocations: 361 kB / 8.733 GB, free: 1.992 MB / 1.135 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 (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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004821/39.4, allocations: 0.554 MB / 8.733 GB, free: 1.539 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005611/39.41, allocations: 1.066 MB / 8.735 GB, free: 0.9805 MB / 1.135 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 737 equation(s) and 735 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.02368/39.43, allocations: 5.187 MB / 8.74 GB, free: 14.92 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.