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.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.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.001496/0.001496, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001656/0.001656, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 75.88 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7946, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 1.565/2.36, allocations: 0.8299 GB / 2.038 GB, free: 5.477 MB / 1.482 GB Notification: Performance of NFInst.instExpressions: time 0.1898/2.55, allocations: 138.1 MB / 2.173 GB, free: 11.11 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02686/2.576, allocations: 0.7805 MB / 2.174 GB, free: 10.32 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.02733/2.604, allocations: 10.02 MB / 2.184 GB, free: 260 kB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.9337/3.538, allocations: 23.52 MB / 2.207 GB, free: 87.95 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.03643/3.574, allocations: 15.48 MB / 2.222 GB, free: 87.77 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.08204/3.656, allocations: 54.88 MB / 2.275 GB, free: 87.52 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03697/3.693, allocations: 18.34 MB / 2.293 GB, free: 85.35 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05065/3.744, allocations: 19.32 MB / 2.312 GB, free: 84.31 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02866/3.773, allocations: 13.53 MB / 2.325 GB, free: 82.05 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.009456/3.782, allocations: 2.177 MB / 2.327 GB, free: 82.05 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03179/3.814, allocations: 9.276 MB / 2.336 GB, free: 81.91 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01162/3.826, allocations: 5.654 MB / 2.342 GB, free: 81.2 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.03352/3.859, allocations: 11.31 MB / 2.353 GB, free: 78.34 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.05873/3.918, allocations: 37.85 MB / 2.39 GB, free: 68.12 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/3.918, allocations: 4 kB / 2.39 GB, free: 68.11 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.363e-06/3.918, allocations: 3.938 kB / 2.39 GB, free: 68.11 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0009847/3.919, allocations: 0 / 2.39 GB, free: 68.11 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.06782/3.987, allocations: 21.45 MB / 2.411 GB, free: 53.63 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/3.987, allocations: 8.031 kB / 2.411 GB, free: 53.62 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/4.008, allocations: 4.29 MB / 2.415 GB, free: 49.32 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04468/4.053, allocations: 22.62 MB / 2.437 GB, free: 35.44 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/4.054, allocations: 0.8445 MB / 2.438 GB, free: 34.88 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004376/4.059, allocations: 0.9106 MB / 2.439 GB, free: 34.21 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03817/4.097, allocations: 13.52 MB / 2.452 GB, free: 20.5 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/4.097, allocations: 11.27 kB / 2.452 GB, free: 20.49 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003924/4.101, allocations: 348 kB / 2.452 GB, free: 20.15 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/4.101, allocations: 231.1 kB / 2.453 GB, free: 19.93 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03396/4.135, allocations: 13.69 MB / 2.466 GB, free: 6.258 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.1435/4.279, allocations: 71.57 MB / 2.536 GB, free: 11.01 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02293/4.302, allocations: 8.536 MB / 2.544 GB, free: 2.465 MB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01301/4.315, allocations: 5.194 MB / 2.549 GB, free: 13.26 MB / 1.717 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.05627/4.371, allocations: 22.32 MB / 2.571 GB, free: 6.234 MB / 1.732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0148/4.386, allocations: 5.589 MB / 2.577 GB, free: 0.625 MB / 1.732 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01087/4.397, allocations: 1.194 MB / 2.578 GB, free: 15.45 MB / 1.748 GB Notification: Performance of pre-optimization done (n=508): time 2.458e-05/4.397, allocations: 3.281 kB / 2.578 GB, free: 15.45 MB / 1.748 GB Notification: Performance of matching and sorting (n=508): time 0.09642/4.493, allocations: 24.04 MB / 2.601 GB, free: 7.352 MB / 1.764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/4.493, allocations: 141 kB / 2.601 GB, free: 7.195 MB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05205/4.545, allocations: 18.67 MB / 2.62 GB, free: 4.633 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.002596/4.548, allocations: 156 kB / 2.62 GB, free: 4.477 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01571/4.564, allocations: 7.769 MB / 2.627 GB, free: 12.79 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004256/4.568, allocations: 1.744 MB / 2.629 GB, free: 11.05 MB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009505/4.578, allocations: 1.923 MB / 2.631 GB, free: 9.129 MB / 1.795 GB Notification: Performance of setup shared object (initialization): time 0.0001199/4.578, allocations: 302.6 kB / 2.631 GB, free: 8.832 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01438/4.592, allocations: 6.209 MB / 2.637 GB, free: 2.617 MB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01715/4.609, allocations: 8.477 MB / 2.646 GB, free: 9.289 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02806/4.637, allocations: 13.18 MB / 2.658 GB, free: 11.62 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.759e-05/4.638, allocations: 16 kB / 2.658 GB, free: 11.61 MB / 1.826 GB Notification: Performance of matching and sorting (n=1026) (initialization): time 0.04528/4.683, allocations: 17.02 MB / 2.675 GB, free: 10.79 MB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/4.683, allocations: 61.69 kB / 2.675 GB, free: 10.73 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.773e-05/4.683, allocations: 48.09 kB / 2.675 GB, free: 10.68 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02921/4.712, allocations: 5.189 MB / 2.68 GB, free: 5.488 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/4.723, allocations: 2.008 MB / 2.682 GB, free: 3.57 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/4.736, allocations: 9.459 MB / 2.691 GB, free: 9.914 MB / 1.857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/4.751, allocations: 0.7653 MB / 2.692 GB, free: 9.148 MB / 1.857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002925/4.754, allocations: 450.3 kB / 2.693 GB, free: 8.711 MB / 1.857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02609/4.78, allocations: 10.67 MB / 2.703 GB, free: 14.03 MB / 1.873 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01565/4.796, allocations: 8.167 MB / 2.711 GB, free: 5.008 MB / 1.873 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02575/4.821, allocations: 12.56 MB / 2.723 GB, free: 7.953 MB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.034e-05/4.822, allocations: 18.62 kB / 2.723 GB, free: 7.938 MB / 1.889 GB Notification: Performance of matching and sorting (n=1026) (initialization_lambda0): time 0.04385/4.865, allocations: 16.09 MB / 2.739 GB, free: 8.051 MB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 9.385e-05/4.866, allocations: 59.25 kB / 2.739 GB, free: 7.988 MB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.742e-05/4.866, allocations: 44 kB / 2.739 GB, free: 7.945 MB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008646/4.874, allocations: 1.916 MB / 2.741 GB, free: 6.023 MB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/4.884, allocations: 1.948 MB / 2.743 GB, free: 4.168 MB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/4.894, allocations: 7.25 MB / 2.75 GB, free: 12.64 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01618/4.91, allocations: 0.8357 MB / 2.751 GB, free: 11.81 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002634/4.913, allocations: 423.7 kB / 2.751 GB, free: 11.4 MB / 1.92 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.004188/4.917, allocations: 0.6433 MB / 2.752 GB, free: 10.84 MB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006508/4.924, allocations: 1.578 MB / 2.753 GB, free: 9.242 MB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03966/4.963, allocations: 13 MB / 2.766 GB, free: 12.25 MB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02709/4.99, allocations: 10.12 MB / 2.776 GB, free: 2.008 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/4.99, allocations: 0 / 2.776 GB, free: 2.008 MB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01135/5.002, allocations: 3.128 MB / 2.779 GB, free: 14.84 MB / 1.951 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006819/5.009, allocations: 115 kB / 2.779 GB, free: 14.73 MB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01289/5.022, allocations: 0.6198 MB / 2.78 GB, free: 14.11 MB / 1.951 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001747/5.023, allocations: 352.1 kB / 2.78 GB, free: 13.77 MB / 1.951 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.02624/5.05, allocations: 7.487 MB / 2.787 GB, free: 6.316 MB / 1.951 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