Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, 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.001569/0.001569, allocations: 185 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.851/2.851, 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.001081/0.001081, allocations: 107.3 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006507, allocations: 15.25 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2316, allocations: 106.2 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001787/0.2334, allocations: 1.246 MB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.2337, allocations: 116.5 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.2338, allocations: 0 / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2339, allocations: 7.938 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.9e-05/0.234, allocations: 7.922 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.2342, allocations: 23.97 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.2343, allocations: 31.95 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2344, allocations: 31.92 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.2345, allocations: 19.92 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.2345, allocations: 27.84 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2346, allocations: 0 / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.201e-05/0.2346, allocations: 7.984 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.2347, allocations: 11.98 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.2347, allocations: 33.64 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.2348, allocations: 39.94 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.2348, allocations: 0 / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2348, allocations: 0 / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2348, allocations: 0 / 0.9004 GB, free: 63.88 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.000545/0.2354, allocations: 383.4 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2354, allocations: 12.03 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.2355, allocations: 11.86 kB / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2357, allocations: 182.9 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2357, allocations: 4 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2357, allocations: 4 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.2361, allocations: 101.6 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2361, allocations: 0 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2362, allocations: 0 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2362, allocations: 0 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.2367, allocations: 107.9 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.2374, allocations: 336.6 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2377, allocations: 74.52 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.2378, allocations: 4 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2378, allocations: 34.52 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.2378, allocations: 0 / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0009141/0.2387, allocations: 177.6 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.2388, allocations: 59.41 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.2389, allocations: 113.7 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2389, allocations: 25.7 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.2389, allocations: 92.14 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.239, allocations: 19.67 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.239, allocations: 0 / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2391, allocations: 318.8 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.2393, allocations: 47.95 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.2396, allocations: 39.97 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2399, allocations: 47.95 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2399, allocations: 0 / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000559/0.2404, allocations: 125.5 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2405, allocations: 8 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2405, allocations: 3.953 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2405, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2407, allocations: 23.98 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2407, allocations: 0 / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2409, allocations: 19.98 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.2409, allocations: 7.922 kB / 0.9027 GB, free: 61.33 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.795e-05/0.241, allocations: 117.8 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.241, allocations: 11.91 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.2417, allocations: 133.5 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2417, allocations: 3.953 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2417, allocations: 4 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2417, allocations: 3.984 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2419, allocations: 173.6 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2419, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2421, allocations: 23.98 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2421, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2421, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2421, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2422, allocations: 7.953 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.2428, allocations: 223.4 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.2428, allocations: 77.53 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.2429, allocations: 4 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2431, allocations: 23.98 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.2431, allocations: 11.88 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2431, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.2432, allocations: 95.27 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2432, allocations: 0 / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003166/0.2435, allocations: 11.91 kB / 0.9036 GB, free: 60.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001347/0.2437, allocations: 95.25 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.2443, allocations: 111.9 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2443, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.2446, allocations: 43.97 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2449, allocations: 7.938 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.2453, allocations: 174.4 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2454, allocations: 0.6926 MB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.489e-05/0.2455, allocations: 8.234 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.2455, allocations: 11.44 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 8.71e-07/0.2456, allocations: 4 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.003342/0.2489, allocations: 0.5979 MB / 0.9053 GB, free: 58.53 MB / 0.6042 GB