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.7646/0.7646, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001703/0.001703, allocations: 184.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.1 MB / 404.5 MB, free: 1.602 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.001003/0.001003, allocations: 90.45 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.548e-05, allocations: 4 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1759, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.564/0.74, allocations: 102.7 MB / 0.7285 GB, free: 10.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.7403, allocations: 74.7 kB / 0.7285 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003442/0.7437, allocations: 1.138 MB / 0.7296 GB, free: 9.535 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7437, allocations: 0 / 0.7296 GB, free: 9.535 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.7438, allocations: 6.297 kB / 0.7296 GB, free: 9.531 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.0004916/0.7443, allocations: 370.6 kB / 0.73 GB, free: 9.129 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.7443, allocations: 12.03 kB / 0.73 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.7444, allocations: 7.859 kB / 0.73 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.7446, allocations: 186.3 kB / 0.7302 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.7446, allocations: 3.938 kB / 0.7302 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.7446, allocations: 4 kB / 0.7302 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.7448, allocations: 69.86 kB / 0.7303 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7448, allocations: 0 / 0.7303 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.7448, allocations: 0 / 0.7303 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7449, allocations: 4 kB / 0.7303 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.7449, allocations: 26.12 kB / 0.7303 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.7456, allocations: 344.8 kB / 0.7306 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.7457, allocations: 33.64 kB / 0.7307 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.7457, allocations: 16.11 kB / 0.7307 GB, free: 8.387 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.7458, allocations: 8.078 kB / 0.7307 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.7458, allocations: 42.08 kB / 0.7307 GB, free: 8.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7458, allocations: 0 / 0.7307 GB, free: 8.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001822/0.746, allocations: 56.72 kB / 0.7308 GB, free: 8.277 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.746, allocations: 51.41 kB / 0.7308 GB, free: 8.215 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.7461, allocations: 106.2 kB / 0.7309 GB, free: 8.113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.7462, allocations: 33.08 kB / 0.731 GB, free: 8.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.7462, allocations: 91.53 kB / 0.731 GB, free: 7.988 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.7463, allocations: 11.84 kB / 0.7311 GB, free: 7.977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.7463, allocations: 3.375 kB / 0.7311 GB, free: 7.977 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7464, allocations: 318.8 kB / 0.7314 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.7465, allocations: 11.5 kB / 0.7314 GB, free: 7.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.7465, allocations: 10.88 kB / 0.7314 GB, free: 7.645 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.7465, allocations: 15.42 kB / 0.7314 GB, free: 7.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7465, allocations: 0 / 0.7314 GB, free: 7.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001002/0.7467, allocations: 64.28 kB / 0.7315 GB, free: 7.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7467, allocations: 4.781 kB / 0.7315 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7467, allocations: 3.953 kB / 0.7315 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7467, allocations: 0 / 0.7315 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.7469, allocations: 27.98 kB / 0.7315 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7469, allocations: 3.984 kB / 0.7315 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.747, allocations: 15.98 kB / 0.7315 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.747, allocations: 7.875 kB / 0.7315 GB, free: 7.508 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 7.376e-05/0.7471, allocations: 116.5 kB / 0.7316 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.7471, allocations: 0 / 0.7316 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.7473, allocations: 76.05 kB / 0.7317 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.7473, allocations: 7.984 kB / 0.7317 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7473, allocations: 0 / 0.7317 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7473, allocations: 0 / 0.7317 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.7475, allocations: 179.3 kB / 0.7319 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7475, allocations: 0 / 0.7319 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.7476, allocations: 23.98 kB / 0.7319 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7476, allocations: 0 / 0.7319 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7477, allocations: 4 kB / 0.7319 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7477, allocations: 0 / 0.7319 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7477, allocations: 3.953 kB / 0.7319 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.7478, allocations: 153.8 kB / 0.7321 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.7479, allocations: 81.02 kB / 0.7321 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.7479, allocations: 0 / 0.7321 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.748, allocations: 23.8 kB / 0.7322 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.7481, allocations: 11.94 kB / 0.7322 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7481, allocations: 0 / 0.7322 GB, free: 6.777 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.7481, allocations: 90.41 kB / 0.7323 GB, free: 6.691 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7482, allocations: 0 / 0.7323 GB, free: 6.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.7484, allocations: 12 kB / 0.7323 GB, free: 6.68 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.0001784/0.7485, allocations: 118.8 kB / 0.7324 GB, free: 6.559 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.7487, allocations: 22.88 kB / 0.7324 GB, free: 6.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7487, allocations: 4 kB / 0.7324 GB, free: 6.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.7487, allocations: 15.86 kB / 0.7324 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.7489, allocations: 9.016 kB / 0.7324 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.7492, allocations: 96.53 kB / 0.7325 GB, free: 6.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.7494, allocations: 0.6926 MB / 0.7332 GB, free: 5.691 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.347e-05/0.7495, allocations: 11.98 kB / 0.7332 GB, free: 5.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.7495, allocations: 7.438 kB / 0.7332 GB, free: 5.672 MB / 490.7 MB Notification: Performance of SimCode: time 4e-07/0.7495, allocations: 0 / 0.7332 GB, free: 5.672 MB / 490.7 MB Notification: Performance of Templates: time 0.002723/0.7523, allocations: 0.6117 MB / 0.7338 GB, free: 5.074 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)