Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001118/0.001118, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001152/0.001152, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.462/2.462, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7191, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 1.364/2.083, allocations: 0.83 GB / 1.997 GB, free: 2.543 MB / 1.42 GB Notification: Performance of NFInst.instExpressions: time 0.1969/2.28, allocations: 138.1 MB / 2.132 GB, free: 8.164 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02616/2.306, allocations: 0.7844 MB / 2.133 GB, free: 7.375 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.03244/2.339, allocations: 10.29 MB / 2.143 GB, free: 13.03 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.8134/3.152, allocations: 24.87 MB / 2.167 GB, free: 85.12 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.03239/3.185, allocations: 15.52 MB / 2.182 GB, free: 84.87 MB / 1.576 GB Notification: Performance of NFFlatten.flatten: time 0.06959/3.254, allocations: 54.93 MB / 2.236 GB, free: 84.63 MB / 1.576 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02973/3.284, allocations: 18.34 MB / 2.254 GB, free: 82.51 MB / 1.576 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04081/3.325, allocations: 19.99 MB / 2.273 GB, free: 82.09 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/3.348, allocations: 13.54 MB / 2.287 GB, free: 79.83 MB / 1.576 GB Notification: Performance of NFPackage.collectConstants: time 0.006298/3.354, allocations: 2.172 MB / 2.289 GB, free: 79.83 MB / 1.576 GB Notification: Performance of NFFlatten.collectFunctions: time 0.025/3.379, allocations: 9.281 MB / 2.298 GB, free: 79.83 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.008381/3.387, allocations: 5.658 MB / 2.303 GB, free: 79.11 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.02111/3.408, allocations: 11.31 MB / 2.314 GB, free: 76.25 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 0.0505/3.459, allocations: 37.99 MB / 2.352 GB, free: 68.38 MB / 1.576 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/3.459, allocations: 0 / 2.352 GB, free: 68.38 MB / 1.576 GB Notification: Performance of FrontEnd: time 1.744e-06/3.459, allocations: 0 / 2.352 GB, free: 68.38 MB / 1.576 GB Notification: Performance of Transformations before backend: time 0.0008176/3.46, allocations: 0 / 2.352 GB, free: 68.38 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.05839/3.518, allocations: 22.1 MB / 2.373 GB, free: 54.45 MB / 1.576 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/3.518, allocations: 8.922 kB / 2.373 GB, free: 54.44 MB / 1.576 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/3.539, allocations: 4.393 MB / 2.377 GB, free: 50.04 MB / 1.576 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0398/3.579, allocations: 22.76 MB / 2.4 GB, free: 36.05 MB / 1.576 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008345/3.58, allocations: 0.8534 MB / 2.4 GB, free: 35.47 MB / 1.576 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/3.583, allocations: 0.9048 MB / 2.401 GB, free: 34.86 MB / 1.576 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/3.61, allocations: 13.52 MB / 2.415 GB, free: 24.2 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/3.61, allocations: 13.58 kB / 2.415 GB, free: 24.2 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/3.611, allocations: 354.8 kB / 2.415 GB, free: 23.85 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/3.611, allocations: 227.6 kB / 2.415 GB, free: 23.63 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/3.637, allocations: 13.69 MB / 2.428 GB, free: 9.965 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.1143/3.752, allocations: 71.68 MB / 2.498 GB, free: 14.61 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/3.773, allocations: 8.537 MB / 2.507 GB, free: 6.066 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01123/3.784, allocations: 5.185 MB / 2.512 GB, free: 0.875 MB / 1.654 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.05117/3.835, allocations: 22.36 MB / 2.534 GB, free: 9.785 MB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0144/3.85, allocations: 5.587 MB / 2.539 GB, free: 4.176 MB / 1.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01064/3.86, allocations: 1.2 MB / 2.54 GB, free: 2.996 MB / 1.686 GB Notification: Performance of pre-optimization done (n=508): time 2.842e-05/3.86, allocations: 0 / 2.54 GB, free: 2.996 MB / 1.686 GB Notification: Performance of matching and sorting (n=508): time 0.09991/3.96, allocations: 24.14 MB / 2.564 GB, free: 10.82 MB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/3.961, allocations: 133.1 kB / 2.564 GB, free: 10.67 MB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04493/4.005, allocations: 18.68 MB / 2.582 GB, free: 8.109 MB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/4.008, allocations: 160 kB / 2.582 GB, free: 7.949 MB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.01186/4.019, allocations: 7.843 MB / 2.59 GB, free: 132 kB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.003188/4.023, allocations: 1.84 MB / 2.592 GB, free: 14.31 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006781/4.029, allocations: 1.925 MB / 2.594 GB, free: 12.39 MB / 1.748 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/4.03, allocations: 305.1 kB / 2.594 GB, free: 12.09 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01385/4.043, allocations: 6.206 MB / 2.6 GB, free: 5.871 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01671/4.06, allocations: 8.479 MB / 2.608 GB, free: 12.54 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02829/4.088, allocations: 13.18 MB / 2.621 GB, free: 14.87 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-05/4.089, allocations: 19.56 kB / 2.621 GB, free: 14.85 MB / 1.779 GB Notification: Performance of matching and sorting (n=1026) (initialization): time 0.04601/4.135, allocations: 17.11 MB / 2.638 GB, free: 13.96 MB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/4.135, allocations: 53.69 kB / 2.638 GB, free: 13.9 MB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/4.135, allocations: 48 kB / 2.638 GB, free: 13.85 MB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03226/4.167, allocations: 5.178 MB / 2.643 GB, free: 8.664 MB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/4.179, allocations: 2.007 MB / 2.645 GB, free: 6.75 MB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/4.192, allocations: 9.464 MB / 2.654 GB, free: 13.09 MB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/4.207, allocations: 0.7715 MB / 2.655 GB, free: 12.32 MB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002445/4.209, allocations: 446.8 kB / 2.656 GB, free: 11.88 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02691/4.236, allocations: 10.68 MB / 2.666 GB, free: 1.195 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01724/4.254, allocations: 8.166 MB / 2.674 GB, free: 8.172 MB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02803/4.282, allocations: 12.57 MB / 2.686 GB, free: 11.11 MB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.097e-05/4.282, allocations: 12 kB / 2.686 GB, free: 11.1 MB / 1.842 GB Notification: Performance of matching and sorting (n=1026) (initialization_lambda0): time 0.04259/4.324, allocations: 16.18 MB / 2.702 GB, free: 11.13 MB / 1.857 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/4.324, allocations: 61.25 kB / 2.702 GB, free: 11.07 MB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-05/4.324, allocations: 44 kB / 2.702 GB, free: 11.03 MB / 1.857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00903/4.334, allocations: 1.911 MB / 2.704 GB, free: 9.109 MB / 1.857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/4.344, allocations: 1.962 MB / 2.706 GB, free: 7.242 MB / 1.857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009414/4.353, allocations: 7.24 MB / 2.713 GB, free: 15.72 MB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/4.368, allocations: 0.8425 MB / 2.714 GB, free: 14.88 MB / 1.873 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002152/4.37, allocations: 419.7 kB / 2.714 GB, free: 14.47 MB / 1.873 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.003368/4.374, allocations: 0.6455 MB / 2.715 GB, free: 13.91 MB / 1.873 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005417/4.379, allocations: 1.661 MB / 2.716 GB, free: 12.24 MB / 1.873 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03305/4.412, allocations: 12.99 MB / 2.729 GB, free: 15.26 MB / 1.889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02284/4.435, allocations: 10.12 MB / 2.739 GB, free: 5.02 MB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/4.435, allocations: 0 / 2.739 GB, free: 5.02 MB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008599/4.444, allocations: 3.222 MB / 2.742 GB, free: 1.77 MB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004431/4.448, allocations: 116 kB / 2.742 GB, free: 1.656 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01069/4.459, allocations: 0.6125 MB / 2.743 GB, free: 1.043 MB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009296/4.46, allocations: 356.1 kB / 2.743 GB, free: 0.6914 MB / 1.889 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.02442/4.484, allocations: 7.5 MB / 2.751 GB, free: 9.234 MB / 1.904 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