Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5689/0.5689, allocations: 90.92 MB / 99.35 MB, free: 2.137 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.0008194, allocations: 102.5 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.602e-05, allocations: 6.734 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5591, allocations: 101 MB / 0.6522 GB, free: 9.215 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5594, allocations: 75.02 kB / 0.6522 GB, free: 9.176 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00339/0.5628, allocations: 1.125 MB / 0.6533 GB, free: 8.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5628, allocations: 0 / 0.6533 GB, free: 8.164 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.5628, allocations: 2.734 kB / 0.6533 GB, free: 8.164 MB / 458.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.000462/0.5633, allocations: 373.7 kB / 0.6537 GB, free: 7.758 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5633, allocations: 8.031 kB / 0.6537 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.5634, allocations: 11.86 kB / 0.6537 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.5636, allocations: 184.9 kB / 0.6539 GB, free: 7.523 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5636, allocations: 3.438 kB / 0.6539 GB, free: 7.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.5636, allocations: 8 kB / 0.6539 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.5637, allocations: 33.5 kB / 0.6539 GB, free: 7.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.5638, allocations: 55.98 kB / 0.654 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5639, allocations: 0 / 0.654 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.5639, allocations: 4.547 kB / 0.654 GB, free: 7.434 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5639, allocations: 7.953 kB / 0.654 GB, free: 7.426 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.5644, allocations: 311.8 kB / 0.6543 GB, free: 7.102 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.921e-05/0.5645, allocations: 33.02 kB / 0.6543 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.5645, allocations: 19.75 kB / 0.6544 GB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.5646, allocations: 4 kB / 0.6544 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5646, allocations: 42.45 kB / 0.6544 GB, free: 6.996 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.5646, allocations: 0 / 0.6544 GB, free: 6.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002022/0.5648, allocations: 60 kB / 0.6545 GB, free: 6.938 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.5648, allocations: 55.41 kB / 0.6545 GB, free: 6.871 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.5649, allocations: 104.8 kB / 0.6546 GB, free: 6.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5649, allocations: 25.7 kB / 0.6546 GB, free: 6.738 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.565, allocations: 94.98 kB / 0.6547 GB, free: 6.648 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.565, allocations: 11.83 kB / 0.6547 GB, free: 6.637 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.565, allocations: 8 kB / 0.6547 GB, free: 6.629 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5651, allocations: 314 kB / 0.655 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.5652, allocations: 7.25 kB / 0.655 GB, free: 6.312 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.5652, allocations: 11.5 kB / 0.6551 GB, free: 6.305 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.5653, allocations: 15.36 kB / 0.6551 GB, free: 6.293 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5653, allocations: 0 / 0.6551 GB, free: 6.293 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001032/0.5654, allocations: 52.06 kB / 0.6551 GB, free: 6.242 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5654, allocations: 8 kB / 0.6551 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5654, allocations: 3.984 kB / 0.6551 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5654, allocations: 7.953 kB / 0.6551 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5656, allocations: 23.92 kB / 0.6552 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5656, allocations: 0 / 0.6552 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.5657, allocations: 19.89 kB / 0.6552 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.5657, allocations: 0 / 0.6552 GB, free: 6.18 MB / 458.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.243e-05/0.5658, allocations: 108.1 kB / 0.6553 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5658, allocations: 7.938 kB / 0.6553 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.566, allocations: 68.38 kB / 0.6554 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.566, allocations: 4 kB / 0.6554 GB, free: 5.992 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.566, allocations: 3.953 kB / 0.6554 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.566, allocations: 0 / 0.6554 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.5661, allocations: 145.7 kB / 0.6555 GB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5661, allocations: 3.984 kB / 0.6555 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.5663, allocations: 23.98 kB / 0.6555 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5663, allocations: 4 kB / 0.6555 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5663, allocations: 0 / 0.6555 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.5663, allocations: 2.188 kB / 0.6555 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5663, allocations: 3.938 kB / 0.6555 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.5664, allocations: 159.1 kB / 0.6557 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.5665, allocations: 80.36 kB / 0.6558 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.5665, allocations: 4.047 kB / 0.6558 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5666, allocations: 19.97 kB / 0.6558 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.5667, allocations: 7.984 kB / 0.6558 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.5667, allocations: 0 / 0.6558 GB, free: 5.492 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.5667, allocations: 87.66 kB / 0.6559 GB, free: 5.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5667, allocations: 3.938 kB / 0.6559 GB, free: 5.406 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.567, allocations: 11.91 kB / 0.6559 GB, free: 5.395 MB / 458.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.0001418/0.5671, allocations: 111.1 kB / 0.656 GB, free: 5.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.5672, allocations: 33.88 kB / 0.656 GB, free: 5.254 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5672, allocations: 0 / 0.656 GB, free: 5.254 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.5673, allocations: 11.06 kB / 0.656 GB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.5674, allocations: 11.42 kB / 0.6561 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.5677, allocations: 94.42 kB / 0.6561 GB, free: 5.125 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.5679, allocations: 0.6924 MB / 0.6568 GB, free: 4.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.568, allocations: 7.984 kB / 0.6568 GB, free: 4.398 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.568, allocations: 11.44 kB / 0.6568 GB, free: 4.387 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.568, allocations: 0 / 0.6568 GB, free: 4.387 MB / 458.7 MB Notification: Performance of Templates: time 0.002347/0.5704, allocations: 0.5571 MB / 0.6574 GB, free: 3.844 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)