Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.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.IntegratedPrimaryLoadSide,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.IntegratedPrimaryLoadSide") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide,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.IntegratedPrimaryLoadSide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00111/0.00111, allocations: 183.9 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 1.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.89 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.111, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide): time 1.754/2.866, allocations: 0.7677 GB / 1.989 GB, free: 300 kB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 0.1905/3.056, allocations: 127.3 MB / 2.113 GB, free: 0.7109 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02824/3.085, allocations: 0.7224 MB / 2.114 GB, free: 15.98 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.03162/3.116, allocations: 9.769 MB / 2.123 GB, free: 6.16 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.07194/3.188, allocations: 22.48 MB / 2.145 GB, free: 15.61 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.03971/3.228, allocations: 14.85 MB / 2.16 GB, free: 0.8672 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 1.983/5.211, allocations: 51.66 MB / 2.21 GB, free: 98.37 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03314/5.244, allocations: 17.53 MB / 2.227 GB, free: 96.51 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04892/5.293, allocations: 18.71 MB / 2.245 GB, free: 96.45 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02668/5.319, allocations: 12.74 MB / 2.258 GB, free: 94.48 MB / 1.639 GB Notification: Performance of NFPackage.collectConstants: time 0.009399/5.329, allocations: 2.052 MB / 2.26 GB, free: 94.48 MB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03023/5.359, allocations: 8.559 MB / 2.268 GB, free: 94.48 MB / 1.639 GB Notification: Performance of NFScalarize.scalarize: time 0.01225/5.371, allocations: 5.391 MB / 2.274 GB, free: 93.8 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.03321/5.405, allocations: 10.67 MB / 2.284 GB, free: 91.07 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.07207/5.477, allocations: 35.63 MB / 2.319 GB, free: 87.89 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/5.477, allocations: 0 / 2.319 GB, free: 87.89 MB / 1.639 GB Notification: Performance of FrontEnd: time 1.834e-06/5.477, allocations: 0 / 2.319 GB, free: 87.89 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.001193/5.478, allocations: 0 / 2.319 GB, free: 87.89 MB / 1.639 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1977 * Number of variables: 1977 Notification: Performance of Generate backend data structure: time 0.08036/5.558, allocations: 20.27 MB / 2.339 GB, free: 79.82 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/5.559, allocations: 12.42 kB / 2.339 GB, free: 79.81 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02743/5.586, allocations: 4.356 MB / 2.343 GB, free: 78.73 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06235/5.648, allocations: 22.15 MB / 2.364 GB, free: 75.8 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001512/5.65, allocations: 0.811 MB / 2.365 GB, free: 75.66 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00547/5.655, allocations: 0.8452 MB / 2.366 GB, free: 75.64 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04491/5.7, allocations: 12.71 MB / 2.378 GB, free: 74.32 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000424/5.701, allocations: 10.94 kB / 2.378 GB, free: 74.32 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004566/5.705, allocations: 325.5 kB / 2.379 GB, free: 74.32 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/5.706, allocations: 210 kB / 2.379 GB, free: 74.31 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03853/5.744, allocations: 13.12 MB / 2.392 GB, free: 72.05 MB / 1.639 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.1291/5.873, allocations: 65.63 MB / 2.456 GB, free: 33.7 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/5.894, allocations: 8.428 MB / 2.464 GB, free: 27.97 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01115/5.905, allocations: 5.087 MB / 2.469 GB, free: 24.62 MB / 1.639 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.05105/5.956, allocations: 21.02 MB / 2.49 GB, free: 3.875 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0128/5.969, allocations: 5.22 MB / 2.495 GB, free: 14.63 MB / 1.654 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01227/5.982, allocations: 1.046 MB / 2.496 GB, free: 13.6 MB / 1.654 GB Notification: Performance of pre-optimization done (n=446): time 2.756e-05/5.982, allocations: 4 kB / 2.496 GB, free: 13.59 MB / 1.654 GB Notification: Performance of matching and sorting (n=446): time 0.11/6.092, allocations: 24.83 MB / 2.52 GB, free: 4.691 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/6.092, allocations: 128.6 kB / 2.52 GB, free: 4.547 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05604/6.148, allocations: 17.93 MB / 2.538 GB, free: 2.699 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.003023/6.151, allocations: 155.3 kB / 2.538 GB, free: 2.547 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.01589/6.167, allocations: 7.461 MB / 2.545 GB, free: 11.13 MB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.003803/6.171, allocations: 1.531 MB / 2.547 GB, free: 9.609 MB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009007/6.18, allocations: 1.82 MB / 2.548 GB, free: 7.789 MB / 1.701 GB Notification: Performance of setup shared object (initialization): time 0.0001007/6.18, allocations: 301.1 kB / 2.549 GB, free: 7.492 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01415/6.194, allocations: 5.994 MB / 2.554 GB, free: 1.496 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01721/6.211, allocations: 8.141 MB / 2.562 GB, free: 8.566 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0315/6.243, allocations: 12.76 MB / 2.575 GB, free: 11.34 MB / 1.733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/6.243, allocations: 15.94 kB / 2.575 GB, free: 11.32 MB / 1.733 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.04743/6.29, allocations: 16.39 MB / 2.591 GB, free: 11.11 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/6.291, allocations: 53.64 kB / 2.591 GB, free: 11.05 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-05/6.291, allocations: 47.92 kB / 2.591 GB, free: 11 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02544/6.316, allocations: 4.68 MB / 2.596 GB, free: 6.324 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/6.327, allocations: 1.846 MB / 2.597 GB, free: 4.566 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/6.337, allocations: 6.886 MB / 2.604 GB, free: 13.56 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/6.353, allocations: 0.8069 MB / 2.605 GB, free: 12.76 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002901/6.356, allocations: 415.2 kB / 2.605 GB, free: 12.36 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02775/6.384, allocations: 10.3 MB / 2.615 GB, free: 2.055 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01696/6.401, allocations: 7.796 MB / 2.623 GB, free: 9.465 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02921/6.43, allocations: 12.09 MB / 2.635 GB, free: 12.91 MB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.573e-05/6.431, allocations: 12 kB / 2.635 GB, free: 12.89 MB / 1.795 GB Notification: Performance of matching and sorting (n=964) (initialization_lambda0): time 0.04967/6.48, allocations: 15.6 MB / 2.65 GB, free: 13.48 MB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/6.48, allocations: 53.7 kB / 2.65 GB, free: 13.42 MB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/6.481, allocations: 52.14 kB / 2.65 GB, free: 13.37 MB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/6.487, allocations: 1.625 MB / 2.652 GB, free: 11.75 MB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/6.497, allocations: 1.794 MB / 2.653 GB, free: 10.04 MB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/6.517, allocations: 12.26 MB / 2.665 GB, free: 13.44 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01949/6.537, allocations: 0.8556 MB / 2.666 GB, free: 12.58 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003237/6.54, allocations: 390.7 kB / 2.667 GB, free: 12.2 MB / 1.826 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 191 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,intWSEPri2.chiPar.chi[1].tru.y,intWSEPri1.chiPar.chi[1].tru.y,intWSEPri2.pum.hys[1].y,$PRE.intWSEPri2.pum.hys[1].y,intWSEPri1.pum.hys[1].y,$PRE.intWSEPri1.pum.hys[1].y,intWSEPri1.on[2],intWSEPri1.on[1],TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition2,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 (743): * Single equations (assignments): 720 * Array equations: 14 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 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): 2 systems {(7,51), (7,51)} Notification: Performance of prepare postOptimizeDAE: time 0.005439/6.545, allocations: 0.6114 MB / 2.667 GB, free: 11.66 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007985/6.553, allocations: 1.489 MB / 2.669 GB, free: 10.16 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04107/6.594, allocations: 12.68 MB / 2.681 GB, free: 13.48 MB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02639/6.621, allocations: 9.973 MB / 2.691 GB, free: 3.395 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/6.621, allocations: 7.984 kB / 2.691 GB, free: 3.387 MB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01178/6.633, allocations: 2.961 MB / 2.694 GB, free: 396 kB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006606/6.639, allocations: 104 kB / 2.694 GB, free: 292 kB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01418/6.653, allocations: 0.6513 MB / 2.694 GB, free: 15.63 MB / 1.858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/6.655, allocations: 327.6 kB / 2.695 GB, free: 15.31 MB / 1.858 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.0256/6.681, allocations: 7.264 MB / 2.702 GB, free: 8.078 MB / 1.858 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide could not be translated