Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 249.5 MB / 257 MB, free: 6.965 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.001029/0.001029, allocations: 187.6 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.000904/0.0009035, allocations: 102 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.764e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.331/6.536, allocations: 2.556 GB / 3.441 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/6.537, allocations: 87.95 kB / 3.441 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 18.82/25.36, allocations: 4.972 GB / 8.413 GB, free: 8.559 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.623e-06/25.36, allocations: 4 kB / 8.413 GB, free: 8.555 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.00234/25.36, allocations: 327.7 kB / 8.414 GB, free: 8.234 MB / 1.073 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.03878/25.4, allocations: 11.69 MB / 8.425 GB, free: 12.42 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/25.4, allocations: 8.031 kB / 8.425 GB, free: 12.41 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/25.42, allocations: 3.383 MB / 8.428 GB, free: 9.008 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0461/25.47, allocations: 14.73 MB / 8.443 GB, free: 10.17 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009343/25.47, allocations: 456.7 kB / 8.443 GB, free: 9.707 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004171/25.47, allocations: 0.5462 MB / 8.444 GB, free: 9.164 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.915/27.39, allocations: 9.216 MB / 8.453 GB, free: 61.67 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05153/27.44, allocations: 9.665 MB / 8.462 GB, free: 60.66 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008201/27.44, allocations: 19.59 kB / 8.462 GB, free: 60.66 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004022/27.44, allocations: 15.38 kB / 8.462 GB, free: 60.66 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007213/27.44, allocations: 364 kB / 8.462 GB, free: 60.64 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.1099/27.55, allocations: 48.66 MB / 8.51 GB, free: 40.52 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/27.57, allocations: 9.657 MB / 8.519 GB, free: 37.79 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008086/27.58, allocations: 3.747 MB / 8.523 GB, free: 37.73 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.04122/27.62, allocations: 18.23 MB / 8.541 GB, free: 32.46 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006646/27.63, allocations: 3.546 MB / 8.544 GB, free: 32.25 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009883/27.64, allocations: 1.69 MB / 8.546 GB, free: 32.13 MB / 1.104 GB Notification: Performance of pre-optimization done (n=592): time 4.767e-05/27.64, allocations: 0.6562 kB / 8.546 GB, free: 32.13 MB / 1.104 GB Notification: Performance of matching and sorting (n=596): time 0.0592/27.7, allocations: 16.93 MB / 8.562 GB, free: 28.05 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/27.7, allocations: 380.8 kB / 8.563 GB, free: 27.66 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01627/27.71, allocations: 7.738 MB / 8.57 GB, free: 27.12 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002/27.71, allocations: 43.89 kB / 8.57 GB, free: 27.09 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.007809/27.72, allocations: 5.595 MB / 8.576 GB, free: 25.91 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003243/27.73, allocations: 1.936 MB / 8.578 GB, free: 24.75 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009738/27.73, allocations: 0 / 8.578 GB, free: 24.75 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0005498/27.73, allocations: 0.5764 MB / 8.578 GB, free: 24.43 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005046/27.73, allocations: 2.606 MB / 8.581 GB, free: 24.41 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007382/27.74, allocations: 4.837 MB / 8.586 GB, free: 21.98 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009643/27.75, allocations: 3.704 MB / 8.589 GB, free: 21.88 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.575e-05/27.75, allocations: 11.94 kB / 8.589 GB, free: 21.88 MB / 1.104 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02554/27.77, allocations: 8.69 MB / 8.598 GB, free: 21.09 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.01191/27.79, allocations: 27.28 MB / 8.624 GB, free: 25.1 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002148/27.79, allocations: 45.16 kB / 8.624 GB, free: 25.1 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/27.79, allocations: 0.6008 MB / 8.625 GB, free: 25.05 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008026/27.8, allocations: 1.615 MB / 8.627 GB, free: 25.05 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/27.8, allocations: 8.118 MB / 8.635 GB, free: 18.63 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/27.82, allocations: 0.8253 MB / 8.635 GB, free: 18.56 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/27.82, allocations: 358.5 kB / 8.636 GB, free: 18.56 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/27.82, allocations: 2.25 kB / 8.636 GB, free: 18.56 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02114/27.84, allocations: 7.428 MB / 8.643 GB, free: 18.33 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/27.84, allocations: 51.83 kB / 8.643 GB, free: 18.32 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/27.84, allocations: 0.5992 MB / 8.644 GB, free: 18.28 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00771/27.85, allocations: 1.583 MB / 8.645 GB, free: 18.28 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/27.86, allocations: 9.341 MB / 8.654 GB, free: 26.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/27.87, allocations: 0.7851 MB / 8.655 GB, free: 26.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/27.88, allocations: 346.5 kB / 8.655 GB, free: 26.88 MB / 1.151 GB 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 (855): * Single equations (assignments): 843 * 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.002559/27.88, allocations: 326.8 kB / 8.656 GB, free: 26.73 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01889/27.9, allocations: 6.827 MB / 8.662 GB, free: 25.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003931/27.9, allocations: 1.003 MB / 8.663 GB, free: 25.39 MB / 1.151 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 680 equation(s) and 678 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/27.92, allocations: 4.681 MB / 8.668 GB, free: 25.12 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.