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.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.479/2.479, 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.001559/0.001558, allocations: 187 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.44/2.44, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001125/0.001125, allocations: 109.5 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005118, allocations: 14.34 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2152, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002483/0.2177, allocations: 1.635 MB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.2212, allocations: 2.215 MB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2214, allocations: 0 / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2233, allocations: 494.5 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2235, allocations: 59.89 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009971/0.2245, allocations: 202.4 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000497/0.225, allocations: 251.5 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2253, allocations: 84.7 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2254, allocations: 99.5 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.2256, allocations: 115.4 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.2256, allocations: 0 / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.2262, allocations: 263.6 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2263, allocations: 95.59 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.2265, allocations: 117.5 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.2272, allocations: 0.5923 MB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2272, allocations: 0 / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2272, allocations: 4 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2272, allocations: 0 / 0.9049 GB, free: 59.69 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001094/0.2283, allocations: 0.7843 MB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2284, allocations: 8.031 kB / 0.9057 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.2285, allocations: 59.25 kB / 0.9058 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.2289, allocations: 327.8 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.229, allocations: 8 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.229, allocations: 12 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2293, allocations: 126.1 kB / 0.9062 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2293, allocations: 0 / 0.9062 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2293, allocations: 4 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2294, allocations: 11.89 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2296, allocations: 96.12 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.2305, allocations: 0.5435 MB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.2307, allocations: 98.58 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.2308, allocations: 12.02 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.2311, allocations: 137.2 kB / 0.9071 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.475e-06/0.2311, allocations: 0 / 0.9071 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000626/0.2317, allocations: 375.7 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2318, allocations: 85.11 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.233, allocations: 0.7503 MB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.233, allocations: 29.64 kB / 0.9083 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.2333, allocations: 284.2 kB / 0.9086 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2334, allocations: 31.62 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.2334, allocations: 4 kB / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.2335, allocations: 309.9 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2336, allocations: 51.97 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.2337, allocations: 44.31 kB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.2338, allocations: 81.67 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2338, allocations: 0 / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004313/0.2343, allocations: 254.7 kB / 0.9093 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.2343, allocations: 43.88 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2344, allocations: 4.141 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2344, allocations: 3.938 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2345, allocations: 8 kB / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2345, allocations: 3.984 kB / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.2348, allocations: 19.89 kB / 0.9094 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.2348, allocations: 4 kB / 0.9094 GB, free: 54.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0004275/0.2352, allocations: 335.3 kB / 0.9097 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.2353, allocations: 63.19 kB / 0.9098 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/0.2359, allocations: 292.6 kB / 0.9101 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2359, allocations: 0 / 0.9101 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2359, allocations: 0 / 0.9101 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2359, allocations: 3.984 kB / 0.9101 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.2364, allocations: 385.2 kB / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2364, allocations: 0 / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.2365, allocations: 8 kB / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2365, allocations: 0 / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.2366, allocations: 0 / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2366, allocations: 4 kB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2366, allocations: 0 / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.237, allocations: 309.8 kB / 0.9107 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2372, allocations: 144.3 kB / 0.9109 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.2373, allocations: 8 kB / 0.9109 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2375, allocations: 8 kB / 0.9109 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.2376, allocations: 7.969 kB / 0.9109 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.2376, allocations: 8 kB / 0.9109 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009056/0.2385, allocations: 0.5575 MB / 0.9114 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2385, allocations: 0 / 0.9114 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005353/0.2391, allocations: 124 kB / 0.9116 GB, free: 52.51 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004748/0.2396, allocations: 187.9 kB / 0.9117 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.24, allocations: 211.2 kB / 0.9119 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.24, allocations: 0 / 0.9119 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.2402, allocations: 139.4 kB / 0.9121 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.2409, allocations: 103.1 kB / 0.9122 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.2428, allocations: 1.104 MB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.2433, allocations: 0.9741 MB / 0.9142 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.2435, allocations: 25.55 kB / 0.9142 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.2435, allocations: 15.38 kB / 0.9142 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.2435, allocations: 0 / 0.9142 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.01403/0.2576, allocations: 4.846 MB / 0.919 GB, free: 44.87 MB / 0.6042 GB