Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",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.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.00132, allocations: 176.8 kB / 326.5 MB, free: 2.254 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.045/2.045, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001014/0.001014, allocations: 88.47 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 9.688 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2463, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.056/7.302, allocations: 2.557 GB / 3.457 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/7.302, allocations: 100.5 kB / 3.457 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 23.47/30.77, allocations: 5.02 GB / 8.478 GB, free: 49.94 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.124e-06/30.77, allocations: 0 / 8.478 GB, free: 49.94 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003326/30.78, allocations: 333.5 kB / 8.478 GB, free: 49.86 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.06192/30.84, allocations: 14.48 MB / 8.492 GB, free: 43.4 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/30.84, allocations: 10.16 kB / 8.492 GB, free: 43.4 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008111/30.85, allocations: 1.168 MB / 8.493 GB, free: 43.3 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02658/30.87, allocations: 3.392 MB / 8.497 GB, free: 42.45 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05574/30.93, allocations: 14.94 MB / 8.511 GB, free: 40.07 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/30.93, allocations: 0.7701 MB / 8.512 GB, free: 39.98 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006076/30.94, allocations: 0.9163 MB / 8.513 GB, free: 39.96 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0475/30.98, allocations: 11.54 MB / 8.524 GB, free: 38.78 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008494/30.99, allocations: 15.69 kB / 8.524 GB, free: 38.77 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/30.99, allocations: 371.5 kB / 8.525 GB, free: 38.77 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/30.99, allocations: 362.4 kB / 8.525 GB, free: 38.75 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03508/31.03, allocations: 10.56 MB / 8.535 GB, free: 35.86 MB / 1.089 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.1135/31.14, allocations: 50.62 MB / 8.585 GB, free: 5.402 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/31.16, allocations: 9.23 MB / 8.594 GB, free: 12.04 MB / 1.12 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 1.205/32.37, allocations: 15.72 MB / 8.609 GB, free: 86.49 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01551/32.38, allocations: 4.148 MB / 8.613 GB, free: 86.28 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01838/32.4, allocations: 1.344 MB / 8.614 GB, free: 86.28 MB / 1.12 GB Notification: Performance of pre-optimization done (n=599): time 0.00014/32.4, allocations: 1.656 kB / 8.614 GB, free: 86.28 MB / 1.12 GB Notification: Performance of matching and sorting (n=603): time 0.09174/32.49, allocations: 20.65 MB / 8.634 GB, free: 83.82 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002403/32.49, allocations: 379 kB / 8.635 GB, free: 83.44 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03055/32.52, allocations: 8.784 MB / 8.643 GB, free: 82.88 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.00296/32.53, allocations: 170.2 kB / 8.644 GB, free: 82.84 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/32.54, allocations: 5.623 MB / 8.649 GB, free: 81.73 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.005177/32.54, allocations: 2.057 MB / 8.651 GB, free: 80.69 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008032/32.54, allocations: 138.8 kB / 8.651 GB, free: 80.69 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0007072/32.54, allocations: 0.5748 MB / 8.652 GB, free: 80.37 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007437/32.55, allocations: 3.139 MB / 8.655 GB, free: 80.36 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009707/32.56, allocations: 5.388 MB / 8.66 GB, free: 78 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009637/32.57, allocations: 3.896 MB / 8.664 GB, free: 77.89 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.548e-05/32.57, allocations: 17.5 kB / 8.664 GB, free: 77.89 MB / 1.12 GB Notification: Performance of matching and sorting (n=901) (initialization): time 0.03185/32.6, allocations: 9.876 MB / 8.674 GB, free: 77.07 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006659/32.61, allocations: 26.5 MB / 8.699 GB, free: 48.88 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000194/32.61, allocations: 45.03 kB / 8.699 GB, free: 48.88 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/32.61, allocations: 0.658 MB / 8.7 GB, free: 48.83 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009745/32.62, allocations: 1.655 MB / 8.702 GB, free: 48.83 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007752/32.63, allocations: 8.379 MB / 8.71 GB, free: 42.23 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01762/32.65, allocations: 0.9904 MB / 8.711 GB, free: 42.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003142/32.65, allocations: 362.2 kB / 8.711 GB, free: 42.2 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/32.65, allocations: 9.375 kB / 8.711 GB, free: 42.2 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03111/32.68, allocations: 8.784 MB / 8.72 GB, free: 41.96 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002779/32.68, allocations: 43.06 kB / 8.72 GB, free: 41.96 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/32.69, allocations: 0.6451 MB / 8.721 GB, free: 41.91 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009553/32.69, allocations: 1.62 MB / 8.722 GB, free: 41.91 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/32.7, allocations: 9.79 MB / 8.732 GB, free: 34.34 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/32.72, allocations: 0.9658 MB / 8.733 GB, free: 34.31 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00337/32.73, allocations: 355.9 kB / 8.733 GB, free: 34.31 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,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.conPID.I.trigger_internal,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 (859): * Single equations (assignments): 847 * 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,2 10,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01359/32.74, allocations: 3.334 MB / 8.736 GB, free: 34.11 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005154/32.75, allocations: 1.049 MB / 8.737 GB, free: 33.56 MB / 1.12 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 697 equation(s) and 695 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.01937/32.77, allocations: 5.247 MB / 8.742 GB, free: 33.3 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.