Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.574/2.574, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001552/0.001552, allocations: 181.8 kB / 325.6 MB, free: 2.828 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.499/2.499, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.00113/0.00113, allocations: 100.5 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006382/0.0006385, allocations: 15.31 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.00277/0.2179, allocations: 1.751 MB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.2215, allocations: 2.102 MB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2217, allocations: 4 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.2237, allocations: 0.5218 MB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.2241, allocations: 95.72 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008209/0.2249, allocations: 179.8 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.2255, allocations: 293.9 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2257, allocations: 64.72 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2259, allocations: 119.4 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.2261, allocations: 123.4 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.2261, allocations: 7.938 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.2264, allocations: 47.95 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2265, allocations: 111.6 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.782e-05/0.2266, allocations: 125.4 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.2273, allocations: 0.5339 MB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2273, allocations: 4 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.356e-06/0.2273, allocations: 0 / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2273, allocations: 3.938 kB / 0.9048 GB, free: 59.83 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001249/0.2286, allocations: 0.7982 MB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2286, allocations: 12.03 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.2287, allocations: 63.16 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.2294, allocations: 395.6 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.2294, allocations: 8 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2294, allocations: 8 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2297, allocations: 96.17 kB / 0.9061 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2297, allocations: 0 / 0.9061 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.2298, allocations: 7.938 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.2298, allocations: 4 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.23, allocations: 35.98 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.2309, allocations: 0.5122 MB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.2315, allocations: 106.6 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2315, allocations: 3.984 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.2318, allocations: 91.53 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.2318, allocations: 7.938 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005693/0.2324, allocations: 188.8 kB / 0.9071 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.2324, allocations: 106.8 kB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2339, allocations: 0.8794 MB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2339, allocations: 29.7 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.2342, allocations: 300 kB / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2343, allocations: 19.75 kB / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.2343, allocations: 0 / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.2344, allocations: 314 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2345, allocations: 31.92 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2347, allocations: 72.27 kB / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2348, allocations: 31.97 kB / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2348, allocations: 0 / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003906/0.2352, allocations: 168.7 kB / 0.909 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2353, allocations: 9.25 kB / 0.909 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2353, allocations: 4 kB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2353, allocations: 0 / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.2355, allocations: 19.98 kB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2355, allocations: 0 / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2357, allocations: 4 kB / 0.909 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2358, allocations: 7.984 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0004396/0.2362, allocations: 318.5 kB / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.2363, allocations: 71.11 kB / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.2365, allocations: 73.98 kB / 0.9094 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2365, allocations: 4 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2365, allocations: 0 / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2365, allocations: 0 / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.237, allocations: 377.5 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.237, allocations: 0 / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.2371, allocations: 12.03 kB / 0.9098 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.2371, allocations: 3.984 kB / 0.9098 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2371, allocations: 7.953 kB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2371, allocations: 7.938 kB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2371, allocations: 0 / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.2375, allocations: 200.5 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2377, allocations: 140.2 kB / 0.9102 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.2378, allocations: 0 / 0.9102 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.238, allocations: 12.14 kB / 0.9102 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.2381, allocations: 7.984 kB / 0.9102 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.2381, allocations: 11.94 kB / 0.9102 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001056/0.2392, allocations: 0.6512 MB / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2392, allocations: 0 / 0.9108 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004294/0.2397, allocations: 63.92 kB / 0.9109 GB, free: 53.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001285/0.241, allocations: 414.9 kB / 0.9113 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.2413, allocations: 79.88 kB / 0.9114 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2414, allocations: 64 / 0.9114 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2415, allocations: 39.98 kB / 0.9114 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2425, allocations: 134.8 kB / 0.9115 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2447, allocations: 1.173 MB / 0.9127 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.2453, allocations: 0.9862 MB / 0.9136 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.2456, allocations: 46.58 kB / 0.9137 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.2456, allocations: 19.44 kB / 0.9137 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/0.2457, allocations: 0 / 0.9137 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.01654/0.2622, allocations: 5.274 MB / 0.9189 GB, free: 45.24 MB / 0.6042 GB