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.397/2.397, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001459/0.001459, allocations: 179.2 kB / 315.4 MB, free: 4.012 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.146/2.146, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 94.03 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.092e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.43/8.625, allocations: 2.555 GB / 3.439 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004379/8.626, allocations: 86.33 kB / 3.439 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 29.22/37.85, allocations: 4.974 GB / 8.414 GB, free: 56.48 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.245e-06/37.85, allocations: 0.6562 kB / 8.414 GB, free: 56.48 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002963/37.85, allocations: 328.2 kB / 8.414 GB, free: 56.43 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.05092/37.9, allocations: 11.69 MB / 8.426 GB, free: 51.29 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/37.9, allocations: 10.31 kB / 8.426 GB, free: 51.29 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03698/37.94, allocations: 3.384 MB / 8.429 GB, free: 50.52 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06814/38.01, allocations: 14.75 MB / 8.443 GB, free: 48.71 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001549/38.01, allocations: 453.9 kB / 8.444 GB, free: 48.62 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006309/38.02, allocations: 0.5482 MB / 8.444 GB, free: 48.62 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04717/38.06, allocations: 9.217 MB / 8.453 GB, free: 48.58 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04312/38.11, allocations: 9.661 MB / 8.463 GB, free: 47.57 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000705/38.11, allocations: 22.59 kB / 8.463 GB, free: 47.56 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004104/38.11, allocations: 17.28 kB / 8.463 GB, free: 47.56 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005521/38.11, allocations: 360.4 kB / 8.463 GB, free: 47.54 MB / 1.089 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.1395/38.25, allocations: 48.57 MB / 8.51 GB, free: 26.52 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03835/38.29, allocations: 9.651 MB / 8.52 GB, free: 23.78 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01471/38.3, allocations: 3.772 MB / 8.524 GB, free: 23.7 MB / 1.089 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.06294/38.37, allocations: 18.14 MB / 8.541 GB, free: 18.29 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01307/38.38, allocations: 3.551 MB / 8.545 GB, free: 18.08 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01403/38.4, allocations: 1.689 MB / 8.546 GB, free: 17.85 MB / 1.089 GB Notification: Performance of pre-optimization done (n=592): time 5.15e-05/38.4, allocations: 3.328 kB / 8.546 GB, free: 17.85 MB / 1.089 GB Notification: Performance of matching and sorting (n=641): time 0.09359/38.49, allocations: 20.01 MB / 8.566 GB, free: 13.52 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/38.49, allocations: 390.3 kB / 8.566 GB, free: 13.13 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02433/38.51, allocations: 7.732 MB / 8.574 GB, free: 12.55 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002349/38.52, allocations: 47.73 kB / 8.574 GB, free: 12.52 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.00967/38.53, allocations: 5.601 MB / 8.579 GB, free: 10.84 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.004288/38.53, allocations: 2.083 MB / 8.581 GB, free: 9.453 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/38.53, allocations: 0 / 8.581 GB, free: 9.453 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0008731/38.53, allocations: 0.5948 MB / 8.582 GB, free: 9.137 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009267/38.54, allocations: 2.841 MB / 8.585 GB, free: 9.121 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/38.55, allocations: 5.1 MB / 8.59 GB, free: 6.688 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/38.57, allocations: 3.988 MB / 8.594 GB, free: 6.586 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/38.57, allocations: 14.78 kB / 8.594 GB, free: 6.586 MB / 1.089 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.04108/38.61, allocations: 10.52 MB / 8.604 GB, free: 5.773 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01074/38.62, allocations: 27.27 MB / 8.631 GB, free: 9.793 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002648/38.62, allocations: 46.69 kB / 8.631 GB, free: 9.793 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02088/38.64, allocations: 3.806 MB / 8.634 GB, free: 9.703 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/38.65, allocations: 1.264 MB / 8.636 GB, free: 9.699 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/38.68, allocations: 13.71 MB / 8.649 GB, free: 4.895 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01885/38.7, allocations: 0.8458 MB / 8.65 GB, free: 4.773 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/38.7, allocations: 363.2 kB / 8.65 GB, free: 4.773 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/38.7, allocations: 3.719 kB / 8.65 GB, free: 4.773 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03411/38.74, allocations: 9.137 MB / 8.659 GB, free: 4.496 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/38.74, allocations: 48.09 kB / 8.659 GB, free: 4.496 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02566/38.76, allocations: 3.797 MB / 8.663 GB, free: 4.344 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/38.77, allocations: 1.239 MB / 8.664 GB, free: 4.34 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03415/38.81, allocations: 15.49 MB / 8.679 GB, free: 14.01 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01888/38.83, allocations: 0.7983 MB / 8.68 GB, free: 13.89 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003648/38.83, allocations: 358.1 kB / 8.68 GB, free: 13.89 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[4].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[3].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[1].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] 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 (726): * Single equations (assignments): 716 * 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 {20 157,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004922/38.84, allocations: 336.4 kB / 8.681 GB, free: 13.74 MB / 1.135 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0337/38.87, allocations: 7.366 MB / 8.688 GB, free: 12.92 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005358/38.87, allocations: 1.015 MB / 8.689 GB, free: 12.38 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 725 equation(s) and 723 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02301/38.9, allocations: 4.976 MB / 8.694 GB, free: 12.04 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.