Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|intWSEPri1.wse.heaExc.con.addPID.y|intWSEPri2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|intWSEPri1.TCHWSupWSE|intWSEPri2.TCHWSupWSE|intWSEPri1.chiPar.port_a1.m_flow|intWSEPri1.chiPar.port_a2.m_flow|intWSEPri2.chiPar.port_a1.m_flow|intWSEPri2.chiPar.port_a2.m_flow|intWSEPri1.chiPar.P.1.|intWSEPri2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|intWSEPri1.wse.heaExc.con.addPID.y|intWSEPri2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|intWSEPri1.TCHWSupWSE|intWSEPri2.TCHWSupWSE|intWSEPri1.chiPar.port_a1.m_flow|intWSEPri1.chiPar.port_a2.m_flow|intWSEPri2.chiPar.port_a1.m_flow|intWSEPri2.chiPar.port_a2.m_flow|intWSEPri1.chiPar.P.1.|intWSEPri2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 106.6 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 192.2 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 461.7 MB / 0.7352 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8141, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide): time 1.479/2.293, allocations: 0.7345 GB / 1.943 GB, free: 4.555 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.1786/2.472, allocations: 117.1 MB / 2.057 GB, free: 15.18 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03282/2.505, allocations: 0.6911 MB / 2.058 GB, free: 14.49 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.02455/2.529, allocations: 7.964 MB / 2.066 GB, free: 6.477 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.05371/2.583, allocations: 19.44 MB / 2.085 GB, free: 2.965 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.03303/2.616, allocations: 13.53 MB / 2.098 GB, free: 5.543 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.05593/2.672, allocations: 39.13 MB / 2.136 GB, free: 14.31 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02986/2.702, allocations: 15.54 MB / 2.151 GB, free: 14.63 MB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03726/2.739, allocations: 16.51 MB / 2.167 GB, free: 14.1 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01958/2.759, allocations: 11.25 MB / 2.178 GB, free: 2.801 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.006373/2.765, allocations: 1.766 MB / 2.18 GB, free: 1.035 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 1.623/4.389, allocations: 7.329 MB / 2.187 GB, free: 107.2 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.007918/4.397, allocations: 4.083 MB / 2.191 GB, free: 107.2 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.0228/4.419, allocations: 9.003 MB / 2.2 GB, free: 107.2 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.04545/4.465, allocations: 29.22 MB / 2.228 GB, free: 105.7 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/4.465, allocations: 0 / 2.228 GB, free: 105.7 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.603e-06/4.465, allocations: 0 / 2.228 GB, free: 105.7 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0008441/4.466, allocations: 0 / 2.228 GB, free: 105.7 MB / 1.623 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.05377/4.52, allocations: 16.79 MB / 2.245 GB, free: 99.19 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/4.52, allocations: 9.781 kB / 2.245 GB, free: 99.19 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/4.54, allocations: 3.356 MB / 2.248 GB, free: 98.36 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03716/4.577, allocations: 15.89 MB / 2.264 GB, free: 96.05 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001262/4.578, allocations: 0.7505 MB / 2.264 GB, free: 95.91 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004445/4.583, allocations: 0.7655 MB / 2.265 GB, free: 95.9 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/4.615, allocations: 10.89 MB / 2.276 GB, free: 95.21 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/4.615, allocations: 10.66 kB / 2.276 GB, free: 95.21 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/4.618, allocations: 298.3 kB / 2.276 GB, free: 95.21 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/4.618, allocations: 190.5 kB / 2.276 GB, free: 95.21 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03053/4.648, allocations: 11.3 MB / 2.287 GB, free: 95.08 MB / 1.623 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.09751/4.746, allocations: 58.52 MB / 2.344 GB, free: 70.05 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/4.761, allocations: 6.761 MB / 2.351 GB, free: 69.71 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008391/4.77, allocations: 4.071 MB / 2.355 GB, free: 69.66 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002245/4.772, allocations: 3.423 MB / 2.358 GB, free: 65.89 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009866/4.782, allocations: 4.261 MB / 2.363 GB, free: 65.72 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008537/4.79, allocations: 0.9389 MB / 2.363 GB, free: 65.44 MB / 1.623 GB Notification: Performance of pre-optimization done (n=402): time 3.037e-05/4.791, allocations: 2.438 kB / 2.363 GB, free: 65.44 MB / 1.623 GB Notification: Performance of matching and sorting (n=402): time 0.05285/4.843, allocations: 16.47 MB / 2.38 GB, free: 60.5 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/4.844, allocations: 121.8 kB / 2.38 GB, free: 60.4 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02657/4.87, allocations: 13.58 MB / 2.393 GB, free: 57.45 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/4.872, allocations: 134.8 kB / 2.393 GB, free: 57.41 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.006576/4.879, allocations: 6.21 MB / 2.399 GB, free: 55.57 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.002437/4.881, allocations: 1.375 MB / 2.4 GB, free: 54.57 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00271/4.884, allocations: 1.342 MB / 2.402 GB, free: 54.29 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/4.884, allocations: 309 kB / 2.402 GB, free: 53.98 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007701/4.892, allocations: 4.23 MB / 2.406 GB, free: 53.16 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009706/4.901, allocations: 5.99 MB / 2.412 GB, free: 50.4 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/4.918, allocations: 9.275 MB / 2.421 GB, free: 47.71 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.198e-05/4.919, allocations: 7.5 kB / 2.421 GB, free: 47.71 MB / 1.623 GB Notification: Performance of matching and sorting (n=732) (initialization): time 0.0304/4.949, allocations: 12.12 MB / 2.433 GB, free: 45.05 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/4.949, allocations: 56.47 kB / 2.433 GB, free: 45.01 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.333e-05/4.949, allocations: 36.03 kB / 2.433 GB, free: 45.01 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007471/4.957, allocations: 1.985 MB / 2.435 GB, free: 44.48 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007704/4.964, allocations: 1.609 MB / 2.437 GB, free: 44.07 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006504/4.971, allocations: 7.073 MB / 2.443 GB, free: 39.21 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/4.983, allocations: 0.7015 MB / 2.444 GB, free: 38.95 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/4.984, allocations: 306.7 kB / 2.444 GB, free: 38.9 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01506/5, allocations: 7.312 MB / 2.452 GB, free: 34.91 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008632/5.008, allocations: 5.919 MB / 2.457 GB, free: 28.61 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01534/5.024, allocations: 9.135 MB / 2.466 GB, free: 19.11 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.434e-05/5.024, allocations: 12 kB / 2.466 GB, free: 19.1 MB / 1.623 GB Notification: Performance of matching and sorting (n=732) (initialization_lambda0): time 0.02554/5.049, allocations: 11.74 MB / 2.478 GB, free: 7.547 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/5.049, allocations: 61.62 kB / 2.478 GB, free: 7.48 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/5.049, allocations: 32 kB / 2.478 GB, free: 7.449 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/5.054, allocations: 1.36 MB / 2.479 GB, free: 6.086 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006626/5.061, allocations: 1.5 MB / 2.481 GB, free: 4.656 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008796/5.069, allocations: 8.381 MB / 2.489 GB, free: 11.99 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/5.083, allocations: 0.7447 MB / 2.49 GB, free: 11.25 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/5.085, allocations: 299.8 kB / 2.49 GB, free: 10.95 MB / 1.639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,intWSEPri2.chiPar.chi[1].tru.y,intWSEPri1.chiPar.chi[1].tru.y,intWSEPri2.on[2],intWSEPri2.on[1],TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (609): * Single equations (assignments): 588 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,17), (5,22), (3,17), (6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.002244/5.087, allocations: 0.5478 MB / 2.49 GB, free: 10.46 MB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00489/5.092, allocations: 1.238 MB / 2.492 GB, free: 9.211 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02709/5.119, allocations: 10.21 MB / 2.502 GB, free: 15.06 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.017/5.136, allocations: 7.938 MB / 2.509 GB, free: 7.102 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/5.136, allocations: 5.344 kB / 2.509 GB, free: 7.102 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007635/5.144, allocations: 2.511 MB / 2.512 GB, free: 4.555 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003538/5.147, allocations: 84 kB / 2.512 GB, free: 4.473 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008147/5.155, allocations: 0.5906 MB / 2.512 GB, free: 3.883 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/5.156, allocations: 279.2 kB / 2.513 GB, free: 3.609 MB / 1.654 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01623/5.172, allocations: 5.859 MB / 2.518 GB, free: 13.82 MB / 1.67 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide could not be translated