Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.224/2.224, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001303, allocations: 179.8 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.478/2.478, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 103.3 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006458, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2108, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary): time 1.4/1.611, allocations: 476.6 MB / 1.365 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9877/2.598, allocations: 86.77 MB / 1.45 GB, free: 87.89 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02414/2.623, allocations: 431.8 kB / 1.45 GB, free: 87.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0375/2.66, allocations: 4.791 MB / 1.455 GB, free: 87.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.07708/2.737, allocations: 13 MB / 1.467 GB, free: 87.32 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.04388/2.781, allocations: 10.02 MB / 1.477 GB, free: 86.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.06526/2.846, allocations: 39.4 MB / 1.516 GB, free: 83.05 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03297/2.879, allocations: 12.17 MB / 1.528 GB, free: 78.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03526/2.915, allocations: 11.23 MB / 1.539 GB, free: 74.29 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03174/2.947, allocations: 9.764 MB / 1.548 GB, free: 69.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.007076/2.954, allocations: 0.6211 MB / 1.549 GB, free: 69.31 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0254/2.979, allocations: 4.474 MB / 1.553 GB, free: 65.71 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.008029/2.987, allocations: 3.142 MB / 1.556 GB, free: 63.46 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.009476/2.997, allocations: 3.272 MB / 1.559 GB, free: 61.66 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.04139/3.038, allocations: 25.41 MB / 1.584 GB, free: 40.01 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/3.038, allocations: 1.75 kB / 1.584 GB, free: 40.01 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.015e-06/3.038, allocations: 0 / 1.584 GB, free: 40.01 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0009172/3.039, allocations: 4 kB / 1.584 GB, free: 40 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.06217/3.101, allocations: 14.27 MB / 1.598 GB, free: 27.03 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/3.102, allocations: 8.031 kB / 1.598 GB, free: 27.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02619/3.128, allocations: 3.6 MB / 1.602 GB, free: 23.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05262/3.18, allocations: 15.96 MB / 1.617 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003633/3.184, allocations: 1.018 MB / 1.618 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005301/3.189, allocations: 0.8195 MB / 1.619 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/3.237, allocations: 12.77 MB / 1.631 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/3.238, allocations: 11.94 kB / 1.631 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003602/3.241, allocations: 311.5 kB / 1.632 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/3.242, allocations: 201.9 kB / 1.632 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05434/3.296, allocations: 13.8 MB / 1.645 GB, free: 10.52 MB / 0.9323 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.164/3.46, allocations: 55.69 MB / 1.7 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03719/3.497, allocations: 8.814 MB / 1.708 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02145/3.519, allocations: 5.48 MB / 1.714 GB, free: 6.324 MB / 0.9948 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.07602/3.595, allocations: 21.94 MB / 1.735 GB, free: 15.72 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02317/3.618, allocations: 5.689 MB / 1.741 GB, free: 9.957 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01752/3.636, allocations: 2.374 MB / 1.743 GB, free: 7.598 MB / 1.026 GB Notification: Performance of pre-optimization done (n=544): time 3.241e-05/3.636, allocations: 0 / 1.743 GB, free: 7.598 MB / 1.026 GB Notification: Performance of matching and sorting (n=544): time 0.07314/3.709, allocations: 16.07 MB / 1.759 GB, free: 7.332 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005957/3.71, allocations: 0.9451 MB / 1.76 GB, free: 6.168 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04508/3.755, allocations: 13.5 MB / 1.773 GB, free: 8.719 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002617/3.757, allocations: 175.8 kB / 1.773 GB, free: 8.547 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01276/3.77, allocations: 5.915 MB / 1.779 GB, free: 2.652 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.004498/3.775, allocations: 1.877 MB / 1.781 GB, free: 0.7891 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/3.777, allocations: 142.7 kB / 1.781 GB, free: 0.6562 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0009208/3.778, allocations: 0.5962 MB / 1.781 GB, free: 56 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02309/3.801, allocations: 5.674 MB / 1.787 GB, free: 10.38 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03049/3.831, allocations: 7.639 MB / 1.794 GB, free: 2.031 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.252/5.083, allocations: 6.181 MB / 1.8 GB, free: 471.7 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.784e-05/5.083, allocations: 14.66 kB / 1.8 GB, free: 471.7 MB / 1.073 GB Notification: Performance of matching and sorting (n=946) (initialization): time 0.06319/5.146, allocations: 14.7 MB / 1.815 GB, free: 471.2 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000929/5.147, allocations: 1.189 MB / 1.816 GB, free: 469.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/5.148, allocations: 51.62 kB / 1.816 GB, free: 469.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/5.15, allocations: 428.1 kB / 1.816 GB, free: 469.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0215/5.172, allocations: 2.118 MB / 1.818 GB, free: 469.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00404/5.176, allocations: 5.07 MB / 1.823 GB, free: 465.2 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02036/5.196, allocations: 1.099 MB / 1.824 GB, free: 465.2 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002687/5.199, allocations: 388.8 kB / 1.825 GB, free: 465.2 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/5.199, allocations: 3.969 kB / 1.825 GB, free: 465.2 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05751/5.257, allocations: 13.42 MB / 1.838 GB, free: 460.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/5.257, allocations: 52.33 kB / 1.838 GB, free: 460.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/5.258, allocations: 310.7 kB / 1.838 GB, free: 460.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01944/5.278, allocations: 2.04 MB / 1.84 GB, free: 460.1 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/5.286, allocations: 7.134 MB / 1.847 GB, free: 453.8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02019/5.306, allocations: 1.092 MB / 1.848 GB, free: 453.6 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002715/5.309, allocations: 389 kB / 1.849 GB, free: 453.6 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition3,tri.y,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition2,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,$PRE.intWSEPriSec1.pum.hys[1].y,intWSEPriSec1.pum.hys[1].y,intWSEPriSec2.on[1],intWSEPriSec2.on[2],$PRE.intWSEPriSec2.pum.hys[1].y,intWSEPriSec2.pum.hys[1].y,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 (873): * Single equations (assignments): 826 * Array equations: 26 * Algorithm blocks: 1 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,3 4,1 3,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.01434/5.323, allocations: 4.423 MB / 1.853 GB, free: 451.4 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004992/5.329, allocations: 1.221 MB / 1.854 GB, free: 451.1 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05264/5.381, allocations: 12.56 MB / 1.867 GB, free: 446.2 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03922/5.42, allocations: 9.961 MB / 1.876 GB, free: 440.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/5.421, allocations: 0 / 1.876 GB, free: 440.6 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01071/5.431, allocations: 2.841 MB / 1.879 GB, free: 437.8 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0053/5.437, allocations: 156 kB / 1.879 GB, free: 437.6 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01808/5.455, allocations: 0.9545 MB / 1.88 GB, free: 436.7 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002053/5.457, allocations: 403.2 kB / 1.88 GB, free: 436.3 MB / 1.073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05422/5.511, allocations: 11.99 MB / 1.892 GB, free: 424.5 MB / 1.073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06049/5.572, allocations: 18.52 MB / 1.91 GB, free: 406 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01697/5.589, allocations: 5.481 MB / 1.916 GB, free: 400.5 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.02318/5.612, allocations: 9.325 MB / 1.925 GB, free: 391.2 MB / 1.073 GB Notification: Performance of Backend: time 1.002e-06/5.612, allocations: 0 / 1.925 GB, free: 391.2 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06504/5.677, allocations: 18.66 MB / 1.943 GB, free: 372.9 MB / 1.073 GB Notification: Performance of SimCode: time 0.096/5.773, allocations: 33.84 MB / 1.976 GB, free: 339.1 MB / 1.073 GB Notification: Performance of Templates: time 0.7653/6.538, allocations: 314.6 MB / 2.283 GB, free: 25.02 MB / 1.073 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimarySecondary.pipe 2>&1)