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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009396/0.0009396, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9573/0.9573, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5971/0.5971, allocations: 115 MB / 376 MB, free: 7.5 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.429e-05, allocations: 6.312 kB / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.00298/0.003004, allocations: 1.584 MB / 430.3 MB, free: 1.199 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.003342, allocations: 119.6 kB / 430.4 MB, free: 1.082 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.003392, allocations: 0 / 430.4 MB, free: 1.082 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.003509, allocations: 7.922 kB / 430.4 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.003541, allocations: 11.86 kB / 430.4 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.003783, allocations: 23.97 kB / 430.5 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.00388, allocations: 63.83 kB / 430.5 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.00397, allocations: 23.97 kB / 430.5 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.00404, allocations: 27.92 kB / 430.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.004101, allocations: 19.97 kB / 430.6 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.004121, allocations: 8 kB / 430.6 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.004185, allocations: 15.92 kB / 430.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.004227, allocations: 27.84 kB / 430.6 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.004251, allocations: 11.94 kB / 430.7 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.004373, allocations: 55.8 kB / 430.7 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.004376, allocations: 4 kB / 430.7 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004378, allocations: 4 kB / 430.7 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004382, allocations: 0 / 430.7 MB, free: 0.7812 MB / 394.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.000342/0.004724, allocations: 260.8 kB / 431 MB, free: 0.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.004757, allocations: 8.031 kB / 431 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.004789, allocations: 8.922 kB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004919, allocations: 125.6 kB / 431.1 MB, free: 344 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.004928, allocations: 4.375 kB / 431.1 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.004942, allocations: 8.312 kB / 431.1 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.005097, allocations: 73.75 kB / 431.2 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.005103, allocations: 4.188 kB / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.005112, allocations: 384 / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005118, allocations: 4.359 kB / 431.2 MB, free: 240 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.00515, allocations: 11.94 kB / 431.2 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.005464, allocations: 197.8 kB / 431.4 MB, free: 12 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.68e-05/0.005551, allocations: 26.56 kB / 431.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.005573, allocations: 12.86 kB / 431.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.0056, allocations: 0 / 431.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.005627, allocations: 42.53 kB / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005628, allocations: 4 kB / 431.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001248/0.005752, allocations: 41.78 kB / 431.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.005784, allocations: 51.41 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.005855, allocations: 122.7 kB / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.005868, allocations: 25.7 kB / 431.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.005909, allocations: 92.09 kB / 431.8 MB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.005927, allocations: 7.891 kB / 431.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.005963, allocations: 21.69 kB / 431.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.006055, allocations: 314.8 kB / 432.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.006072, allocations: 4 kB / 432.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.006087, allocations: 7.938 kB / 432.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.006122, allocations: 19.67 kB / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006124, allocations: 0 / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.411e-05/0.006198, allocations: 45.69 kB / 432.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.006211, allocations: 7.938 kB / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006215, allocations: 0 / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.006225, allocations: 0 / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.006302, allocations: 11.98 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006304, allocations: 0 / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.006337, allocations: 11.98 kB / 432.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.006353, allocations: 0 / 432.3 MB, free: 15.07 MB / 410.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.006422, allocations: 116.6 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.00645, allocations: 7.938 kB / 432.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.715e-05/0.006548, allocations: 49.67 kB / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006549, allocations: 0 / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006551, allocations: 0 / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006555, allocations: 7.938 kB / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.006682, allocations: 73.88 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006684, allocations: 0 / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.006734, allocations: 11.98 kB / 432.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006737, allocations: 0 / 432.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.006742, allocations: 4.375 kB / 432.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.006746, allocations: 3.938 kB / 432.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006747, allocations: 0 / 432.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.00685, allocations: 147.5 kB / 432.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.00686, allocations: 7.953 kB / 432.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.00687, allocations: 0 / 432.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.006936, allocations: 11.92 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.006967, allocations: 3.984 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.006976, allocations: 8 kB / 432.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.976e-05/0.006995, allocations: 12.86 kB / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006995, allocations: 4 kB / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.007223, allocations: 8 kB / 432.7 MB, free: 14.54 MB / 410.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001236/0.007346, allocations: 84.34 kB / 432.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.296e-05/0.007429, allocations: 63.53 kB / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.007432, allocations: 0 / 432.9 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.007455, allocations: 12.84 kB / 432.9 MB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.007648, allocations: 16 kB / 432.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.00796, allocations: 161.9 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.008003, allocations: 59.34 kB / 433.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.944e-05/0.008032, allocations: 4 kB / 433.1 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.008095, allocations: 59.36 kB / 433.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008095, allocations: 0 / 433.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of Templates: time 0.00288/0.01098, allocations: 0.7681 MB / 434 MB, free: 13.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.412948550656438]