Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001316/0.001316, allocations: 116.2 kB / 16.42 MB, free: 6.477 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.001278/0.001278, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.325/1.325, 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 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 75.83 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7105, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide): time 1.227/1.937, allocations: 0.7346 GB / 1.902 GB, free: 0.5508 MB / 1.326 GB Notification: Performance of NFInst.instExpressions: time 0.1659/2.103, allocations: 117.1 MB / 2.016 GB, free: 11.18 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02506/2.128, allocations: 0.6911 MB / 2.017 GB, free: 10.49 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.02173/2.15, allocations: 8.237 MB / 2.025 GB, free: 2.207 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.05649/2.207, allocations: 20.61 MB / 2.045 GB, free: 13.53 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.02991/2.237, allocations: 13.57 MB / 2.058 GB, free: 15.96 MB / 1.498 GB Notification: Performance of NFFlatten.flatten: time 0.05315/2.29, allocations: 39.19 MB / 2.097 GB, free: 8.66 MB / 1.529 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02834/2.318, allocations: 15.53 MB / 2.112 GB, free: 8.984 MB / 1.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03677/2.355, allocations: 17.1 MB / 2.128 GB, free: 7.859 MB / 1.561 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01879/2.374, allocations: 11.25 MB / 2.139 GB, free: 12.56 MB / 1.576 GB Notification: Performance of NFPackage.collectConstants: time 0.00598/2.38, allocations: 1.766 MB / 2.141 GB, free: 10.79 MB / 1.576 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02056/2.4, allocations: 7.33 MB / 2.148 GB, free: 3.457 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.006976/2.407, allocations: 4.088 MB / 2.152 GB, free: 15.36 MB / 1.592 GB Notification: Performance of NFVerifyModel.verify: time 0.01741/2.425, allocations: 9.007 MB / 2.161 GB, free: 6.309 MB / 1.592 GB Notification: Performance of NFConvertDAE.convert: time 1.468/3.893, allocations: 29.34 MB / 2.19 GB, free: 131.3 MB / 1.592 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/3.893, allocations: 1.406 kB / 2.19 GB, free: 131.3 MB / 1.592 GB Notification: Performance of FrontEnd: time 1.954e-06/3.893, allocations: 0 / 2.19 GB, free: 131.3 MB / 1.592 GB Notification: Performance of Transformations before backend: time 0.0008403/3.894, allocations: 0 / 2.19 GB, free: 131.3 MB / 1.592 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.05212/3.946, allocations: 17.3 MB / 2.207 GB, free: 124.3 MB / 1.592 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/3.946, allocations: 6.797 kB / 2.207 GB, free: 124.3 MB / 1.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/3.966, allocations: 3.439 MB / 2.21 GB, free: 123.4 MB / 1.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03367/4, allocations: 16.01 MB / 2.226 GB, free: 121 MB / 1.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/4.001, allocations: 0.7457 MB / 2.226 GB, free: 120.9 MB / 1.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003885/4.005, allocations: 0.7718 MB / 2.227 GB, free: 120.9 MB / 1.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03486/4.04, allocations: 10.89 MB / 2.238 GB, free: 120.2 MB / 1.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004083/4.04, allocations: 11.19 kB / 2.238 GB, free: 120.2 MB / 1.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/4.043, allocations: 296.7 kB / 2.238 GB, free: 120.2 MB / 1.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/4.043, allocations: 192.3 kB / 2.238 GB, free: 120.2 MB / 1.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/4.073, allocations: 11.31 MB / 2.249 GB, free: 120.1 MB / 1.592 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.09341/4.166, allocations: 58.62 MB / 2.307 GB, free: 94.97 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/4.183, allocations: 6.758 MB / 2.313 GB, free: 94.64 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008686/4.192, allocations: 4.077 MB / 2.317 GB, free: 94.59 MB / 1.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002445/4.194, allocations: 3.421 MB / 2.32 GB, free: 90.83 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01047/4.205, allocations: 4.259 MB / 2.325 GB, free: 90.65 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00822/4.213, allocations: 0.9512 MB / 2.326 GB, free: 90.36 MB / 1.592 GB Notification: Performance of pre-optimization done (n=402): time 2.422e-05/4.213, allocations: 4.688 kB / 2.326 GB, free: 90.36 MB / 1.592 GB Notification: Performance of matching and sorting (n=402): time 0.05866/4.272, allocations: 16.52 MB / 2.342 GB, free: 87.35 MB / 1.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/4.272, allocations: 123.8 kB / 2.342 GB, free: 87.25 MB / 1.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02921/4.301, allocations: 13.58 MB / 2.355 GB, free: 84.29 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001659/4.303, allocations: 137 kB / 2.355 GB, free: 84.25 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.008354/4.311, allocations: 6.284 MB / 2.361 GB, free: 82.35 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002372/4.314, allocations: 1.443 MB / 2.363 GB, free: 81.29 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005164/4.319, allocations: 1.35 MB / 2.364 GB, free: 81 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 4.266e-05/4.319, allocations: 307.8 kB / 2.364 GB, free: 80.7 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009199/4.328, allocations: 4.228 MB / 2.369 GB, free: 79.88 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/4.339, allocations: 5.986 MB / 2.374 GB, free: 77.11 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/4.357, allocations: 9.282 MB / 2.383 GB, free: 74.41 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.463e-05/4.357, allocations: 11.78 kB / 2.383 GB, free: 74.41 MB / 1.592 GB Notification: Performance of matching and sorting (n=732) (initialization): time 0.02974/4.387, allocations: 12.18 MB / 2.395 GB, free: 71.69 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/4.387, allocations: 52.86 kB / 2.395 GB, free: 71.66 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.501e-05/4.387, allocations: 36.67 kB / 2.395 GB, free: 71.65 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008353/4.395, allocations: 1.987 MB / 2.397 GB, free: 71.13 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00789/4.403, allocations: 1.615 MB / 2.399 GB, free: 70.72 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/4.41, allocations: 7.063 MB / 2.406 GB, free: 65.57 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/4.422, allocations: 0.7136 MB / 2.407 GB, free: 64.95 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/4.424, allocations: 304.5 kB / 2.407 GB, free: 64.7 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01524/4.439, allocations: 7.307 MB / 2.414 GB, free: 60.31 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009624/4.449, allocations: 5.923 MB / 2.42 GB, free: 55.27 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01664/4.466, allocations: 9.141 MB / 2.429 GB, free: 48.65 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.839e-05/4.466, allocations: 19.97 kB / 2.429 GB, free: 48.63 MB / 1.592 GB Notification: Performance of matching and sorting (n=732) (initialization_lambda0): time 0.02691/4.493, allocations: 11.79 MB / 2.44 GB, free: 38.73 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/4.493, allocations: 53.88 kB / 2.44 GB, free: 38.67 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.031e-05/4.493, allocations: 36 kB / 2.44 GB, free: 38.63 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005228/4.498, allocations: 1.354 MB / 2.442 GB, free: 37.27 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007382/4.505, allocations: 1.504 MB / 2.443 GB, free: 35.84 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/4.514, allocations: 8.401 MB / 2.451 GB, free: 27.15 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/4.526, allocations: 0.7465 MB / 2.452 GB, free: 26.4 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/4.527, allocations: 304.4 kB / 2.452 GB, free: 26.11 MB / 1.592 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.002379/4.53, allocations: 0.5468 MB / 2.453 GB, free: 25.62 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004034/4.534, allocations: 1.308 MB / 2.454 GB, free: 24.31 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02396/4.558, allocations: 10.21 MB / 2.464 GB, free: 14.15 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01609/4.574, allocations: 7.947 MB / 2.472 GB, free: 6.191 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/4.574, allocations: 0 / 2.472 GB, free: 6.191 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006917/4.581, allocations: 2.565 MB / 2.474 GB, free: 3.598 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003992/4.585, allocations: 84 kB / 2.474 GB, free: 3.516 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009344/4.594, allocations: 0.5916 MB / 2.475 GB, free: 2.926 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006787/4.595, allocations: 273.6 kB / 2.475 GB, free: 2.66 MB / 1.592 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.01742/4.612, allocations: 5.875 MB / 2.481 GB, free: 12.85 MB / 1.608 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