Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001308/0.001308, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.001346/0.001346, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.151/2.151, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7338, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide): time 1.335/2.069, allocations: 0.7343 GB / 1.823 GB, free: 132.9 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1325/2.201, allocations: 117 MB / 1.937 GB, free: 22.07 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02882/2.23, allocations: 0.6872 MB / 1.938 GB, free: 21.38 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.02362/2.254, allocations: 8.156 MB / 1.946 GB, free: 13.18 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.05282/2.307, allocations: 19.81 MB / 1.965 GB, free: 9.301 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.03379/2.34, allocations: 15.03 MB / 1.98 GB, free: 10.4 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.05173/2.392, allocations: 37.91 MB / 2.017 GB, free: 4.383 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03104/2.423, allocations: 15.38 MB / 2.032 GB, free: 4.859 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03865/2.462, allocations: 16.81 MB / 2.048 GB, free: 4.016 MB / 1.404 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02018/2.482, allocations: 11.11 MB / 2.059 GB, free: 8.859 MB / 1.42 GB Notification: Performance of NFPackage.collectConstants: time 0.007082/2.489, allocations: 1.77 MB / 2.061 GB, free: 7.09 MB / 1.42 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/2.51, allocations: 7.104 MB / 2.068 GB, free: 15.98 MB / 1.436 GB Notification: Performance of NFScalarize.scalarize: time 0.007284/2.517, allocations: 4.15 MB / 2.072 GB, free: 11.81 MB / 1.436 GB Notification: Performance of NFVerifyModel.verify: time 0.01861/2.536, allocations: 8.948 MB / 2.081 GB, free: 2.824 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.04595/2.582, allocations: 29.18 MB / 2.109 GB, free: 5.559 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/2.582, allocations: 0 / 2.109 GB, free: 5.559 MB / 1.467 GB Notification: Performance of FrontEnd: time 4.008e-06/2.582, allocations: 4 kB / 2.109 GB, free: 5.555 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0008419/2.583, allocations: 3.938 kB / 2.109 GB, free: 5.551 MB / 1.467 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1786 * Number of variables: 1786 Notification: Performance of Generate backend data structure: time 0.04786/2.631, allocations: 16.87 MB / 2.126 GB, free: 4.535 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/2.631, allocations: 8.031 kB / 2.126 GB, free: 4.527 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/2.65, allocations: 3.575 MB / 2.129 GB, free: 0.9297 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03395/2.684, allocations: 15.6 MB / 2.144 GB, free: 1.242 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009485/2.685, allocations: 0.7408 MB / 2.145 GB, free: 488 kB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/2.688, allocations: 0.7655 MB / 2.146 GB, free: 15.71 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/2.721, allocations: 10.92 MB / 2.156 GB, free: 4.59 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002961/2.722, allocations: 11.92 kB / 2.157 GB, free: 4.578 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/2.724, allocations: 296 kB / 2.157 GB, free: 4.289 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002725/2.724, allocations: 269.6 kB / 2.157 GB, free: 4.023 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.06/3.785, allocations: 11.09 MB / 2.168 GB, free: 0.6039 GB / 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.09944/3.884, allocations: 58.29 MB / 2.225 GB, free: 0.5659 GB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01871/3.903, allocations: 7.249 MB / 2.232 GB, free: 0.5634 GB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01055/3.914, allocations: 4.369 MB / 2.236 GB, free: 0.5613 GB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002502/3.916, allocations: 3.257 MB / 2.239 GB, free: 0.5576 GB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01195/3.928, allocations: 4.627 MB / 2.244 GB, free: 0.555 GB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009987/3.938, allocations: 1.271 MB / 2.245 GB, free: 0.5547 GB / 1.514 GB Notification: Performance of pre-optimization done (n=428): time 3.397e-05/3.938, allocations: 1.531 kB / 2.245 GB, free: 0.5547 GB / 1.514 GB Notification: Performance of matching and sorting (n=428): time 0.06974/4.008, allocations: 18.63 MB / 2.263 GB, free: 0.5452 GB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/4.008, allocations: 444.3 kB / 2.264 GB, free: 0.5448 GB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02733/4.035, allocations: 13.72 MB / 2.277 GB, free: 0.5379 GB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001681/4.037, allocations: 141.1 kB / 2.277 GB, free: 0.5378 GB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.007351/4.044, allocations: 6.178 MB / 2.283 GB, free: 0.5327 GB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/4.047, allocations: 1.474 MB / 2.285 GB, free: 0.5314 GB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00352/4.05, allocations: 1.452 MB / 2.286 GB, free: 0.5306 GB / 1.514 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/4.05, allocations: 301.1 kB / 2.286 GB, free: 0.5303 GB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008776/4.059, allocations: 4.64 MB / 2.291 GB, free: 0.528 GB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/4.07, allocations: 6.433 MB / 2.297 GB, free: 0.5236 GB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/4.09, allocations: 9.967 MB / 2.307 GB, free: 0.5177 GB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.706e-05/4.09, allocations: 10.66 kB / 2.307 GB, free: 0.5177 GB / 1.514 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.0392/4.129, allocations: 13.46 MB / 2.32 GB, free: 0.5048 GB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/4.129, allocations: 60.19 kB / 2.32 GB, free: 0.5048 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.451e-05/4.129, allocations: 35.98 kB / 2.32 GB, free: 0.5047 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/4.14, allocations: 2.305 MB / 2.322 GB, free: 0.5025 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008985/4.149, allocations: 1.79 MB / 2.324 GB, free: 0.5008 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/4.156, allocations: 7.345 MB / 2.331 GB, free: 0.4934 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/4.168, allocations: 0.7143 MB / 2.332 GB, free: 0.4927 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/4.17, allocations: 327.7 kB / 2.332 GB, free: 0.4924 GB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01702/4.187, allocations: 7.784 MB / 2.34 GB, free: 496.4 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01167/4.199, allocations: 6.362 MB / 2.346 GB, free: 489.3 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01949/4.218, allocations: 9.825 MB / 2.356 GB, free: 479 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.538e-05/4.219, allocations: 8 kB / 2.356 GB, free: 479 MB / 1.514 GB Notification: Performance of matching and sorting (n=774) (initialization_lambda0): time 0.03121/4.25, allocations: 12.81 MB / 2.368 GB, free: 466.1 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/4.25, allocations: 45.7 kB / 2.368 GB, free: 466 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.339e-05/4.25, allocations: 39.98 kB / 2.368 GB, free: 466 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008825/4.259, allocations: 2.107 MB / 2.37 GB, free: 463.9 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008076/4.267, allocations: 1.642 MB / 2.372 GB, free: 462.2 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/4.277, allocations: 9.295 MB / 2.381 GB, free: 452.6 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/4.29, allocations: 0.7544 MB / 2.382 GB, free: 451.8 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/4.291, allocations: 327.5 kB / 2.382 GB, free: 451.5 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 145 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,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 (649): * Single equations (assignments): 620 * Array equations: 16 * 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 {(5,23), (6,10), (5,23), (6,10)} Notification: Performance of prepare postOptimizeDAE: time 0.002915/4.294, allocations: 0.554 MB / 2.383 GB, free: 450.9 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004511/4.299, allocations: 1.257 MB / 2.384 GB, free: 449.7 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/4.324, allocations: 10.89 MB / 2.395 GB, free: 438.7 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01604/4.34, allocations: 8.554 MB / 2.403 GB, free: 430.1 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/4.34, allocations: 0 / 2.403 GB, free: 430.1 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007355/4.347, allocations: 2.57 MB / 2.405 GB, free: 427.5 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003587/4.351, allocations: 112 kB / 2.406 GB, free: 427.4 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008636/4.359, allocations: 0.5981 MB / 2.406 GB, free: 426.8 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000703/4.36, allocations: 319.5 kB / 2.406 GB, free: 426.5 MB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02569/4.386, allocations: 10.62 MB / 2.417 GB, free: 415.8 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0266/4.412, allocations: 14.89 MB / 2.431 GB, free: 400.8 MB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007007/4.42, allocations: 4.321 MB / 2.436 GB, free: 396.5 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01598/4.436, allocations: 9.419 MB / 2.445 GB, free: 387.1 MB / 1.514 GB Notification: Performance of Backend: time 7.91e-07/4.436, allocations: 0 / 2.445 GB, free: 387.1 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.03911/4.475, allocations: 15.76 MB / 2.46 GB, free: 371.7 MB / 1.514 GB Notification: Performance of SimCode: time 0.05558/4.53, allocations: 29.69 MB / 2.489 GB, free: 342.3 MB / 1.514 GB Notification: Performance of Templates: time 0.3753/4.906, allocations: 311.3 MB / 2.793 GB, free: 32.94 MB / 1.514 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1)