Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001153/0.001153, allocations: 180.4 kB / 371.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009441/0.000944, allocations: 89.94 kB / 0.745 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.141e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.855/8.184, allocations: 2.439 GB / 3.419 GB, free: 220.2 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/8.184, allocations: 84.56 kB / 3.419 GB, free: 220.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 25.07/33.26, allocations: 5.14 GB / 8.559 GB, free: 55.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.614e-06/33.26, allocations: 2.906 kB / 8.559 GB, free: 55.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003624/33.26, allocations: 319.5 kB / 8.56 GB, free: 55.26 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.06049/33.32, allocations: 11.68 MB / 8.571 GB, free: 50.12 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/33.32, allocations: 8.688 kB / 8.571 GB, free: 50.12 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008105/33.33, allocations: 1.147 MB / 8.572 GB, free: 50.02 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03639/33.37, allocations: 3.386 MB / 8.575 GB, free: 49.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06882/33.44, allocations: 14.71 MB / 8.59 GB, free: 47.46 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001791/33.44, allocations: 0.7635 MB / 8.591 GB, free: 47.38 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006483/33.44, allocations: 0.9154 MB / 8.591 GB, free: 47.37 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05385/33.5, allocations: 11.05 MB / 8.602 GB, free: 46.31 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009287/33.5, allocations: 14.66 kB / 8.602 GB, free: 46.31 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005569/33.5, allocations: 371.5 kB / 8.603 GB, free: 46.31 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006622/33.5, allocations: 360.9 kB / 8.603 GB, free: 46.29 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04303/33.55, allocations: 9.726 MB / 8.612 GB, free: 46.21 MB / 1.167 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.133/33.68, allocations: 50.29 MB / 8.662 GB, free: 24.95 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/33.7, allocations: 8.873 MB / 8.67 GB, free: 23.15 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008874/33.71, allocations: 3.886 MB / 8.674 GB, free: 23.08 MB / 1.167 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.04952/33.76, allocations: 18.78 MB / 8.692 GB, free: 17.82 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00922/33.77, allocations: 3.848 MB / 8.696 GB, free: 17.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01226/33.78, allocations: 1.909 MB / 8.698 GB, free: 17.33 MB / 1.167 GB Notification: Performance of pre-optimization done (n=600): time 5.395e-05/33.78, allocations: 0 / 8.698 GB, free: 17.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=604): time 0.06547/33.84, allocations: 17.17 MB / 8.715 GB, free: 13.06 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/33.85, allocations: 382.1 kB / 8.715 GB, free: 12.68 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02771/33.87, allocations: 8.563 MB / 8.724 GB, free: 12.05 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002287/33.88, allocations: 175.8 kB / 8.724 GB, free: 12.02 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008593/33.88, allocations: 5.527 MB / 8.729 GB, free: 10.45 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003746/33.89, allocations: 2.041 MB / 8.731 GB, free: 9.148 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008078/33.89, allocations: 144.7 kB / 8.731 GB, free: 9.148 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005338/33.89, allocations: 0.5687 MB / 8.732 GB, free: 8.832 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005157/33.89, allocations: 2.804 MB / 8.734 GB, free: 8.816 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007222/33.9, allocations: 5.081 MB / 8.739 GB, free: 6.367 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/33.91, allocations: 3.581 MB / 8.743 GB, free: 6.168 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-05/33.91, allocations: 20.31 kB / 8.743 GB, free: 6.164 MB / 1.167 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02278/33.93, allocations: 9.133 MB / 8.752 GB, free: 5.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01018/33.94, allocations: 27.23 MB / 8.778 GB, free: 9.688 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/33.94, allocations: 44.41 kB / 8.779 GB, free: 9.688 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/33.95, allocations: 0.6545 MB / 8.779 GB, free: 9.621 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009297/33.95, allocations: 1.637 MB / 8.781 GB, free: 9.57 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009244/33.96, allocations: 8.284 MB / 8.789 GB, free: 2.883 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01614/33.98, allocations: 1.005 MB / 8.79 GB, free: 2.746 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002753/33.98, allocations: 356.9 kB / 8.79 GB, free: 2.746 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/33.98, allocations: 5.719 kB / 8.79 GB, free: 2.746 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02619/34.01, allocations: 8.086 MB / 8.798 GB, free: 2.168 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/34.01, allocations: 43.12 kB / 8.798 GB, free: 2.168 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/34.01, allocations: 0.6357 MB / 8.799 GB, free: 2.105 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008865/34.02, allocations: 1.604 MB / 8.8 GB, free: 1.992 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/34.03, allocations: 9.659 MB / 8.81 GB, free: 10.26 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/34.05, allocations: 0.9543 MB / 8.811 GB, free: 10.14 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002385/34.05, allocations: 354.7 kB / 8.811 GB, free: 10.14 MB / 1.214 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.004433/34.06, allocations: 0.5593 MB / 8.812 GB, free: 9.887 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00585/34.06, allocations: 1.048 MB / 8.813 GB, free: 9.336 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 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.01907/34.08, allocations: 4.874 MB / 8.817 GB, free: 8.973 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.