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.7184/0.7184, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 179.6 kB / 169.7 MB, free: 1.762 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.553/1.553, allocations: 205.1 MB / 404.5 MB, free: 1.605 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.0008587/0.0008587, allocations: 85.86 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.047e-05, allocations: 4 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 76.76 MB / 0.6282 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6523, allocations: 102.7 MB / 0.7285 GB, free: 10.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.6526, allocations: 72.95 kB / 0.7285 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003398/0.656, allocations: 1.127 MB / 0.7296 GB, free: 9.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.656, allocations: 0.6562 kB / 0.7296 GB, free: 9.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.6561, allocations: 0 / 0.7296 GB, free: 9.641 MB / 490.7 MB 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.000453/0.6565, allocations: 373 kB / 0.73 GB, free: 9.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.6566, allocations: 12.03 kB / 0.73 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.6566, allocations: 11.86 kB / 0.73 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.6568, allocations: 186.6 kB / 0.7302 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.6568, allocations: 4 kB / 0.7302 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.6569, allocations: 3.938 kB / 0.7302 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.657, allocations: 64.8 kB / 0.7303 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.657, allocations: 0 / 0.7303 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.657, allocations: 3.438 kB / 0.7303 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.657, allocations: 3.938 kB / 0.7303 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.6571, allocations: 31.55 kB / 0.7303 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.6577, allocations: 343.3 kB / 0.7306 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.6578, allocations: 44.69 kB / 0.7307 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.6578, allocations: 16.36 kB / 0.7307 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.6579, allocations: 0 / 0.7307 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.6579, allocations: 42.33 kB / 0.7307 GB, free: 8.434 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.6579, allocations: 0 / 0.7307 GB, free: 8.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.6581, allocations: 53.03 kB / 0.7308 GB, free: 8.383 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6582, allocations: 55.34 kB / 0.7308 GB, free: 8.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.6582, allocations: 113.1 kB / 0.7309 GB, free: 8.207 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.6583, allocations: 25.7 kB / 0.731 GB, free: 8.176 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.6583, allocations: 95.3 kB / 0.731 GB, free: 8.086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.6583, allocations: 11.83 kB / 0.7311 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.6584, allocations: 0 / 0.7311 GB, free: 8.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6585, allocations: 318.4 kB / 0.7314 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.6585, allocations: 7.812 kB / 0.7314 GB, free: 7.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.6585, allocations: 11.94 kB / 0.7314 GB, free: 7.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.6586, allocations: 15.48 kB / 0.7314 GB, free: 7.734 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6586, allocations: 7.938 kB / 0.7314 GB, free: 7.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.663e-05/0.6587, allocations: 59.84 kB / 0.7315 GB, free: 7.672 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6587, allocations: 8 kB / 0.7315 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6587, allocations: 3.953 kB / 0.7315 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6588, allocations: 0 / 0.7315 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.6589, allocations: 23.92 kB / 0.7315 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6589, allocations: 3.984 kB / 0.7315 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.659, allocations: 19.98 kB / 0.7315 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.659, allocations: 0 / 0.7315 GB, free: 7.613 MB / 490.7 MB 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.267e-05/0.6591, allocations: 104.9 kB / 0.7316 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.6591, allocations: 4 kB / 0.7316 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.6593, allocations: 69.03 kB / 0.7317 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6593, allocations: 8.188 kB / 0.7317 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6593, allocations: 0 / 0.7317 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6593, allocations: 4 kB / 0.7317 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.6595, allocations: 181.1 kB / 0.7319 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6595, allocations: 0 / 0.7319 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6596, allocations: 23.97 kB / 0.7319 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6596, allocations: 3.938 kB / 0.7319 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.6597, allocations: 0 / 0.7319 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6597, allocations: 0 / 0.7319 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6597, allocations: 4.828 kB / 0.7319 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.6598, allocations: 153.8 kB / 0.7321 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.6599, allocations: 85.02 kB / 0.7321 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6599, allocations: 0 / 0.7321 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.66, allocations: 19.97 kB / 0.7322 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.6601, allocations: 7.203 kB / 0.7322 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.6601, allocations: 4 kB / 0.7322 GB, free: 6.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.315e-05/0.6601, allocations: 95.08 kB / 0.7323 GB, free: 6.801 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6601, allocations: 0 / 0.7323 GB, free: 6.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.6604, allocations: 8 kB / 0.7323 GB, free: 6.793 MB / 490.7 MB 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.0001571/0.6605, allocations: 107 kB / 0.7324 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.6606, allocations: 38.48 kB / 0.7324 GB, free: 6.652 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6606, allocations: 0 / 0.7324 GB, free: 6.652 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.6607, allocations: 15.75 kB / 0.7324 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.6609, allocations: 8 kB / 0.7324 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.6611, allocations: 97.39 kB / 0.7325 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.6614, allocations: 0.6926 MB / 0.7332 GB, free: 5.805 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.225e-05/0.6614, allocations: 7.984 kB / 0.7332 GB, free: 5.797 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.6615, allocations: 19.36 kB / 0.7332 GB, free: 5.777 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6615, allocations: 0 / 0.7332 GB, free: 5.777 MB / 490.7 MB Notification: Performance of Templates: time 0.002571/0.6641, allocations: 0.6135 MB / 0.7338 GB, free: 5.18 MB / 490.7 MB 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)