Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 252.6 MB / 265.2 MB, free: 5.715 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001384, allocations: 183.8 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5754 GB, free: 10.51 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 93.78 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.536e-05, allocations: 4 kB / 0.7911 GB, free: 96.65 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.2 MB / 0.8949 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.263/8.466, allocations: 2.557 GB / 3.452 GB, free: 91.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/8.466, allocations: 89.95 kB / 3.452 GB, free: 91.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 28.19/36.66, allocations: 5.012 GB / 8.464 GB, free: 54.77 MB / 1.104 GB Notification: Performance of FrontEnd: time 4.137e-06/36.66, allocations: 0 / 8.464 GB, free: 54.77 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.002902/36.66, allocations: 332 kB / 8.464 GB, free: 54.72 MB / 1.104 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.05096/36.71, allocations: 11.62 MB / 8.476 GB, free: 49.66 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/36.71, allocations: 9.844 kB / 8.476 GB, free: 49.66 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03672/36.75, allocations: 3.389 MB / 8.479 GB, free: 48.89 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06281/36.81, allocations: 14.82 MB / 8.494 GB, free: 47.07 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001472/36.81, allocations: 0.7719 MB / 8.494 GB, free: 46.99 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005099/36.82, allocations: 0.9246 MB / 8.495 GB, free: 46.98 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04422/36.86, allocations: 11.12 MB / 8.506 GB, free: 45.89 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000859/36.86, allocations: 25.28 kB / 8.506 GB, free: 45.89 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004462/36.87, allocations: 368.5 kB / 8.506 GB, free: 45.89 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005389/36.87, allocations: 362.7 kB / 8.507 GB, free: 45.87 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03726/36.91, allocations: 9.795 MB / 8.516 GB, free: 45.79 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.1341/37.04, allocations: 50.53 MB / 8.566 GB, free: 24.35 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02669/37.07, allocations: 8.742 MB / 8.574 GB, free: 22.67 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01157/37.08, allocations: 3.893 MB / 8.578 GB, free: 22.61 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.0647/37.14, allocations: 18.53 MB / 8.596 GB, free: 17.48 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01321/37.16, allocations: 3.823 MB / 8.6 GB, free: 17.26 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0139/37.17, allocations: 1.897 MB / 8.602 GB, free: 16.99 MB / 1.104 GB Notification: Performance of pre-optimization done (n=596): time 3.45e-05/37.17, allocations: 0 / 8.602 GB, free: 16.99 MB / 1.104 GB Notification: Performance of matching and sorting (n=645): time 0.08341/37.25, allocations: 18.77 MB / 8.62 GB, free: 13.93 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/37.26, allocations: 381.8 kB / 8.62 GB, free: 13.55 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02725/37.28, allocations: 8.672 MB / 8.629 GB, free: 12.9 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002356/37.28, allocations: 183.5 kB / 8.629 GB, free: 12.87 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009902/37.29, allocations: 5.629 MB / 8.635 GB, free: 11.27 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004372/37.3, allocations: 2.196 MB / 8.637 GB, free: 9.867 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/37.3, allocations: 150 kB / 8.637 GB, free: 9.863 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0007907/37.3, allocations: 0.5927 MB / 8.637 GB, free: 9.547 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01001/37.31, allocations: 3.041 MB / 8.64 GB, free: 9.531 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/37.32, allocations: 5.336 MB / 8.646 GB, free: 7.133 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/37.34, allocations: 3.885 MB / 8.649 GB, free: 6.941 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-05/37.34, allocations: 14.06 kB / 8.649 GB, free: 6.941 MB / 1.104 GB Notification: Performance of matching and sorting (n=944) (initialization): time 0.04199/37.38, allocations: 11.07 MB / 8.66 GB, free: 6.062 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.009277/37.39, allocations: 26.94 MB / 8.687 GB, free: 9.215 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/37.39, allocations: 42.69 kB / 8.687 GB, free: 9.215 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02446/37.41, allocations: 4.692 MB / 8.691 GB, free: 9.059 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/37.42, allocations: 1.288 MB / 8.692 GB, free: 8.977 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/37.45, allocations: 13.62 MB / 8.706 GB, free: 3.996 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02023/37.48, allocations: 1.023 MB / 8.707 GB, free: 3.867 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002516/37.48, allocations: 365 kB / 8.707 GB, free: 3.867 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/37.48, allocations: 4.219 kB / 8.707 GB, free: 3.867 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03671/37.51, allocations: 9.894 MB / 8.717 GB, free: 2.426 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/37.51, allocations: 45.97 kB / 8.717 GB, free: 2.426 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02529/37.54, allocations: 4.719 MB / 8.721 GB, free: 1.434 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/37.55, allocations: 1.27 MB / 8.723 GB, free: 1.297 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/37.59, allocations: 15.58 MB / 8.738 GB, free: 7.098 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01964/37.61, allocations: 0.9802 MB / 8.739 GB, free: 6.863 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002608/37.61, allocations: 353.8 kB / 8.739 GB, free: 6.805 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 206 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 719 * 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 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005037/37.61, allocations: 0.5626 MB / 8.74 GB, free: 6.355 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005484/37.62, allocations: 1.066 MB / 8.741 GB, free: 5.793 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 735 equation(s) and 733 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02296/37.64, allocations: 5.202 MB / 8.746 GB, free: 3.711 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.