Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|intWSEPriSec1.wse.heaExc.con.addPID.y|intWSEPriSec2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|intWSEPriSec1.TCHWSupWSE|intWSEPriSec2.TCHWSupWSE|intWSEPriSec1.chiPar.port_a1.m_flow|intWSEPriSec1.chiPar.port_a2.m_flow|intWSEPriSec2.chiPar.port_a1.m_flow|intWSEPriSec2.chiPar.port_a2.m_flow|intWSEPriSec1.chiPar.P.1.|intWSEPriSec2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onChi.y|onWSE.y|tri.y|sou1.T_in|sou2.T_in|intWSEPriSec1.wse.heaExc.con.addPID.y|intWSEPriSec2.wse.heaExc.con.addPID.y|TSup1.T|TSup2.T|intWSEPriSec1.TCHWSupWSE|intWSEPriSec2.TCHWSupWSE|intWSEPriSec1.chiPar.port_a1.m_flow|intWSEPriSec1.chiPar.port_a2.m_flow|intWSEPriSec2.chiPar.port_a1.m_flow|intWSEPriSec2.chiPar.port_a2.m_flow|intWSEPriSec1.chiPar.P.1.|intWSEPriSec2.chiPar.P.1.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002211/0.002212, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.13/2.13, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.073/3.073, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.84 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9379/0.9394, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 1.778/2.718, allocations: 0.8299 GB / 2.051 GB, free: 3.301 MB / 1.498 GB Notification: Performance of NFInst.instExpressions: time 1.221/3.939, allocations: 138.1 MB / 2.186 GB, free: 86.7 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0373/3.977, allocations: 0.7842 MB / 2.186 GB, free: 86.7 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.02952/4.006, allocations: 10.29 MB / 2.197 GB, free: 86.7 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.05987/4.066, allocations: 24.88 MB / 2.221 GB, free: 86.45 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.03451/4.101, allocations: 15.52 MB / 2.236 GB, free: 86.03 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.08248/4.183, allocations: 54.94 MB / 2.29 GB, free: 85.78 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03629/4.219, allocations: 18.35 MB / 2.308 GB, free: 83.52 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05445/4.274, allocations: 20 MB / 2.327 GB, free: 82.12 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0281/4.302, allocations: 13.54 MB / 2.34 GB, free: 79.85 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.01038/4.312, allocations: 2.174 MB / 2.342 GB, free: 79.85 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03886/4.351, allocations: 9.283 MB / 2.351 GB, free: 79.71 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01071/4.362, allocations: 5.658 MB / 2.357 GB, free: 78.99 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.0287/4.391, allocations: 11.3 MB / 2.368 GB, free: 76.14 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.06163/4.452, allocations: 37.89 MB / 2.405 GB, free: 56.27 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/4.452, allocations: 0 / 2.405 GB, free: 56.27 MB / 1.623 GB Notification: Performance of FrontEnd: time 2.464e-06/4.453, allocations: 4 kB / 2.405 GB, free: 56.27 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.001123/4.454, allocations: 4 kB / 2.405 GB, free: 56.26 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.07964/4.533, allocations: 21.45 MB / 2.426 GB, free: 37.92 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/4.533, allocations: 12.58 kB / 2.426 GB, free: 37.91 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02601/4.559, allocations: 4.293 MB / 2.43 GB, free: 33.59 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05141/4.611, allocations: 22.61 MB / 2.452 GB, free: 11.54 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/4.612, allocations: 0.8465 MB / 2.453 GB, free: 10.66 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005175/4.617, allocations: 0.9008 MB / 2.454 GB, free: 9.766 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/4.665, allocations: 13.53 MB / 2.467 GB, free: 12.05 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004958/4.665, allocations: 14.28 kB / 2.467 GB, free: 12.04 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004656/4.67, allocations: 352 kB / 2.468 GB, free: 11.7 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/4.67, allocations: 224 kB / 2.468 GB, free: 11.48 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04171/4.712, allocations: 13.69 MB / 2.481 GB, free: 13.8 MB / 1.654 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.1511/4.863, allocations: 71.57 MB / 2.551 GB, free: 2.531 MB / 1.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0244/4.888, allocations: 8.539 MB / 2.559 GB, free: 9.984 MB / 1.732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01393/4.902, allocations: 5.191 MB / 2.564 GB, free: 4.785 MB / 1.732 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.0616/4.963, allocations: 22.33 MB / 2.586 GB, free: 13.74 MB / 1.764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01585/4.979, allocations: 5.592 MB / 2.592 GB, free: 8.133 MB / 1.764 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01105/4.99, allocations: 1.176 MB / 2.593 GB, free: 6.973 MB / 1.764 GB Notification: Performance of pre-optimization done (n=508): time 3.209e-05/4.99, allocations: 0 / 2.593 GB, free: 6.973 MB / 1.764 GB Notification: Performance of matching and sorting (n=508): time 0.1047/5.095, allocations: 24.05 MB / 2.616 GB, free: 14.87 MB / 1.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/5.095, allocations: 131.9 kB / 2.616 GB, free: 14.72 MB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05566/5.151, allocations: 18.67 MB / 2.635 GB, free: 12.17 MB / 1.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002716/5.154, allocations: 159.3 kB / 2.635 GB, free: 12.01 MB / 1.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.01598/5.17, allocations: 7.759 MB / 2.642 GB, free: 4.262 MB / 1.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.003966/5.174, allocations: 1.752 MB / 2.644 GB, free: 2.523 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009469/5.183, allocations: 1.92 MB / 2.646 GB, free: 0.6016 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 0.0001148/5.183, allocations: 305.1 kB / 2.646 GB, free: 308 kB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01487/5.198, allocations: 6.208 MB / 2.652 GB, free: 10.09 MB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0192/5.218, allocations: 8.475 MB / 2.661 GB, free: 0.7578 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03193/5.25, allocations: 13.18 MB / 2.673 GB, free: 3.086 MB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.994e-05/5.25, allocations: 16 kB / 2.674 GB, free: 3.07 MB / 1.842 GB Notification: Performance of matching and sorting (n=1026) (initialization): time 0.05051/5.3, allocations: 17.02 MB / 2.69 GB, free: 2.254 MB / 1.857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/5.3, allocations: 64.78 kB / 2.69 GB, free: 2.188 MB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/5.301, allocations: 44.84 kB / 2.69 GB, free: 2.145 MB / 1.857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03196/5.333, allocations: 5.181 MB / 2.695 GB, free: 12.95 MB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01151/5.344, allocations: 2.005 MB / 2.697 GB, free: 11.04 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/5.357, allocations: 9.464 MB / 2.707 GB, free: 1.379 MB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0163/5.374, allocations: 0.7729 MB / 2.707 GB, free: 0.6094 MB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003062/5.377, allocations: 439.7 kB / 2.708 GB, free: 184 kB / 1.873 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02855/5.405, allocations: 10.69 MB / 2.718 GB, free: 5.488 MB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01838/5.424, allocations: 8.163 MB / 2.726 GB, free: 12.47 MB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03073/5.455, allocations: 12.56 MB / 2.738 GB, free: 15.41 MB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.391e-05/5.455, allocations: 16 kB / 2.738 GB, free: 15.4 MB / 1.92 GB Notification: Performance of matching and sorting (n=1026) (initialization_lambda0): time 0.05058/5.505, allocations: 16.1 MB / 2.754 GB, free: 15.5 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/5.506, allocations: 57.62 kB / 2.754 GB, free: 15.44 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/5.506, allocations: 48 kB / 2.754 GB, free: 15.39 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009641/5.515, allocations: 1.91 MB / 2.756 GB, free: 13.48 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/5.526, allocations: 1.957 MB / 2.758 GB, free: 11.62 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/5.537, allocations: 7.24 MB / 2.765 GB, free: 4.098 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01654/5.553, allocations: 0.8267 MB / 2.766 GB, free: 3.273 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002525/5.556, allocations: 431.7 kB / 2.766 GB, free: 2.852 MB / 1.936 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,intWSEPriSec2.chiPar.chi[1].tru.y,intWSEPriSec1.chiPar.chi[1].tru.y,intWSEPriSec2.pum.hys[1].y,$PRE.intWSEPriSec2.pum.hys[1].y,intWSEPriSec2.on[2],intWSEPriSec2.on[1],intWSEPriSec1.pum.hys[1].y,$PRE.intWSEPriSec1.pum.hys[1].y,TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition2,intWSEPriSec1.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 (817): * Single equations (assignments): 790 * Array equations: 14 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 2 * 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): 8 systems {1, 1, 1, 1, 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): 2 systems {(7,47), (7,47)} Notification: Performance of prepare postOptimizeDAE: time 0.004442/5.56, allocations: 0.6414 MB / 2.767 GB, free: 2.297 MB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006552/5.567, allocations: 1.574 MB / 2.768 GB, free: 0.7031 MB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04175/5.609, allocations: 13.01 MB / 2.781 GB, free: 3.707 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02789/5.637, allocations: 10.11 MB / 2.791 GB, free: 9.473 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/5.637, allocations: 0 / 2.791 GB, free: 9.473 MB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01142/5.648, allocations: 3.132 MB / 2.794 GB, free: 6.301 MB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005564/5.654, allocations: 116 kB / 2.794 GB, free: 6.188 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01233/5.666, allocations: 0.6128 MB / 2.795 GB, free: 5.574 MB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/5.668, allocations: 360.1 kB / 2.795 GB, free: 5.219 MB / 1.967 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.02714/5.695, allocations: 7.49 MB / 2.802 GB, free: 13.78 MB / 1.982 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary could not be translated