Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 174.2 kB / 327.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 0.5785 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007338/0.0007338, allocations: 90 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 19.47 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.3221, allocations: 131.9 MB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.3223, allocations: 75.95 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003244/0.3256, allocations: 1.118 MB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3256, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3256, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 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.0004826/0.3261, allocations: 387.3 kB / 1.032 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3262, allocations: 8.031 kB / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3262, allocations: 12.78 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3264, allocations: 192.1 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3264, allocations: 12.36 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3264, allocations: 384 / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3267, allocations: 98.2 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3267, allocations: 192 / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3268, allocations: 3.938 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3268, allocations: 4 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.3271, allocations: 103.8 kB / 1.032 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.3276, allocations: 332.7 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3278, allocations: 78.56 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.328, allocations: 56.91 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3281, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3281, allocations: 34.56 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.3281, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005333/0.3286, allocations: 161.6 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3287, allocations: 63.28 kB / 1.033 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3288, allocations: 121.7 kB / 1.033 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3288, allocations: 25.7 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.3289, allocations: 99.97 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3289, allocations: 7.906 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.3289, allocations: 0 / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.329, allocations: 322.8 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3292, allocations: 47.91 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3293, allocations: 43.95 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3296, allocations: 100.8 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3296, allocations: 0 / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.3299, allocations: 129.5 kB / 1.034 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.33, allocations: 10.81 kB / 1.034 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.33, allocations: 3.938 kB / 1.034 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.33, allocations: 0 / 1.034 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3301, allocations: 23.98 kB / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3301, allocations: 0 / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.3302, allocations: 19.98 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3302, allocations: 0 / 1.034 GB, free: 7.746 MB / 0.6823 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 9.606e-05/0.3303, allocations: 121.8 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3304, allocations: 7.906 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.3307, allocations: 129.8 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3308, allocations: 0 / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3308, allocations: 3.984 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3308, allocations: 4.047 kB / 1.034 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.331, allocations: 185.6 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.331, allocations: 0 / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.3311, allocations: 27.92 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3311, allocations: 0 / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3311, allocations: 0 / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3311, allocations: 0 / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3311, allocations: 0 / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3315, allocations: 227.4 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.3315, allocations: 81.02 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3316, allocations: 4 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3317, allocations: 15.98 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3317, allocations: 3.984 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3317, allocations: 0 / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.3318, allocations: 91.7 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.463e-06/0.3318, allocations: 8 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002115/0.332, allocations: 19.88 kB / 1.034 GB, free: 6.73 MB / 0.6823 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.0001459/0.3322, allocations: 103.1 kB / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.3325, allocations: 103.8 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3325, allocations: 0 / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3327, allocations: 47.97 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.3329, allocations: 11.98 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3333, allocations: 158.8 kB / 1.035 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3336, allocations: 0.693 MB / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.397e-05/0.3336, allocations: 7.938 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.3337, allocations: 11.44 kB / 1.036 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.3337, allocations: 0 / 1.036 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of Templates: time 0.002715/0.3364, allocations: 0.6174 MB / 1.036 GB, free: 4.922 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)