Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001245/0.001245, 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.001215/0.001215, 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7359, allocations: 151.6 MB / 1.167 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide): time 1.349/2.085, allocations: 0.7677 GB / 1.935 GB, free: 2.402 MB / 1.357 GB Notification: Performance of NFInst.instExpressions: time 0.1722/2.258, allocations: 127.3 MB / 2.059 GB, free: 2.836 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02627/2.284, allocations: 0.7223 MB / 2.06 GB, free: 2.109 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.02467/2.309, allocations: 9.765 MB / 2.07 GB, free: 8.293 MB / 1.498 GB Notification: Performance of NFTyping.typeBindings: time 0.05511/2.364, allocations: 22.48 MB / 2.092 GB, free: 1.738 MB / 1.514 GB Notification: Performance of NFTyping.typeClassSections: time 0.03147/2.395, allocations: 14.87 MB / 2.106 GB, free: 2.875 MB / 1.529 GB Notification: Performance of NFFlatten.flatten: time 1.522/3.917, allocations: 51.65 MB / 2.156 GB, free: 93.35 MB / 1.576 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0246/3.941, allocations: 17.52 MB / 2.174 GB, free: 91.64 MB / 1.576 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0356/3.977, allocations: 18.72 MB / 2.192 GB, free: 91.58 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02242/3.999, allocations: 12.73 MB / 2.204 GB, free: 89.89 MB / 1.576 GB Notification: Performance of NFPackage.collectConstants: time 0.00723/4.007, allocations: 2.053 MB / 2.206 GB, free: 89.89 MB / 1.576 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02311/4.03, allocations: 8.555 MB / 2.215 GB, free: 89.89 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.008185/4.038, allocations: 5.394 MB / 2.22 GB, free: 89.2 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.0204/4.058, allocations: 10.68 MB / 2.23 GB, free: 86.46 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 0.05039/4.109, allocations: 35.62 MB / 2.265 GB, free: 83.27 MB / 1.576 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/4.109, allocations: 3.578 kB / 2.265 GB, free: 83.27 MB / 1.576 GB Notification: Performance of FrontEnd: time 1.473e-06/4.109, allocations: 0 / 2.265 GB, free: 83.27 MB / 1.576 GB Notification: Performance of Transformations before backend: time 0.000844/4.11, allocations: 0 / 2.265 GB, free: 83.27 MB / 1.576 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.06087/4.171, allocations: 20.27 MB / 2.285 GB, free: 75.2 MB / 1.576 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/4.171, allocations: 8.594 kB / 2.285 GB, free: 75.2 MB / 1.576 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02609/4.197, allocations: 4.369 MB / 2.289 GB, free: 74.11 MB / 1.576 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04884/4.246, allocations: 22.15 MB / 2.311 GB, free: 71.18 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/4.247, allocations: 0.8075 MB / 2.312 GB, free: 71.03 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005397/4.253, allocations: 0.8393 MB / 2.312 GB, free: 71.03 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04057/4.293, allocations: 12.7 MB / 2.325 GB, free: 70.27 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004805/4.294, allocations: 20.78 kB / 2.325 GB, free: 70.27 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003797/4.297, allocations: 322.7 kB / 2.325 GB, free: 70.27 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/4.298, allocations: 208.5 kB / 2.325 GB, free: 70.26 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03484/4.333, allocations: 13.12 MB / 2.338 GB, free: 68 MB / 1.576 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.1119/4.445, allocations: 65.64 MB / 2.402 GB, free: 31.28 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02153/4.466, allocations: 8.418 MB / 2.411 GB, free: 28.61 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0112/4.477, allocations: 5.092 MB / 2.416 GB, free: 25.26 MB / 1.576 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.04376/4.521, allocations: 21.01 MB / 2.436 GB, free: 8.945 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/4.532, allocations: 5.231 MB / 2.441 GB, free: 3.688 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008019/4.54, allocations: 1.055 MB / 2.442 GB, free: 2.648 MB / 1.576 GB Notification: Performance of pre-optimization done (n=446): time 1.732e-05/4.54, allocations: 0 / 2.442 GB, free: 2.648 MB / 1.576 GB Notification: Performance of matching and sorting (n=446): time 0.1002/4.64, allocations: 24.84 MB / 2.466 GB, free: 9.746 MB / 1.608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/4.64, allocations: 131 kB / 2.467 GB, free: 9.605 MB / 1.608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04108/4.681, allocations: 17.92 MB / 2.484 GB, free: 7.762 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.002253/4.684, allocations: 149.7 kB / 2.484 GB, free: 7.609 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.01192/4.695, allocations: 7.455 MB / 2.491 GB, free: 172 kB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.002974/4.698, allocations: 1.531 MB / 2.493 GB, free: 14.65 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007405/4.706, allocations: 1.817 MB / 2.495 GB, free: 12.83 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/4.706, allocations: 309.1 kB / 2.495 GB, free: 12.52 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0133/4.719, allocations: 5.993 MB / 2.501 GB, free: 6.527 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01569/4.735, allocations: 8.137 MB / 2.509 GB, free: 13.6 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02753/4.763, allocations: 12.76 MB / 2.521 GB, free: 388 kB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.599e-05/4.763, allocations: 15.94 kB / 2.521 GB, free: 372 kB / 1.654 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.04699/4.81, allocations: 16.4 MB / 2.537 GB, free: 152 kB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/4.81, allocations: 61.38 kB / 2.537 GB, free: 88 kB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/4.81, allocations: 44 kB / 2.537 GB, free: 44 kB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02679/4.837, allocations: 4.674 MB / 2.542 GB, free: 11.37 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/4.847, allocations: 1.836 MB / 2.544 GB, free: 9.617 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/4.859, allocations: 6.905 MB / 2.551 GB, free: 2.598 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01496/4.874, allocations: 0.7985 MB / 2.551 GB, free: 1.805 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/4.877, allocations: 412.1 kB / 2.552 GB, free: 1.402 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02538/4.902, allocations: 10.3 MB / 2.562 GB, free: 7.102 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01603/4.918, allocations: 7.803 MB / 2.569 GB, free: 14.51 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02582/4.944, allocations: 12.08 MB / 2.581 GB, free: 1.957 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.171e-05/4.944, allocations: 12 kB / 2.581 GB, free: 1.945 MB / 1.717 GB Notification: Performance of matching and sorting (n=964) (initialization_lambda0): time 0.04391/4.988, allocations: 15.61 MB / 2.596 GB, free: 2.527 MB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/4.988, allocations: 61.69 kB / 2.596 GB, free: 2.461 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.002e-05/4.988, allocations: 40 kB / 2.597 GB, free: 2.422 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006395/4.995, allocations: 1.631 MB / 2.598 GB, free: 0.793 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009932/5.005, allocations: 1.8 MB / 2.6 GB, free: 15.08 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/5.023, allocations: 12.24 MB / 2.612 GB, free: 2.488 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/5.039, allocations: 0.8601 MB / 2.613 GB, free: 1.629 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002626/5.041, allocations: 390.4 kB / 2.613 GB, free: 1.25 MB / 1.748 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.004024/5.045, allocations: 0.6075 MB / 2.614 GB, free: 0.7227 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006241/5.052, allocations: 1.486 MB / 2.615 GB, free: 15.22 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/5.09, allocations: 12.69 MB / 2.627 GB, free: 2.543 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02615/5.116, allocations: 9.979 MB / 2.637 GB, free: 8.441 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/5.116, allocations: 0 / 2.637 GB, free: 8.441 MB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01144/5.127, allocations: 2.965 MB / 2.64 GB, free: 5.438 MB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006118/5.134, allocations: 104 kB / 2.64 GB, free: 5.336 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01214/5.146, allocations: 0.6513 MB / 2.641 GB, free: 4.684 MB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/5.147, allocations: 323.6 kB / 2.641 GB, free: 4.363 MB / 1.779 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.02377/5.171, allocations: 7.26 MB / 2.648 GB, free: 13.14 MB / 1.795 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