Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7388/0.7388, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 181.2 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008748/0.0008748, allocations: 90.61 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.481e-05, allocations: 5.594 kB / 0.5466 GB, free: 95.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.159, allocations: 76.76 MB / 0.6215 GB, free: 43.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.2961, allocations: 102 MB / 0.7212 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.2964, allocations: 83.94 kB / 0.7213 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003558/0.3, allocations: 1.125 MB / 0.7224 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3, allocations: 4 kB / 0.7224 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.3, allocations: 4 kB / 0.7224 GB, free: 3.762 MB / 0.4948 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.0004893/0.3005, allocations: 362.5 kB / 0.7227 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3006, allocations: 12.03 kB / 0.7227 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.3007, allocations: 15.86 kB / 0.7227 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3009, allocations: 182.8 kB / 0.7229 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3009, allocations: 4 kB / 0.7229 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.3009, allocations: 4 kB / 0.7229 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001149/0.301, allocations: 35.92 kB / 0.7229 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3011, allocations: 57.67 kB / 0.723 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3012, allocations: 0 / 0.723 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3012, allocations: 0 / 0.723 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3012, allocations: 0 / 0.723 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.3017, allocations: 317.2 kB / 0.7233 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/0.3018, allocations: 30.58 kB / 0.7233 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.3019, allocations: 12.86 kB / 0.7233 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.3019, allocations: 8 kB / 0.7234 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.302, allocations: 38.64 kB / 0.7234 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.302, allocations: 0 / 0.7234 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002374/0.3022, allocations: 57.67 kB / 0.7234 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3023, allocations: 55.41 kB / 0.7235 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.3024, allocations: 104.9 kB / 0.7236 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3024, allocations: 25.7 kB / 0.7236 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.3024, allocations: 104 kB / 0.7237 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.3025, allocations: 3.906 kB / 0.7237 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.3025, allocations: 0 / 0.7237 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3026, allocations: 322.8 kB / 0.724 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.3026, allocations: 11.94 kB / 0.724 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.3026, allocations: 12 kB / 0.7241 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/0.3027, allocations: 15.98 kB / 0.7241 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3027, allocations: 0 / 0.7241 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001264/0.3028, allocations: 61.72 kB / 0.7241 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3029, allocations: 4 kB / 0.7241 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.3029, allocations: 12 kB / 0.7241 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3029, allocations: 0 / 0.7241 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3031, allocations: 31.86 kB / 0.7242 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3031, allocations: 0 / 0.7242 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.3032, allocations: 19.92 kB / 0.7242 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3032, allocations: 4 kB / 0.7242 GB, free: 1.676 MB / 0.4948 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 () * 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 6.481e-05/0.3033, allocations: 101 kB / 0.7243 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3033, allocations: 4 kB / 0.7243 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.3035, allocations: 69.92 kB / 0.7244 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3035, allocations: 0 / 0.7244 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3035, allocations: 7.953 kB / 0.7244 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3035, allocations: 0 / 0.7244 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3037, allocations: 150.2 kB / 0.7245 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3037, allocations: 0 / 0.7245 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3038, allocations: 23.98 kB / 0.7245 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3039, allocations: 3.984 kB / 0.7245 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3039, allocations: 7.938 kB / 0.7246 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3039, allocations: 0 / 0.7246 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3039, allocations: 0 / 0.7246 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.304, allocations: 151.5 kB / 0.7247 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.3041, allocations: 85.02 kB / 0.7248 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3041, allocations: 0 / 0.7248 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3043, allocations: 19.97 kB / 0.7248 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3043, allocations: 4 kB / 0.7248 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3043, allocations: 0 / 0.7248 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.3044, allocations: 95.27 kB / 0.7249 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3044, allocations: 0 / 0.7249 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002346/0.3046, allocations: 15.94 kB / 0.7249 GB, free: 0.8633 MB / 0.4948 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 () * 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.0001756/0.3048, allocations: 99.25 kB / 0.725 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.3049, allocations: 35.92 kB / 0.725 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.305, allocations: 0 / 0.725 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.305, allocations: 12 kB / 0.725 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.3052, allocations: 11.89 kB / 0.7251 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.3055, allocations: 91.98 kB / 0.7251 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3058, allocations: 0.6963 MB / 0.7258 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.808e-05/0.3059, allocations: 11.98 kB / 0.7258 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.3059, allocations: 7.438 kB / 0.7258 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.3059, allocations: 0 / 0.7258 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.002649/0.3086, allocations: 0.5591 MB / 0.7264 GB, free: 15.29 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)