Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001519/0.001519, 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.001502/0.001502, 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.336/1.336, 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.157/2.157, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7021, allocations: 140.4 MB / 1.089 GB, free: 5.516 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 intWSEPri1.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 intWSEPri2.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.IntegratedPrimaryLoadSide): time 1.3/2.003, allocations: 0.7653 GB / 1.854 GB, free: 111.5 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1413/2.144, allocations: 125 MB / 1.976 GB, free: 2.223 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02813/2.172, allocations: 0.7144 MB / 1.977 GB, free: 1.504 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.02512/2.197, allocations: 9.145 MB / 1.986 GB, free: 8.305 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.06292/2.26, allocations: 22.36 MB / 2.008 GB, free: 1.875 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.03865/2.299, allocations: 17.03 MB / 2.024 GB, free: 0.9688 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.05832/2.357, allocations: 44.03 MB / 2.067 GB, free: 4.832 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03006/2.387, allocations: 18.05 MB / 2.085 GB, free: 2.645 MB / 1.436 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04242/2.43, allocations: 19.02 MB / 2.103 GB, free: 15.59 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02353/2.453, allocations: 12.91 MB / 2.116 GB, free: 2.629 MB / 1.467 GB Notification: Performance of NFPackage.collectConstants: time 0.008534/2.462, allocations: 2.121 MB / 2.118 GB, free: 0.5078 MB / 1.467 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/2.487, allocations: 8.407 MB / 2.126 GB, free: 8.09 MB / 1.482 GB Notification: Performance of NFScalarize.scalarize: time 0.009067/2.496, allocations: 5.211 MB / 2.131 GB, free: 2.863 MB / 1.482 GB Notification: Performance of NFVerifyModel.verify: time 0.02229/2.518, allocations: 10.5 MB / 2.142 GB, free: 8.312 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 1.587/4.106, allocations: 35.18 MB / 2.176 GB, free: 121 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/4.106, allocations: 0 / 2.176 GB, free: 121 MB / 1.514 GB Notification: Performance of FrontEnd: time 3.327e-06/4.106, allocations: 0 / 2.176 GB, free: 121 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.0009081/4.107, allocations: 3.828 kB / 2.176 GB, free: 121 MB / 1.514 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2067 * Number of variables: 2067 Notification: Performance of Generate backend data structure: time 0.06446/4.171, allocations: 20.01 MB / 2.195 GB, free: 114.3 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/4.171, allocations: 8.906 kB / 2.195 GB, free: 114.3 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/4.199, allocations: 4.448 MB / 2.2 GB, free: 113.3 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04716/4.246, allocations: 19.82 MB / 2.219 GB, free: 110.6 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001702/4.248, allocations: 0.8367 MB / 2.22 GB, free: 110.4 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005626/4.254, allocations: 0.8949 MB / 2.221 GB, free: 110.4 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03947/4.293, allocations: 13.16 MB / 2.234 GB, free: 109.5 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/4.293, allocations: 18.19 kB / 2.234 GB, free: 109.5 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/4.295, allocations: 334.2 kB / 2.234 GB, free: 109.5 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/4.295, allocations: 323.5 kB / 2.234 GB, free: 109.5 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03187/4.327, allocations: 13.14 MB / 2.247 GB, free: 109.3 MB / 1.514 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.1091/4.436, allocations: 66.64 MB / 2.312 GB, free: 82.89 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/4.457, allocations: 8.832 MB / 2.321 GB, free: 82.71 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01099/4.468, allocations: 5.421 MB / 2.326 GB, free: 82.64 MB / 1.514 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.04527/4.513, allocations: 22.12 MB / 2.348 GB, free: 75.6 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01109/4.524, allocations: 5.538 MB / 2.353 GB, free: 74.09 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01047/4.535, allocations: 1.318 MB / 2.354 GB, free: 73.58 MB / 1.514 GB Notification: Performance of pre-optimization done (n=498): time 2.943e-05/4.535, allocations: 4 kB / 2.355 GB, free: 73.58 MB / 1.514 GB Notification: Performance of matching and sorting (n=498): time 0.05383/4.589, allocations: 18.31 MB / 2.372 GB, free: 68.45 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/4.589, allocations: 455.6 kB / 2.373 GB, free: 67.97 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03466/4.623, allocations: 16.54 MB / 2.389 GB, free: 64.35 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.002829/4.626, allocations: 171.9 kB / 2.389 GB, free: 64.31 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.009154/4.635, allocations: 7.244 MB / 2.396 GB, free: 62.25 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.003154/4.639, allocations: 1.73 MB / 2.398 GB, free: 60.99 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/4.642, allocations: 1.74 MB / 2.4 GB, free: 60.64 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 4.735e-05/4.642, allocations: 301.1 kB / 2.4 GB, free: 60.34 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/4.654, allocations: 5.68 MB / 2.405 GB, free: 58.13 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/4.668, allocations: 7.83 MB / 2.413 GB, free: 49.48 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/4.692, allocations: 12.31 MB / 2.425 GB, free: 36.71 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.692e-05/4.692, allocations: 15.38 kB / 2.425 GB, free: 36.7 MB / 1.514 GB Notification: Performance of matching and sorting (n=930) (initialization): time 0.03819/4.731, allocations: 15.56 MB / 2.44 GB, free: 21.29 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/4.731, allocations: 53.69 kB / 2.44 GB, free: 21.23 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.914e-05/4.731, allocations: 48 kB / 2.44 GB, free: 21.19 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006054/4.737, allocations: 1.732 MB / 2.442 GB, free: 19.46 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/4.748, allocations: 2.151 MB / 2.444 GB, free: 17.4 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/4.754, allocations: 6.81 MB / 2.451 GB, free: 10.45 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01457/4.768, allocations: 0.7993 MB / 2.452 GB, free: 9.648 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002144/4.77, allocations: 413.3 kB / 2.452 GB, free: 9.246 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01961/4.79, allocations: 9.818 MB / 2.462 GB, free: 15.42 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0149/4.805, allocations: 7.639 MB / 2.469 GB, free: 6.969 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02632/4.831, allocations: 11.95 MB / 2.481 GB, free: 10.55 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.56e-05/4.831, allocations: 12 kB / 2.481 GB, free: 10.54 MB / 1.545 GB Notification: Performance of matching and sorting (n=930) (initialization_lambda0): time 0.04286/4.874, allocations: 15.2 MB / 2.496 GB, free: 11.5 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/4.874, allocations: 63.91 kB / 2.496 GB, free: 11.44 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.096e-05/4.874, allocations: 44 kB / 2.496 GB, free: 11.39 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005849/4.88, allocations: 1.633 MB / 2.497 GB, free: 9.762 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01109/4.891, allocations: 2.009 MB / 2.499 GB, free: 7.84 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/4.908, allocations: 12.29 MB / 2.511 GB, free: 11.2 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/4.924, allocations: 0.8482 MB / 2.512 GB, free: 10.36 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002637/4.927, allocations: 393.8 kB / 2.512 GB, free: 9.973 MB / 1.576 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 189 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,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 (803): * Single equations (assignments): 772 * Array equations: 18 * Algorithm blocks: 1 * Record equations: 4 * 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,15), (3,17), (6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.004589/4.932, allocations: 0.6225 MB / 2.513 GB, free: 9.426 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006133/4.938, allocations: 1.45 MB / 2.514 GB, free: 7.957 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03813/4.976, allocations: 12.86 MB / 2.527 GB, free: 11.13 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02619/5.002, allocations: 10.12 MB / 2.537 GB, free: 0.918 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/5.002, allocations: 0 / 2.537 GB, free: 0.918 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01081/5.013, allocations: 2.993 MB / 2.54 GB, free: 13.88 MB / 1.608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0062/5.019, allocations: 156 kB / 2.54 GB, free: 13.73 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01235/5.032, allocations: 0.6514 MB / 2.541 GB, free: 13.08 MB / 1.608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001748/5.033, allocations: 399.9 kB / 2.541 GB, free: 12.68 MB / 1.608 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03701/5.07, allocations: 12.34 MB / 2.553 GB, free: 356 kB / 1.608 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04294/5.113, allocations: 17.7 MB / 2.57 GB, free: 14.49 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01142/5.125, allocations: 5.18 MB / 2.575 GB, free: 9.285 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.02489/5.15, allocations: 11.48 MB / 2.587 GB, free: 13.89 MB / 1.654 GB Notification: Performance of Backend: time 1.483e-06/5.15, allocations: 0 / 2.587 GB, free: 13.89 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.0587/5.209, allocations: 18.56 MB / 2.605 GB, free: 11.9 MB / 1.67 GB Notification: Performance of SimCode: time 0.08889/5.297, allocations: 35.96 MB / 2.64 GB, free: 8.344 MB / 1.701 GB Notification: Performance of Templates: time 1.072/6.37, allocations: 371 MB / 3.002 GB, free: 0.8346 GB / 1.873 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryLoadSide.pipe 2>&1)