Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.121/2.121, allocations: 251 MB / 265.9 MB, free: 11.68 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.001543/0.001543, allocations: 180.6 kB / 325.5 MB, free: 2.879 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.278/2.278, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001167/0.001167, allocations: 103.6 kB / 0.6809 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 14.8 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.322/8.53, allocations: 2.557 GB / 3.456 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/8.53, allocations: 94.41 kB / 3.456 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 27.87/36.4, allocations: 5.022 GB / 8.478 GB, free: 53.68 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.056e-06/36.4, allocations: 0 / 8.478 GB, free: 53.68 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002993/36.4, allocations: 327.7 kB / 8.478 GB, free: 53.6 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.06936/36.47, allocations: 14.49 MB / 8.493 GB, free: 47.15 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/36.47, allocations: 10.81 kB / 8.493 GB, free: 47.15 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006538/36.48, allocations: 1.171 MB / 8.494 GB, free: 47.05 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03694/36.51, allocations: 3.394 MB / 8.497 GB, free: 46.2 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06321/36.58, allocations: 14.94 MB / 8.512 GB, free: 43.82 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001498/36.58, allocations: 0.782 MB / 8.512 GB, free: 43.73 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005099/36.58, allocations: 0.9227 MB / 8.513 GB, free: 43.71 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/36.63, allocations: 11.53 MB / 8.525 GB, free: 42.54 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007168/36.63, allocations: 28.19 kB / 8.525 GB, free: 42.53 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00439/36.64, allocations: 373.4 kB / 8.525 GB, free: 42.52 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004932/36.64, allocations: 359.3 kB / 8.525 GB, free: 42.5 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04361/36.68, allocations: 10.56 MB / 8.536 GB, free: 42.31 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.1312/36.81, allocations: 50.52 MB / 8.585 GB, free: 1.434 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03403/36.85, allocations: 9.225 MB / 8.594 GB, free: 9.082 MB / 1.104 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.05817/36.91, allocations: 15.64 MB / 8.609 GB, free: 9.223 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01762/36.92, allocations: 4.151 MB / 8.613 GB, free: 4.996 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01419/36.94, allocations: 1.349 MB / 8.615 GB, free: 3.641 MB / 1.12 GB Notification: Performance of pre-optimization done (n=599): time 3.042e-05/36.94, allocations: 0 / 8.615 GB, free: 3.641 MB / 1.12 GB Notification: Performance of matching and sorting (n=648): time 1.28/38.22, allocations: 23.85 MB / 8.638 GB, free: 89.53 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/38.22, allocations: 379.4 kB / 8.638 GB, free: 89.15 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02976/38.25, allocations: 8.778 MB / 8.647 GB, free: 88.59 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002527/38.25, allocations: 184.1 kB / 8.647 GB, free: 88.55 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01061/38.26, allocations: 5.628 MB / 8.653 GB, free: 87.44 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.004605/38.27, allocations: 2.205 MB / 8.655 GB, free: 86.32 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/38.27, allocations: 151 kB / 8.655 GB, free: 86.32 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0007746/38.27, allocations: 0.5821 MB / 8.655 GB, free: 86 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01341/38.28, allocations: 3.391 MB / 8.659 GB, free: 85.99 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01673/38.3, allocations: 5.653 MB / 8.664 GB, free: 83.62 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/38.32, allocations: 4.195 MB / 8.668 GB, free: 83.52 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.182e-05/38.32, allocations: 14.47 kB / 8.668 GB, free: 83.52 MB / 1.12 GB Notification: Performance of matching and sorting (n=946) (initialization): time 0.04898/38.36, allocations: 11.74 MB / 8.68 GB, free: 82.7 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.005646/38.37, allocations: 26.5 MB / 8.706 GB, free: 54.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002883/38.37, allocations: 45.88 kB / 8.706 GB, free: 54.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02638/38.4, allocations: 4.964 MB / 8.711 GB, free: 54.41 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/38.41, allocations: 1.295 MB / 8.712 GB, free: 54.41 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03611/38.44, allocations: 14.11 MB / 8.726 GB, free: 49.6 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/38.46, allocations: 1.032 MB / 8.727 GB, free: 49.56 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/38.47, allocations: 374.3 kB / 8.727 GB, free: 49.56 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/38.47, allocations: 4.25 kB / 8.727 GB, free: 49.56 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04171/38.51, allocations: 10.62 MB / 8.737 GB, free: 49.33 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/38.51, allocations: 45.27 kB / 8.737 GB, free: 49.33 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02686/38.54, allocations: 4.871 MB / 8.742 GB, free: 49.23 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/38.55, allocations: 1.279 MB / 8.743 GB, free: 49.23 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03808/38.58, allocations: 16.1 MB / 8.759 GB, free: 42.87 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01982/38.6, allocations: 1.004 MB / 8.76 GB, free: 42.84 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002565/38.61, allocations: 355.9 kB / 8.76 GB, free: 42.84 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 (730): * Single equations (assignments): 720 * 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 {19 158,4 16,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01303/38.62, allocations: 3.378 MB / 8.764 GB, free: 42.64 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004642/38.62, allocations: 1.076 MB / 8.765 GB, free: 42.08 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 742 equation(s) and 740 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.02485/38.65, allocations: 5.559 MB / 8.77 GB, free: 41.82 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.