Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001084/0.001084, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001036/0.001036, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7348, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter intWSEPriSec1.pum.pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter intWSEPriSec2.pum.pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 1.401/2.136, allocations: 0.8275 GB / 1.916 GB, free: 36.84 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.18/2.316, allocations: 135.8 MB / 2.049 GB, free: 12.77 MB / 1.42 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03261/2.348, allocations: 0.7766 MB / 2.049 GB, free: 11.99 MB / 1.42 GB Notification: Performance of NFTyping.typeComponents: time 0.02819/2.377, allocations: 9.65 MB / 2.059 GB, free: 2.285 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.06549/2.442, allocations: 24.69 MB / 2.083 GB, free: 9.52 MB / 1.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.03932/2.481, allocations: 17.5 MB / 2.1 GB, free: 8.152 MB / 1.467 GB Notification: Performance of NFFlatten.flatten: time 0.06191/2.543, allocations: 47.08 MB / 2.146 GB, free: 8.957 MB / 1.514 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03358/2.577, allocations: 18.77 MB / 2.164 GB, free: 6.047 MB / 1.529 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556/4.133, allocations: 20.24 MB / 2.184 GB, free: 71.49 MB / 1.529 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02847/4.161, allocations: 13.64 MB / 2.197 GB, free: 71.25 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.01202/4.173, allocations: 2.221 MB / 2.2 GB, free: 71.25 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02923/4.203, allocations: 9.116 MB / 2.209 GB, free: 71.25 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.01045/4.213, allocations: 5.407 MB / 2.214 GB, free: 70.55 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.02326/4.236, allocations: 11.04 MB / 2.225 GB, free: 67.77 MB / 1.529 GB Notification: Performance of NFConvertDAE.convert: time 0.05305/4.29, allocations: 37.17 MB / 2.261 GB, free: 64.76 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/4.29, allocations: 0 / 2.261 GB, free: 64.76 MB / 1.529 GB Notification: Performance of FrontEnd: time 1.593e-06/4.29, allocations: 3.25 kB / 2.261 GB, free: 64.76 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.00102/4.291, allocations: 0 / 2.261 GB, free: 64.76 MB / 1.529 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.06417/4.355, allocations: 21.04 MB / 2.281 GB, free: 56.76 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/4.355, allocations: 7.875 kB / 2.281 GB, free: 56.76 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01989/4.375, allocations: 4.269 MB / 2.286 GB, free: 55.74 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03985/4.415, allocations: 20.34 MB / 2.306 GB, free: 52.89 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/4.416, allocations: 0.8658 MB / 2.306 GB, free: 52.74 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004655/4.42, allocations: 0.9557 MB / 2.307 GB, free: 52.73 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/4.455, allocations: 14.08 MB / 2.321 GB, free: 51.82 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/4.456, allocations: 7.656 kB / 2.321 GB, free: 51.82 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/4.457, allocations: 370.7 kB / 2.321 GB, free: 51.82 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/4.458, allocations: 333.8 kB / 2.322 GB, free: 51.8 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/4.489, allocations: 14.18 MB / 2.336 GB, free: 51.64 MB / 1.529 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.1081/4.597, allocations: 72.22 MB / 2.406 GB, free: 15 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/4.616, allocations: 8.822 MB / 2.415 GB, free: 13.11 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0105/4.627, allocations: 5.487 MB / 2.42 GB, free: 12.15 MB / 1.529 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.04459/4.671, allocations: 22.95 MB / 2.442 GB, free: 2.25 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01066/4.682, allocations: 5.947 MB / 2.448 GB, free: 0.5898 MB / 1.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008782/4.691, allocations: 1.196 MB / 2.449 GB, free: 96 kB / 1.529 GB Notification: Performance of pre-optimization done (n=550): time 2.568e-05/4.691, allocations: 0 / 2.449 GB, free: 96 kB / 1.529 GB Notification: Performance of matching and sorting (n=550): time 0.0674/4.758, allocations: 20.48 MB / 2.469 GB, free: 14.29 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/4.758, allocations: 445.8 kB / 2.47 GB, free: 13.76 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0341/4.792, allocations: 17.33 MB / 2.487 GB, free: 12.52 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.002563/4.795, allocations: 171.9 kB / 2.487 GB, free: 12.35 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.009414/4.804, allocations: 7.591 MB / 2.494 GB, free: 4.75 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.003817/4.808, allocations: 1.905 MB / 2.496 GB, free: 2.859 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004125/4.812, allocations: 1.805 MB / 2.498 GB, free: 1.055 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/4.813, allocations: 305.1 kB / 2.498 GB, free: 0.7539 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/4.825, allocations: 6.029 MB / 2.504 GB, free: 10.72 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01665/4.842, allocations: 8.315 MB / 2.512 GB, free: 1.543 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02842/4.87, allocations: 12.99 MB / 2.525 GB, free: 4.043 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.819e-05/4.87, allocations: 12 kB / 2.525 GB, free: 4.031 MB / 1.608 GB Notification: Performance of matching and sorting (n=978) (initialization): time 0.04039/4.911, allocations: 16.37 MB / 2.541 GB, free: 3.859 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/4.911, allocations: 53.7 kB / 2.541 GB, free: 3.801 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/4.911, allocations: 56.11 kB / 2.541 GB, free: 3.746 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009389/4.92, allocations: 1.999 MB / 2.543 GB, free: 1.75 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/4.934, allocations: 2.275 MB / 2.545 GB, free: 15.57 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/4.944, allocations: 9.672 MB / 2.555 GB, free: 5.652 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/4.96, allocations: 0.8045 MB / 2.555 GB, free: 4.852 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002413/4.963, allocations: 430 kB / 2.556 GB, free: 4.434 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0269/4.989, allocations: 10.28 MB / 2.566 GB, free: 10.15 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01525/5.005, allocations: 8.117 MB / 2.574 GB, free: 1.176 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02598/5.031, allocations: 12.6 MB / 2.586 GB, free: 4.07 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-05/5.031, allocations: 19.92 kB / 2.586 GB, free: 4.051 MB / 1.67 GB Notification: Performance of matching and sorting (n=978) (initialization_lambda0): time 0.04006/5.071, allocations: 15.91 MB / 2.602 GB, free: 4.328 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/5.071, allocations: 49.7 kB / 2.602 GB, free: 4.273 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/5.071, allocations: 62.83 kB / 2.602 GB, free: 4.215 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008785/5.08, allocations: 1.918 MB / 2.604 GB, free: 2.289 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/5.091, allocations: 2.12 MB / 2.606 GB, free: 268 kB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008981/5.1, allocations: 7.25 MB / 2.613 GB, free: 8.738 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/5.118, allocations: 0.8643 MB / 2.614 GB, free: 7.875 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/5.121, allocations: 414.9 kB / 2.614 GB, free: 7.473 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,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 (865): * Single equations (assignments): 830 * Array equations: 18 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 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): 4 systems {(5,23), (3,4), (5,23), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002961/5.124, allocations: 0.6617 MB / 2.615 GB, free: 6.898 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006282/5.13, allocations: 1.528 MB / 2.616 GB, free: 5.352 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03534/5.166, allocations: 13.21 MB / 2.629 GB, free: 8.172 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02288/5.189, allocations: 10.34 MB / 2.639 GB, free: 13.72 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/5.189, allocations: 0 / 2.639 GB, free: 13.72 MB / 1.733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01049/5.199, allocations: 3.164 MB / 2.642 GB, free: 10.52 MB / 1.733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00478/5.204, allocations: 152 kB / 2.642 GB, free: 10.37 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01061/5.214, allocations: 0.6606 MB / 2.643 GB, free: 9.711 MB / 1.733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009537/5.215, allocations: 396.4 kB / 2.643 GB, free: 9.32 MB / 1.733 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03242/5.248, allocations: 12.83 MB / 2.656 GB, free: 12.49 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03838/5.286, allocations: 18.72 MB / 2.674 GB, free: 9.648 MB / 1.764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01038/5.297, allocations: 5.418 MB / 2.68 GB, free: 4.203 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.02354/5.32, allocations: 12.04 MB / 2.691 GB, free: 8.238 MB / 1.779 GB Notification: Performance of Backend: time 9.62e-07/5.32, allocations: 0 / 2.691 GB, free: 8.238 MB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.05368/5.374, allocations: 19.56 MB / 2.71 GB, free: 5.273 MB / 1.795 GB Notification: Performance of SimCode: time 0.08444/5.458, allocations: 37.33 MB / 2.747 GB, free: 432 kB / 1.826 GB Notification: Performance of Templates: time 1.276/6.734, allocations: 396.8 MB / 3.134 GB, free: 271.7 MB / 1.904 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe 2>&1)