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.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001054/0.001054, allocations: 173 kB / 377.1 MB, free: 1.543 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.671/1.671, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009149/0.0009149, allocations: 89.03 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003816, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.581/7.894, allocations: 2.44 GB / 3.428 GB, free: 101.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/7.895, allocations: 93.55 kB / 3.428 GB, free: 101.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 23.63/31.53, allocations: 5.151 GB / 8.579 GB, free: 43.18 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.365e-06/31.53, allocations: 0 / 8.579 GB, free: 43.18 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003525/31.53, allocations: 321.6 kB / 8.58 GB, free: 43.1 MB / 1.151 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.0677/31.6, allocations: 14.51 MB / 8.594 GB, free: 36.59 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/31.6, allocations: 9.344 kB / 8.594 GB, free: 36.59 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008425/31.6, allocations: 1.158 MB / 8.595 GB, free: 36.49 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03002/31.63, allocations: 3.4 MB / 8.598 GB, free: 35.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05234/31.69, allocations: 14.82 MB / 8.613 GB, free: 33.29 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001554/31.69, allocations: 0.7642 MB / 8.613 GB, free: 33.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006216/31.7, allocations: 0.9167 MB / 8.614 GB, free: 33.19 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/31.74, allocations: 11.46 MB / 8.625 GB, free: 32.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007483/31.74, allocations: 22.69 kB / 8.625 GB, free: 32.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004655/31.74, allocations: 369.4 kB / 8.626 GB, free: 32.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004656/31.74, allocations: 363.8 kB / 8.626 GB, free: 31.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03607/31.78, allocations: 10.48 MB / 8.636 GB, free: 31.81 MB / 1.151 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.1211/31.9, allocations: 50.27 MB / 8.685 GB, free: 11.38 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/31.93, allocations: 9.364 MB / 8.695 GB, free: 2.863 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.05473/31.98, allocations: 15.91 MB / 8.71 GB, free: 5.035 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01418/31.99, allocations: 4.165 MB / 8.714 GB, free: 1.629 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01419/32.01, allocations: 1.376 MB / 8.716 GB, free: 252 kB / 1.182 GB Notification: Performance of pre-optimization done (n=603): time 6.44e-05/32.01, allocations: 0 / 8.716 GB, free: 252 kB / 1.182 GB Notification: Performance of matching and sorting (n=607): time 1.474/33.48, allocations: 22.17 MB / 8.737 GB, free: 81.96 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000281/33.48, allocations: 385.7 kB / 8.738 GB, free: 81.57 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03552/33.52, allocations: 8.671 MB / 8.746 GB, free: 81.02 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002915/33.52, allocations: 175.3 kB / 8.746 GB, free: 80.99 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01334/33.54, allocations: 5.52 MB / 8.752 GB, free: 79.89 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.00558/33.54, allocations: 2.046 MB / 8.754 GB, free: 78.86 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/33.54, allocations: 139 kB / 8.754 GB, free: 78.86 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001326/33.55, allocations: 0.5773 MB / 8.754 GB, free: 78.54 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01199/33.56, allocations: 3.141 MB / 8.757 GB, free: 78.53 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01641/33.57, allocations: 5.401 MB / 8.763 GB, free: 76.15 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/33.59, allocations: 3.899 MB / 8.766 GB, free: 76.05 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/33.59, allocations: 15.69 kB / 8.766 GB, free: 76.05 MB / 1.182 GB Notification: Performance of matching and sorting (n=905) (initialization): time 0.04253/33.63, allocations: 9.84 MB / 8.776 GB, free: 75.23 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.008537/33.64, allocations: 26.79 MB / 8.802 GB, free: 48.23 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002397/33.64, allocations: 45.25 kB / 8.802 GB, free: 48.23 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/33.64, allocations: 0.6509 MB / 8.803 GB, free: 48.18 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/33.65, allocations: 1.644 MB / 8.805 GB, free: 48.18 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009164/33.66, allocations: 8.393 MB / 8.813 GB, free: 41.57 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/33.68, allocations: 0.9913 MB / 8.814 GB, free: 41.54 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00342/33.68, allocations: 356.8 kB / 8.814 GB, free: 41.54 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/33.68, allocations: 5.938 kB / 8.814 GB, free: 41.54 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03256/33.72, allocations: 8.731 MB / 8.823 GB, free: 41.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002941/33.72, allocations: 49.55 kB / 8.823 GB, free: 41.29 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/33.72, allocations: 0.648 MB / 8.823 GB, free: 41.25 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/33.73, allocations: 1.608 MB / 8.825 GB, free: 41.25 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/33.74, allocations: 9.805 MB / 8.834 GB, free: 33.68 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01934/33.76, allocations: 0.9532 MB / 8.835 GB, free: 33.65 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003617/33.77, allocations: 357.1 kB / 8.836 GB, free: 33.65 MB / 1.182 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 (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,3 9,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.02156/33.79, allocations: 3.305 MB / 8.839 GB, free: 33.46 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01/33.8, allocations: 1.041 MB / 8.84 GB, free: 32.91 MB / 1.182 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 698 equation(s) and 696 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.02509/33.82, allocations: 5.232 MB / 8.845 GB, free: 32.65 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.