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.001167/0.001167, allocations: 108.7 kB / 16.41 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.001189/0.001189, allocations: 189.6 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.348/1.348, 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 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.84 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8117, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide): time 1.492/2.304, allocations: 0.7677 GB / 1.976 GB, free: 1.422 MB / 1.42 GB Notification: Performance of NFInst.instExpressions: time 0.187/2.491, allocations: 127.3 MB / 2.1 GB, free: 1.875 MB / 1.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0344/2.525, allocations: 0.7223 MB / 2.101 GB, free: 1.148 MB / 1.545 GB Notification: Performance of NFTyping.typeComponents: time 0.02785/2.553, allocations: 9.522 MB / 2.11 GB, free: 7.574 MB / 1.561 GB Notification: Performance of NFTyping.typeBindings: time 0.06266/2.616, allocations: 21.23 MB / 2.131 GB, free: 2.266 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.03468/2.651, allocations: 14.82 MB / 2.146 GB, free: 3.555 MB / 1.592 GB Notification: Performance of NFFlatten.flatten: time 1.737/4.387, allocations: 51.57 MB / 2.196 GB, free: 96.31 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02914/4.416, allocations: 17.53 MB / 2.213 GB, free: 94.45 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0413/4.458, allocations: 18.64 MB / 2.231 GB, free: 94.39 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02405/4.482, allocations: 12.73 MB / 2.244 GB, free: 92.44 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.007374/4.489, allocations: 2.052 MB / 2.246 GB, free: 92.44 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02338/4.513, allocations: 8.558 MB / 2.254 GB, free: 92.44 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.008202/4.521, allocations: 5.397 MB / 2.259 GB, free: 91.75 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02257/4.543, allocations: 10.67 MB / 2.27 GB, free: 89.02 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.04879/4.592, allocations: 35.62 MB / 2.305 GB, free: 85.82 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/4.592, allocations: 2.656 kB / 2.305 GB, free: 85.82 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.493e-06/4.592, allocations: 0 / 2.305 GB, free: 85.82 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0008393/4.593, allocations: 4 kB / 2.305 GB, free: 85.81 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: 1977 * Number of variables: 1977 Notification: Performance of Generate backend data structure: time 0.06264/4.656, allocations: 20.26 MB / 2.324 GB, free: 77.74 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/4.656, allocations: 10.44 kB / 2.324 GB, free: 77.74 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02556/4.681, allocations: 4.363 MB / 2.329 GB, free: 76.66 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04671/4.728, allocations: 22.15 MB / 2.35 GB, free: 73.73 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/4.729, allocations: 0.8081 MB / 2.351 GB, free: 73.58 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004162/4.733, allocations: 0.8418 MB / 2.352 GB, free: 73.58 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03835/4.772, allocations: 12.71 MB / 2.364 GB, free: 71.61 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004249/4.772, allocations: 14.06 kB / 2.364 GB, free: 71.61 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003814/4.776, allocations: 317.3 kB / 2.365 GB, free: 71.61 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/4.776, allocations: 203.1 kB / 2.365 GB, free: 71.61 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03496/4.811, allocations: 13.13 MB / 2.378 GB, free: 69.35 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.1053/4.917, allocations: 65.63 MB / 2.442 GB, free: 30.79 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/4.935, allocations: 8.42 MB / 2.45 GB, free: 25.05 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009114/4.944, allocations: 5.094 MB / 2.455 GB, free: 21.7 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 evalFunc (simulation): time 0.04304/4.987, allocations: 21.01 MB / 2.475 GB, free: 1.008 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01008/4.997, allocations: 5.229 MB / 2.481 GB, free: 11.75 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008692/5.006, allocations: 1.049 MB / 2.482 GB, free: 10.72 MB / 1.639 GB Notification: Performance of pre-optimization done (n=446): time 1.936e-05/5.006, allocations: 3.844 kB / 2.482 GB, free: 10.72 MB / 1.639 GB Notification: Performance of matching and sorting (n=446): time 0.09495/5.101, allocations: 24.84 MB / 2.506 GB, free: 1.812 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/5.101, allocations: 124.6 kB / 2.506 GB, free: 1.672 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04449/5.145, allocations: 17.93 MB / 2.523 GB, free: 15.83 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.002414/5.148, allocations: 156.7 kB / 2.524 GB, free: 15.67 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.01499/5.163, allocations: 7.454 MB / 2.531 GB, free: 8.23 MB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.003364/5.166, allocations: 1.528 MB / 2.532 GB, free: 6.715 MB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009606/5.176, allocations: 1.822 MB / 2.534 GB, free: 4.891 MB / 1.686 GB Notification: Performance of setup shared object (initialization): time 0.0001381/5.176, allocations: 309.1 kB / 2.534 GB, free: 4.586 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01663/5.193, allocations: 5.998 MB / 2.54 GB, free: 14.59 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01629/5.209, allocations: 8.141 MB / 2.548 GB, free: 5.664 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02648/5.235, allocations: 12.77 MB / 2.561 GB, free: 8.426 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-05/5.236, allocations: 15.94 kB / 2.561 GB, free: 8.41 MB / 1.717 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.04057/5.276, allocations: 16.39 MB / 2.577 GB, free: 8.211 MB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/5.276, allocations: 61.62 kB / 2.577 GB, free: 8.145 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.012e-05/5.276, allocations: 47.98 kB / 2.577 GB, free: 8.098 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02582/5.302, allocations: 4.671 MB / 2.581 GB, free: 3.426 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/5.312, allocations: 1.845 MB / 2.583 GB, free: 1.672 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/5.323, allocations: 6.897 MB / 2.59 GB, free: 10.65 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/5.337, allocations: 0.7955 MB / 2.591 GB, free: 9.859 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002346/5.339, allocations: 415.8 kB / 2.591 GB, free: 9.453 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02725/5.366, allocations: 10.3 MB / 2.601 GB, free: 15.15 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02151/5.388, allocations: 7.791 MB / 2.609 GB, free: 6.566 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03193/5.42, allocations: 12.1 MB / 2.621 GB, free: 10 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.791e-05/5.42, allocations: 12 kB / 2.621 GB, free: 9.988 MB / 1.779 GB Notification: Performance of matching and sorting (n=964) (initialization_lambda0): time 0.04743/5.467, allocations: 15.59 MB / 2.636 GB, free: 10.58 MB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/5.468, allocations: 53.69 kB / 2.636 GB, free: 10.52 MB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.192e-05/5.468, allocations: 44 kB / 2.636 GB, free: 10.48 MB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00608/5.474, allocations: 1.633 MB / 2.638 GB, free: 8.852 MB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009355/5.483, allocations: 1.804 MB / 2.639 GB, free: 7.133 MB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/5.501, allocations: 12.25 MB / 2.651 GB, free: 10.53 MB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01473/5.516, allocations: 0.8623 MB / 2.652 GB, free: 9.672 MB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/5.518, allocations: 391.8 kB / 2.652 GB, free: 9.289 MB / 1.811 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.004246/5.522, allocations: 0.6032 MB / 2.653 GB, free: 8.758 MB / 1.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006171/5.528, allocations: 1.485 MB / 2.655 GB, free: 7.254 MB / 1.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03736/5.566, allocations: 12.68 MB / 2.667 GB, free: 10.59 MB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02547/5.591, allocations: 9.985 MB / 2.677 GB, free: 496 kB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/5.591, allocations: 0 / 2.677 GB, free: 496 kB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/5.602, allocations: 2.964 MB / 2.68 GB, free: 13.49 MB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00621/5.608, allocations: 112 kB / 2.68 GB, free: 13.38 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01253/5.621, allocations: 0.6436 MB / 2.68 GB, free: 12.73 MB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/5.622, allocations: 323.6 kB / 2.681 GB, free: 12.41 MB / 1.842 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.02586/5.648, allocations: 7.271 MB / 2.688 GB, free: 5.184 MB / 1.842 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