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.716/1.716, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001741/0.001741, allocations: 176.5 kB / 366.7 MB, free: 1.641 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.824/1.824, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0008387/0.0008389, allocations: 101.1 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.557e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7928, allocations: 116.3 MB / 0.9733 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.239/8.032, allocations: 2.439 GB / 3.412 GB, free: 242.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/8.033, allocations: 86.3 kB / 3.412 GB, free: 242.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.44/30.47, allocations: 5.105 GB / 8.517 GB, free: 15.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.963e-06/30.47, allocations: 0 / 8.517 GB, free: 15.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.002952/30.48, allocations: 323.7 kB / 8.517 GB, free: 15.28 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.05031/30.53, allocations: 11.67 MB / 8.529 GB, free: 3.477 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/30.53, allocations: 8.031 kB / 8.529 GB, free: 3.469 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02696/30.56, allocations: 3.395 MB / 8.532 GB, free: 56 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.188/31.74, allocations: 14.69 MB / 8.546 GB, free: 61.33 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/31.74, allocations: 452.9 kB / 8.547 GB, free: 61.25 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004857/31.75, allocations: 0.5349 MB / 8.547 GB, free: 61.24 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0274/31.78, allocations: 9.196 MB / 8.556 GB, free: 61.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0377/31.81, allocations: 9.658 MB / 8.566 GB, free: 60.19 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005761/31.82, allocations: 23.36 kB / 8.566 GB, free: 60.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003991/31.82, allocations: 16.58 kB / 8.566 GB, free: 60.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003993/31.82, allocations: 362.4 kB / 8.566 GB, free: 60.16 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.1214/31.94, allocations: 48.65 MB / 8.613 GB, free: 39.51 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02287/31.96, allocations: 9.796 MB / 8.623 GB, free: 36.68 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009151/31.97, allocations: 3.76 MB / 8.627 GB, free: 36.62 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.05362/32.03, allocations: 18.35 MB / 8.645 GB, free: 31.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01013/32.04, allocations: 3.548 MB / 8.648 GB, free: 30.96 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01148/32.05, allocations: 1.69 MB / 8.65 GB, free: 30.72 MB / 1.167 GB Notification: Performance of pre-optimization done (n=591): time 6.858e-05/32.05, allocations: 0 / 8.65 GB, free: 30.72 MB / 1.167 GB Notification: Performance of matching and sorting (n=595): time 0.07566/32.12, allocations: 16.94 MB / 8.666 GB, free: 26.48 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/32.12, allocations: 384.5 kB / 8.667 GB, free: 26.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02614/32.15, allocations: 7.701 MB / 8.674 GB, free: 25.52 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002444/32.15, allocations: 45.48 kB / 8.674 GB, free: 25.48 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009411/32.16, allocations: 5.58 MB / 8.68 GB, free: 23.83 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004223/32.17, allocations: 1.931 MB / 8.682 GB, free: 22.55 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/32.17, allocations: 0.5938 kB / 8.682 GB, free: 22.55 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008819/32.17, allocations: 0.5739 MB / 8.682 GB, free: 22.23 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00663/32.18, allocations: 2.616 MB / 8.685 GB, free: 22.21 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008835/32.19, allocations: 4.846 MB / 8.689 GB, free: 19.79 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/32.2, allocations: 3.708 MB / 8.693 GB, free: 19.68 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/32.2, allocations: 12.44 kB / 8.693 GB, free: 19.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=895) (initialization): time 0.03615/32.23, allocations: 8.703 MB / 8.702 GB, free: 18.89 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01326/32.25, allocations: 27.28 MB / 8.728 GB, free: 22.91 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002643/32.25, allocations: 48.72 kB / 8.728 GB, free: 22.91 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/32.25, allocations: 0.6027 MB / 8.729 GB, free: 22.86 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008878/32.26, allocations: 1.622 MB / 8.73 GB, free: 22.86 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008684/32.27, allocations: 8.112 MB / 8.738 GB, free: 16.43 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/32.28, allocations: 0.8198 MB / 8.739 GB, free: 16.37 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/32.29, allocations: 354.1 kB / 8.739 GB, free: 16.37 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/32.29, allocations: 4.625 kB / 8.739 GB, free: 16.37 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02675/32.31, allocations: 7.44 MB / 8.747 GB, free: 16.13 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000262/32.31, allocations: 47.97 kB / 8.747 GB, free: 16.13 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/32.32, allocations: 0.6078 MB / 8.747 GB, free: 16.08 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008747/32.32, allocations: 1.582 MB / 8.749 GB, free: 16.08 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/32.34, allocations: 9.332 MB / 8.758 GB, free: 24.75 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01526/32.35, allocations: 0.7735 MB / 8.759 GB, free: 24.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002649/32.36, allocations: 346.3 kB / 8.759 GB, free: 24.7 MB / 1.214 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 213 * 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 (854): * Single equations (assignments): 842 * 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.004869/32.36, allocations: 323.6 kB / 8.759 GB, free: 24.55 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0274/32.39, allocations: 6.843 MB / 8.766 GB, free: 23.74 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005474/32.39, allocations: 1.004 MB / 8.767 GB, free: 23.21 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 679 equation(s) and 677 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/32.41, allocations: 4.691 MB / 8.772 GB, free: 22.93 MB / 1.214 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.