Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002598/0.002598, allocations: 182 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.661/2.661, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 90.89 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006863/0.0006865, allocations: 13.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2187, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003924/0.2227, allocations: 2.516 MB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.2259, allocations: 1.319 MB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.2264, allocations: 11.94 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.2268, allocations: 63.55 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.2273, allocations: 151.5 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2286, allocations: 302.1 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.2294, allocations: 332 kB / 0.9035 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.2297, allocations: 144.4 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.23, allocations: 159.1 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2303, allocations: 143.1 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.2303, allocations: 12 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.2305, allocations: 47.97 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2307, allocations: 67.67 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.2308, allocations: 93.45 kB / 0.9041 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.2313, allocations: 463.2 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.2313, allocations: 0 / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2313, allocations: 0 / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2314, allocations: 0 / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001522/0.2329, allocations: 0.7413 MB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2329, allocations: 8.031 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2331, allocations: 51.34 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.2339, allocations: 425.4 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.234, allocations: 24.5 kB / 0.9057 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.2341, allocations: 28 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.2349, allocations: 327.9 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.235, allocations: 0 / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.235, allocations: 15.95 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2351, allocations: 4 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.2358, allocations: 222.1 kB / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2377, allocations: 1.101 MB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.2387, allocations: 248.7 kB / 0.9076 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.2388, allocations: 192 / 0.9076 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.2393, allocations: 159.5 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 3.516e-06/0.2393, allocations: 0 / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001326/0.2407, allocations: 370.6 kB / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2407, allocations: 102.8 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.2414, allocations: 465.8 kB / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.2415, allocations: 29.7 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.2417, allocations: 240.4 kB / 0.9089 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.2418, allocations: 71 kB / 0.909 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.2418, allocations: 8 kB / 0.909 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.2419, allocations: 350.8 kB / 0.9093 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.2423, allocations: 87.95 kB / 0.9094 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.2427, allocations: 167.6 kB / 0.9096 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.2431, allocations: 97.06 kB / 0.9097 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2431, allocations: 0 / 0.9097 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009797/0.2441, allocations: 309.6 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2441, allocations: 4 kB / 0.91 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2441, allocations: 4.047 kB / 0.91 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.2442, allocations: 7.984 kB / 0.91 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2447, allocations: 63.86 kB / 0.9101 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2447, allocations: 0 / 0.9101 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.245, allocations: 35.86 kB / 0.9101 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.2451, allocations: 8 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0002939/0.2454, allocations: 181.7 kB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.2455, allocations: 39.53 kB / 0.9103 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.2456, allocations: 51.91 kB / 0.9104 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2456, allocations: 0 / 0.9104 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.2457, allocations: 3.953 kB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2457, allocations: 0 / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.2462, allocations: 421.1 kB / 0.9108 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2462, allocations: 7.984 kB / 0.9108 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.2467, allocations: 35.92 kB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.2467, allocations: 7.938 kB / 0.9108 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.2467, allocations: 7.984 kB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.2468, allocations: 0 / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2468, allocations: 7.938 kB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.2482, allocations: 432.2 kB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.2485, allocations: 144.5 kB / 0.9114 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.2486, allocations: 8 kB / 0.9114 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.2489, allocations: 20.05 kB / 0.9114 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2491, allocations: 19.97 kB / 0.9114 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.2491, allocations: 11.98 kB / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005174/0.2496, allocations: 323.1 kB / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2497, allocations: 0 / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005092/0.2502, allocations: 79.8 kB / 0.9118 GB, free: 51.79 MB / 0.6042 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.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001229/0.2514, allocations: 424.9 kB / 0.9122 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009602/0.2524, allocations: 227.6 kB / 0.9124 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2524, allocations: 0 / 0.9124 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.2529, allocations: 128.9 kB / 0.9126 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.2537, allocations: 102.1 kB / 0.9127 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2553, allocations: 0.7996 MB / 0.9134 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.2556, allocations: 0.8346 MB / 0.9143 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003148/0.2559, allocations: 51.27 kB / 0.9143 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2561, allocations: 27.44 kB / 0.9143 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/0.2561, allocations: 0 / 0.9143 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.01343/0.2695, allocations: 4.535 MB / 0.9188 GB, free: 44.86 MB / 0.6042 GB