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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.504/2.504, allocations: 251.3 MB / 266.2 MB, free: 11.51 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.001756/0.001756, allocations: 180.7 kB / 325.8 MB, free: 2.777 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.452/2.452, allocations: 205.4 MB / 0.5767 GB, free: 20.73 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.0008906/0.0008902, allocations: 87.98 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.000482, allocations: 15.34 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001828/0.2197, allocations: 1.246 MB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.2201, allocations: 108.6 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.2202, allocations: 3.938 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.2203, allocations: 11.92 kB / 0.9004 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.991e-05/0.2203, allocations: 11.86 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.2206, allocations: 23.98 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.2207, allocations: 55.83 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2208, allocations: 12 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.2209, allocations: 23.91 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.2209, allocations: 19.92 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.221, allocations: 4 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.221, allocations: 7.984 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.2211, allocations: 15.92 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.2211, allocations: 41.64 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.2212, allocations: 35.92 kB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2213, allocations: 0 / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2213, allocations: 0 / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2213, allocations: 0 / 0.9006 GB, free: 63.78 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.000609/0.2219, allocations: 383.6 kB / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.222, allocations: 8.031 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.222, allocations: 16.83 kB / 0.901 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2222, allocations: 184.2 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2222, allocations: 384 / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2222, allocations: 4.375 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.2226, allocations: 98.2 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2227, allocations: 192 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2227, allocations: 3.938 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2227, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.2233, allocations: 111.8 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.224, allocations: 340.6 kB / 0.9017 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.2243, allocations: 74.56 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.2246, allocations: 56.91 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.2246, allocations: 0 / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.2247, allocations: 34.56 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.2247, allocations: 0 / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0009503/0.2256, allocations: 173.5 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.2257, allocations: 51.41 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.2258, allocations: 125.6 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2258, allocations: 29.7 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.2259, allocations: 92.12 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.2259, allocations: 19.69 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.2259, allocations: 0 / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.226, allocations: 322.8 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.2263, allocations: 43.97 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.2265, allocations: 43.95 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.2268, allocations: 47.97 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2268, allocations: 0 / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000601/0.2274, allocations: 125.6 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2275, allocations: 4 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2275, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.2275, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.2277, allocations: 23.97 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2278, allocations: 4 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2279, allocations: 19.92 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.228, allocations: 4 kB / 0.9029 GB, free: 61.16 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 8.629e-05/0.2281, allocations: 117.8 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.2281, allocations: 3.906 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.2287, allocations: 137.5 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2288, allocations: 4 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2288, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2288, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.229, allocations: 185.5 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.229, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.2292, allocations: 19.98 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2292, allocations: 0 / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2292, allocations: 0 / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2292, allocations: 7.984 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2293, allocations: 7.938 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.2299, allocations: 219.3 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.2299, allocations: 85.09 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.23, allocations: 4 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.2302, allocations: 15.98 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.2302, allocations: 0 / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2303, allocations: 15.98 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2303, allocations: 87.28 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2303, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000297/0.2306, allocations: 11.91 kB / 0.9038 GB, free: 60.16 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.0001394/0.2308, allocations: 103.2 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.2314, allocations: 99.86 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2314, allocations: 0 / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.2317, allocations: 56.47 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.2321, allocations: 9.969 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.2325, allocations: 160.6 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2326, allocations: 0.6887 MB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.665e-05/0.2327, allocations: 8.234 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.2328, allocations: 11.44 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2328, allocations: 0 / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.003507/0.2363, allocations: 0.6148 MB / 0.9055 GB, free: 58.36 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)