Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadModel(Buildings): time 4.044/4.044, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.743e-05, allocations: 0 / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.484, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.6849, allocations: 131.7 MB / 0.7576 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.6853, allocations: 91.92 kB / 0.7576 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03083/0.7161, allocations: 7.721 MB / 0.7652 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.191e-06/0.7162, allocations: 4 kB / 0.7652 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.7162, allocations: 8 kB / 0.7652 GB, free: 3.996 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001097/0.7173, allocations: 0.6143 MB / 0.7658 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7174, allocations: 16.02 kB / 0.7658 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.7175, allocations: 47.39 kB / 0.7659 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.7182, allocations: 356.3 kB / 0.7662 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.7183, allocations: 8 kB / 0.7662 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.7183, allocations: 23.92 kB / 0.7662 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004726/0.7188, allocations: 165.1 kB / 0.7664 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.7195, allocations: 274 kB / 0.7666 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7195, allocations: 3.938 kB / 0.7666 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.7195, allocations: 3.953 kB / 0.7666 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.7196, allocations: 8 kB / 0.7667 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.7214, allocations: 1.025 MB / 0.7677 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.722, allocations: 207 kB / 0.7679 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.7222, allocations: 88.89 kB / 0.7679 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.7222, allocations: 11.88 kB / 0.7679 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.7226, allocations: 141 kB / 0.7681 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 3.257e-06/0.7226, allocations: 0 / 0.7681 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.000624/0.7232, allocations: 246.2 kB / 0.7683 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.7233, allocations: 106.8 kB / 0.7684 GB, free: 476 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.7237, allocations: 265.6 kB / 0.7687 GB, free: 208 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.7238, allocations: 29.7 kB / 0.7687 GB, free: 172 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.724, allocations: 208.4 kB / 0.7689 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.7241, allocations: 59.16 kB / 0.769 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.7242, allocations: 0 / 0.769 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.7244, allocations: 342.8 kB / 0.7693 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.7246, allocations: 72.22 kB / 0.7694 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.7248, allocations: 130.3 kB / 0.7695 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.7251, allocations: 77.06 kB / 0.7696 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.7251, allocations: 0 / 0.7696 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000651/0.7258, allocations: 263 kB / 0.7698 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.726, allocations: 393.6 kB / 0.7702 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7261, allocations: 0 / 0.7702 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.7261, allocations: 4 kB / 0.7702 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.7264, allocations: 51.91 kB / 0.7702 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7264, allocations: 4 kB / 0.7702 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.7267, allocations: 31.83 kB / 0.7703 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.7268, allocations: 4 kB / 0.7703 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7268, allocations: 10.14 kB / 0.7703 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005646/0.7273, allocations: 210.6 kB / 0.7705 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-06/0.7274, allocations: 8.031 kB / 0.7705 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.258e-06/0.7274, allocations: 4 kB / 0.7705 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.7276, allocations: 35.92 kB / 0.7705 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.68e-06/0.7276, allocations: 0 / 0.7705 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.7279, allocations: 19.92 kB / 0.7705 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.7279, allocations: 12 kB / 0.7706 GB, free: 14.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.7281, allocations: 114.8 kB / 0.7707 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.7282, allocations: 39.48 kB / 0.7707 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.811e-05/0.7283, allocations: 31.06 kB / 0.7707 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7283, allocations: 4 kB / 0.7707 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.7283, allocations: 3.984 kB / 0.7707 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.326e-06/0.7283, allocations: 0 / 0.7707 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.7288, allocations: 338 kB / 0.7711 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-06/0.7289, allocations: 0 / 0.7711 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.7291, allocations: 43.91 kB / 0.7711 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.523e-06/0.7292, allocations: 4 kB / 0.7711 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.7292, allocations: 4 kB / 0.7711 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.837e-06/0.7292, allocations: 7.891 kB / 0.7711 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.794e-06/0.7292, allocations: 0 / 0.7711 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.7301, allocations: 383.2 kB / 0.7715 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.7303, allocations: 140.6 kB / 0.7716 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.7304, allocations: 0 / 0.7716 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.7306, allocations: 24.05 kB / 0.7716 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.7307, allocations: 19.92 kB / 0.7717 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.7308, allocations: 11.98 kB / 0.7717 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002915/0.7311, allocations: 204.6 kB / 0.7719 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.12e-07/0.7311, allocations: 0 / 0.7719 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006328/0.7317, allocations: 119.6 kB / 0.772 GB, free: 12.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.nextTime,cooMod.index) * Number of discrete states: 2 (cooMod.nextTime,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.732, allocations: 143.2 kB / 0.7721 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.7328, allocations: 408.6 kB / 0.7725 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.281e-06/0.7328, allocations: 0 / 0.7725 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.7331, allocations: 95.92 kB / 0.7726 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.7336, allocations: 73.53 kB / 0.7727 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.7347, allocations: 414.8 kB / 0.7731 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.7353, allocations: 0.8034 MB / 0.7738 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003447/0.7356, allocations: 55.31 kB / 0.7739 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.7357, allocations: 23.44 kB / 0.7739 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.675e-06/0.7357, allocations: 0 / 0.7739 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.0118/0.7475, allocations: 3.934 MB / 0.7778 GB, free: 6.695 MB / 0.6511 GB