Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 210.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.97 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 1.682/2.032, allocations: 0.7633 GB / 2.09 GB, free: 5.121 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 0.217/2.249, allocations: 126 MB / 2.213 GB, free: 6.824 MB / 1.686 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03045/2.279, allocations: 1.1 MB / 2.215 GB, free: 5.715 MB / 1.686 GB Notification: Performance of NFTyping.typeComponents: time 0.03026/2.31, allocations: 9.97 MB / 2.224 GB, free: 11.7 MB / 1.701 GB Notification: Performance of NFTyping.typeBindings: time 0.07416/2.384, allocations: 25.31 MB / 2.249 GB, free: 2.301 MB / 1.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.03995/2.424, allocations: 15.83 MB / 2.264 GB, free: 2.574 MB / 1.732 GB Notification: Performance of NFFlatten.flatten: time 1.055/3.479, allocations: 55.89 MB / 2.319 GB, free: 135.8 MB / 1.732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0311/3.51, allocations: 13.93 MB / 2.333 GB, free: 135.1 MB / 1.732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05103/3.561, allocations: 21.2 MB / 2.353 GB, free: 135 MB / 1.732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02841/3.59, allocations: 14.04 MB / 2.367 GB, free: 132.7 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.009012/3.599, allocations: 2.151 MB / 2.369 GB, free: 132.7 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02616/3.625, allocations: 7.95 MB / 2.377 GB, free: 132.7 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.01239/3.637, allocations: 5.819 MB / 2.383 GB, free: 131.8 MB / 1.732 GB Notification: Performance of NFVerifyModel.verify: time 0.02461/3.662, allocations: 8.746 MB / 2.391 GB, free: 129.7 MB / 1.732 GB Notification: Performance of NFConvertDAE.convert: time 0.06356/3.725, allocations: 38.11 MB / 2.428 GB, free: 125.6 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/3.725, allocations: 0 / 2.428 GB, free: 125.6 MB / 1.732 GB Notification: Performance of FrontEnd: time 1.924e-06/3.725, allocations: 2.75 kB / 2.428 GB, free: 125.6 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.001181/3.727, allocations: 0 / 2.428 GB, free: 125.6 MB / 1.732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2180 * Number of variables: 2180 Notification: Performance of Generate backend data structure: time 0.08856/3.815, allocations: 22.61 MB / 2.45 GB, free: 116.8 MB / 1.732 GB Notification: Performance of prepare preOptimizeDAE: time 7.461e-05/3.815, allocations: 14.97 kB / 2.45 GB, free: 116.8 MB / 1.732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02589/3.841, allocations: 4.529 MB / 2.455 GB, free: 115.5 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06225/3.903, allocations: 23.09 MB / 2.477 GB, free: 112.1 MB / 1.732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001796/3.905, allocations: 0.9603 MB / 2.478 GB, free: 111.8 MB / 1.732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005971/3.911, allocations: 0.9114 MB / 2.479 GB, free: 111.8 MB / 1.732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05779/3.969, allocations: 14.88 MB / 2.494 GB, free: 107.2 MB / 1.732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006055/3.97, allocations: 6.969 kB / 2.494 GB, free: 107.2 MB / 1.732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004991/3.975, allocations: 360.9 kB / 2.494 GB, free: 107.2 MB / 1.732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003332/3.975, allocations: 219.9 kB / 2.494 GB, free: 107.2 MB / 1.732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05401/4.029, allocations: 14.42 MB / 2.508 GB, free: 104.8 MB / 1.732 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.1281/4.157, allocations: 49.33 MB / 2.557 GB, free: 71.72 MB / 1.732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02155/4.178, allocations: 8.579 MB / 2.565 GB, free: 63.16 MB / 1.732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01156/4.19, allocations: 5.211 MB / 2.57 GB, free: 57.93 MB / 1.732 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.05061/4.241, allocations: 16.71 MB / 2.586 GB, free: 41.37 MB / 1.732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01463/4.255, allocations: 6.756 MB / 2.593 GB, free: 34.35 MB / 1.732 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01107/4.266, allocations: 1.3 MB / 2.594 GB, free: 33.07 MB / 1.732 GB Notification: Performance of pre-optimization done (n=516): time 2.913e-05/4.266, allocations: 0 / 2.594 GB, free: 33.07 MB / 1.732 GB Notification: Performance of matching and sorting (n=516): time 0.09996/4.366, allocations: 26.69 MB / 2.62 GB, free: 6.262 MB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/4.366, allocations: 133.1 kB / 2.62 GB, free: 6.109 MB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04711/4.414, allocations: 17.49 MB / 2.638 GB, free: 4.695 MB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.002435/4.416, allocations: 161.6 kB / 2.638 GB, free: 4.535 MB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.01456/4.431, allocations: 8.008 MB / 2.646 GB, free: 12.59 MB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.00402/4.435, allocations: 1.865 MB / 2.647 GB, free: 10.75 MB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008549/4.443, allocations: 1.928 MB / 2.649 GB, free: 8.812 MB / 1.764 GB Notification: Performance of setup shared object (initialization): time 0.0001318/4.443, allocations: 313 kB / 2.65 GB, free: 8.504 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01555/4.459, allocations: 6.545 MB / 2.656 GB, free: 1.945 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0199/4.479, allocations: 10.87 MB / 2.667 GB, free: 5.727 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03162/4.51, allocations: 13.7 MB / 2.68 GB, free: 7.527 MB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/4.51, allocations: 12 kB / 2.68 GB, free: 7.516 MB / 1.795 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.0503/4.561, allocations: 17.55 MB / 2.697 GB, free: 6.18 MB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/4.561, allocations: 53.69 kB / 2.697 GB, free: 6.121 MB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.32e-05/4.561, allocations: 52.03 kB / 2.697 GB, free: 6.07 MB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02879/4.59, allocations: 5.11 MB / 2.702 GB, free: 0.957 MB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/4.601, allocations: 2.092 MB / 2.704 GB, free: 14.96 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/4.614, allocations: 9.515 MB / 2.713 GB, free: 5.238 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/4.629, allocations: 0.8453 MB / 2.714 GB, free: 4.395 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002717/4.632, allocations: 455.5 kB / 2.715 GB, free: 3.953 MB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0283/4.66, allocations: 11.05 MB / 2.726 GB, free: 8.895 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02245/4.683, allocations: 10.55 MB / 2.736 GB, free: 13 MB / 1.857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03436/4.717, allocations: 13.08 MB / 2.749 GB, free: 15.42 MB / 1.873 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.492e-05/4.717, allocations: 12 kB / 2.749 GB, free: 15.41 MB / 1.873 GB Notification: Performance of matching and sorting (n=1038) (initialization_lambda0): time 0.05136/4.769, allocations: 16.67 MB / 2.765 GB, free: 14.95 MB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/4.769, allocations: 61.72 kB / 2.765 GB, free: 14.88 MB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/4.769, allocations: 47.98 kB / 2.765 GB, free: 14.84 MB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009219/4.778, allocations: 1.924 MB / 2.767 GB, free: 12.9 MB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/4.79, allocations: 2.049 MB / 2.769 GB, free: 10.95 MB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/4.801, allocations: 6.98 MB / 2.776 GB, free: 3.773 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01597/4.817, allocations: 0.9067 MB / 2.777 GB, free: 2.867 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00291/4.82, allocations: 438.3 kB / 2.777 GB, free: 2.445 MB / 1.889 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.y,tri.pulseStart,$PRE.tri.pulseStart,$whenCondition3,intWSEPriSec2.chiPar.chi[1].tru.y,intWSEPriSec1.chiPar.chi[1].tru.y,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPriSec1.pum.hys[1].y,$PRE.intWSEPriSec1.pum.hys[1].y,intWSEPriSec2.on[1],intWSEPriSec2.on[2],intWSEPriSec2.pum.hys[1].y,$PRE.intWSEPriSec2.pum.hys[1].y,$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 (827): * Single equations (assignments): 800 * 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,48), (7,48)} Notification: Performance of prepare postOptimizeDAE: time 0.00483/4.824, allocations: 0.6397 MB / 2.778 GB, free: 1.887 MB / 1.889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006994/4.831, allocations: 1.544 MB / 2.779 GB, free: 340 kB / 1.889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04438/4.876, allocations: 13.58 MB / 2.792 GB, free: 2.766 MB / 1.904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03175/4.908, allocations: 10.76 MB / 2.803 GB, free: 7.879 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/4.908, allocations: 0 / 2.803 GB, free: 7.879 MB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01277/4.92, allocations: 3.086 MB / 2.806 GB, free: 4.777 MB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006016/4.926, allocations: 124 kB / 2.806 GB, free: 4.656 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01293/4.939, allocations: 0.6958 MB / 2.807 GB, free: 3.965 MB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002012/4.941, allocations: 378.7 kB / 2.807 GB, free: 3.594 MB / 1.92 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.03031/4.972, allocations: 8.114 MB / 2.815 GB, free: 11.53 MB / 1.936 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 " [Timeout remaining time 295] [Calling sys.exit(0), Time elapsed: 11.482937676948495] Failed to read output from testmodel.py, exit status != 0: 4.982002899982035 4.999968627 1.269200334 Calling exit ...