Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.IntegratedPrimaryPlantSide,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.IntegratedPrimaryPlantSide") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,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.IntegratedPrimaryPlantSide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 110.3 kB / 16.41 MB, free: 6.387 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.001335/0.001335, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 59.91 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6833, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide): time 1.259/1.942, allocations: 0.7346 GB / 1.961 GB, free: 10.92 MB / 1.42 GB Notification: Performance of NFInst.instExpressions: time 0.1574/2.099, allocations: 117.1 MB / 2.075 GB, free: 5.555 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02277/2.122, allocations: 0.6911 MB / 2.076 GB, free: 4.859 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.02181/2.144, allocations: 8.233 MB / 2.084 GB, free: 12.58 MB / 1.545 GB Notification: Performance of NFTyping.typeBindings: time 0.05348/2.198, allocations: 20.61 MB / 2.104 GB, free: 7.902 MB / 1.561 GB Notification: Performance of NFTyping.typeClassSections: time 0.03139/2.229, allocations: 13.57 MB / 2.117 GB, free: 10.45 MB / 1.576 GB Notification: Performance of NFFlatten.flatten: time 0.05052/2.28, allocations: 39.19 MB / 2.156 GB, free: 3.145 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02781/2.307, allocations: 15.53 MB / 2.171 GB, free: 3.469 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.037/2.344, allocations: 17.09 MB / 2.188 GB, free: 2.352 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 1.681/4.025, allocations: 11.24 MB / 2.198 GB, free: 103.8 MB / 1.639 GB Notification: Performance of NFPackage.collectConstants: time 0.009432/4.035, allocations: 1.763 MB / 2.2 GB, free: 103.8 MB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02802/4.063, allocations: 7.341 MB / 2.207 GB, free: 103.8 MB / 1.639 GB Notification: Performance of NFScalarize.scalarize: time 0.01033/4.073, allocations: 4.085 MB / 2.211 GB, free: 103.8 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.02287/4.096, allocations: 9.013 MB / 2.22 GB, free: 103.2 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.05023/4.146, allocations: 29.34 MB / 2.249 GB, free: 99.95 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/4.147, allocations: 3.281 kB / 2.249 GB, free: 99.95 MB / 1.639 GB Notification: Performance of FrontEnd: time 1.643e-06/4.147, allocations: 3.938 kB / 2.249 GB, free: 99.95 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.001031/4.148, allocations: 0 / 2.249 GB, free: 99.95 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.05448/4.202, allocations: 17.29 MB / 2.266 GB, free: 92.92 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/4.202, allocations: 9.594 kB / 2.266 GB, free: 92.92 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/4.222, allocations: 3.438 MB / 2.269 GB, free: 92.02 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0345/4.257, allocations: 16 MB / 2.285 GB, free: 89.62 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/4.258, allocations: 0.7578 MB / 2.285 GB, free: 89.48 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003828/4.262, allocations: 0.7641 MB / 2.286 GB, free: 89.47 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/4.293, allocations: 10.89 MB / 2.297 GB, free: 88.78 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002399/4.294, allocations: 10.47 kB / 2.297 GB, free: 88.78 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001941/4.296, allocations: 293.2 kB / 2.297 GB, free: 88.78 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/4.296, allocations: 198.9 kB / 2.297 GB, free: 88.77 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03078/4.327, allocations: 11.3 MB / 2.308 GB, free: 88.65 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.09373/4.42, allocations: 58.63 MB / 2.366 GB, free: 63.54 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/4.437, allocations: 6.758 MB / 2.372 GB, free: 63.21 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009365/4.446, allocations: 4.071 MB / 2.376 GB, free: 63.16 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/4.448, allocations: 3.426 MB / 2.38 GB, free: 59.4 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009528/4.458, allocations: 4.258 MB / 2.384 GB, free: 58.23 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007975/4.466, allocations: 0.9518 MB / 2.385 GB, free: 57.85 MB / 1.639 GB Notification: Performance of pre-optimization done (n=402): time 2.282e-05/4.466, allocations: 0 / 2.385 GB, free: 57.85 MB / 1.639 GB Notification: Performance of matching and sorting (n=402): time 0.05351/4.519, allocations: 16.53 MB / 2.401 GB, free: 52.7 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/4.519, allocations: 120.1 kB / 2.401 GB, free: 52.6 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02596/4.545, allocations: 13.58 MB / 2.414 GB, free: 49.64 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.001798/4.547, allocations: 132.2 kB / 2.414 GB, free: 49.61 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.007593/4.555, allocations: 6.291 MB / 2.42 GB, free: 47.69 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.002291/4.557, allocations: 1.443 MB / 2.422 GB, free: 46.62 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002718/4.56, allocations: 1.349 MB / 2.423 GB, free: 46.34 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/4.56, allocations: 307.3 kB / 2.423 GB, free: 46.04 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007656/4.568, allocations: 4.227 MB / 2.428 GB, free: 45.22 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00967/4.577, allocations: 5.99 MB / 2.433 GB, free: 42.45 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/4.595, allocations: 9.269 MB / 2.442 GB, free: 39.77 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-05/4.595, allocations: 11.75 kB / 2.442 GB, free: 39.77 MB / 1.639 GB Notification: Performance of matching and sorting (n=732) (initialization): time 0.03534/4.63, allocations: 12.19 MB / 2.454 GB, free: 37.04 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/4.63, allocations: 52.05 kB / 2.454 GB, free: 37.01 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.154e-05/4.63, allocations: 35.88 kB / 2.454 GB, free: 37.01 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008308/4.639, allocations: 1.993 MB / 2.456 GB, free: 36.16 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008181/4.647, allocations: 1.612 MB / 2.458 GB, free: 34.65 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/4.654, allocations: 7.068 MB / 2.465 GB, free: 28.48 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/4.667, allocations: 0.7017 MB / 2.466 GB, free: 27.87 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/4.669, allocations: 306.8 kB / 2.466 GB, free: 27.62 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01745/4.687, allocations: 7.309 MB / 2.473 GB, free: 21.75 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01051/4.697, allocations: 5.919 MB / 2.479 GB, free: 15.14 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01837/4.716, allocations: 9.135 MB / 2.488 GB, free: 5.641 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.441e-05/4.716, allocations: 12 kB / 2.488 GB, free: 5.629 MB / 1.639 GB Notification: Performance of matching and sorting (n=732) (initialization_lambda0): time 0.03257/4.748, allocations: 11.81 MB / 2.499 GB, free: 10.03 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/4.748, allocations: 57.69 kB / 2.499 GB, free: 9.965 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.355e-05/4.749, allocations: 36 kB / 2.499 GB, free: 9.93 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005758/4.754, allocations: 1.352 MB / 2.501 GB, free: 8.57 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008305/4.763, allocations: 1.511 MB / 2.502 GB, free: 7.129 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/4.775, allocations: 8.382 MB / 2.51 GB, free: 14.45 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/4.788, allocations: 0.7528 MB / 2.511 GB, free: 13.7 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/4.79, allocations: 295.8 kB / 2.511 GB, free: 13.41 MB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,intWSEPri2.chiPar.chi[1].tru.y,intWSEPri1.chiPar.chi[1].tru.y,intWSEPri2.on[2],intWSEPri2.on[1],TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,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 (609): * Single equations (assignments): 588 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * 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): 4 systems {(3,17), (5,22), (3,17), (6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003343/4.793, allocations: 0.5486 MB / 2.512 GB, free: 12.92 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005394/4.799, allocations: 1.308 MB / 2.513 GB, free: 11.61 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0282/4.827, allocations: 10.21 MB / 2.523 GB, free: 1.449 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01932/4.846, allocations: 7.938 MB / 2.531 GB, free: 9.5 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/4.846, allocations: 0 / 2.531 GB, free: 9.5 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008563/4.855, allocations: 2.573 MB / 2.533 GB, free: 6.898 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004367/4.859, allocations: 88 kB / 2.533 GB, free: 6.812 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009633/4.869, allocations: 0.5866 MB / 2.534 GB, free: 6.227 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008373/4.87, allocations: 271.3 kB / 2.534 GB, free: 5.961 MB / 1.686 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.01752/4.887, allocations: 5.872 MB / 2.54 GB, free: 156 kB / 1.686 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide could not be translated