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.0007734/0.0007734, allocations: 77.17 kB / 9.992 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002073, allocations: 451.9 kB / 10.43 MB, free: 256 kB / 10.45 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.0007786/0.0007786, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.0018, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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 1.032/1.032, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08648/1.119, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6403/0.6403, allocations: 120.3 MB / 364.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0611/0.7014, allocations: 38.23 MB / 402.7 MB, free: 11.95 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.563e-06/1.563e-06, allocations: 0 / 404.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.673e-05, allocations: 2.312 kB / 404.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002266/0.002283, allocations: 1.643 MB / 405.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.002476, allocations: 119.5 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.002515, allocations: 0 / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.658e-05/0.002571, allocations: 11.92 kB / 405.8 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.107e-05/0.002593, allocations: 11.88 kB / 405.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.002726, allocations: 27.95 kB / 405.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.002815, allocations: 51.84 kB / 405.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.002898, allocations: 15.92 kB / 405.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.002982, allocations: 47.89 kB / 406 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.00305, allocations: 27.97 kB / 406 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.003067, allocations: 7.938 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.003131, allocations: 15.94 kB / 406 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.003165, allocations: 11.98 kB / 406 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.003189, allocations: 11.94 kB / 406.1 MB, free: 8.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.003302, allocations: 47.83 kB / 406.1 MB, free: 8.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.003315, allocations: 0 / 406.1 MB, free: 8.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003316, allocations: 0 / 406.1 MB, free: 8.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.003326, allocations: 0 / 406.1 MB, free: 8.543 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.0004315/0.003757, allocations: 268.5 kB / 406.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.003791, allocations: 16.03 kB / 406.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.003829, allocations: 8.922 kB / 406.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.003959, allocations: 125.6 kB / 406.5 MB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.00397, allocations: 8.297 kB / 406.5 MB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003979, allocations: 4.375 kB / 406.5 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.004132, allocations: 69.77 kB / 406.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004139, allocations: 192 / 406.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.004149, allocations: 8.375 kB / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004155, allocations: 384 / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.004186, allocations: 15.92 kB / 406.6 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.004476, allocations: 193.8 kB / 406.8 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.959e-05/0.004536, allocations: 30.58 kB / 406.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.004555, allocations: 4.953 kB / 406.8 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.004593, allocations: 7.938 kB / 406.8 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.004617, allocations: 38.58 kB / 406.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004618, allocations: 0 / 406.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001233/0.004741, allocations: 41.69 kB / 406.9 MB, free: 7.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.004771, allocations: 51.41 kB / 407 MB, free: 7.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.004842, allocations: 134.6 kB / 407.1 MB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004853, allocations: 25.7 kB / 407.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.004889, allocations: 92.02 kB / 407.2 MB, free: 7.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.004907, allocations: 7.953 kB / 407.2 MB, free: 7.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.00494, allocations: 13.72 kB / 407.2 MB, free: 7.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.005026, allocations: 314.8 kB / 407.5 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.005043, allocations: 11.92 kB / 407.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.005055, allocations: 4 kB / 407.6 MB, free: 6.922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.005089, allocations: 19.95 kB / 407.6 MB, free: 6.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005091, allocations: 0 / 407.6 MB, free: 6.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.357e-05/0.005155, allocations: 45.61 kB / 407.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.00517, allocations: 15.94 kB / 407.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005175, allocations: 0 / 407.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.005184, allocations: 0 / 407.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.005267, allocations: 8 kB / 407.6 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.00527, allocations: 4 kB / 407.7 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.005299, allocations: 11.92 kB / 407.7 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.005315, allocations: 4 kB / 407.7 MB, free: 6.805 MB / 394.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 7.086e-05/0.005386, allocations: 108.7 kB / 407.8 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.005408, allocations: 7.938 kB / 407.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.005499, allocations: 53.67 kB / 407.8 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.005501, allocations: 0 / 407.8 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005503, allocations: 0 / 407.8 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.005507, allocations: 3.984 kB / 407.8 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.005615, allocations: 81.84 kB / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005616, allocations: 0 / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.005655, allocations: 11.98 kB / 407.9 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.005661, allocations: 0 / 407.9 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005662, allocations: 0 / 407.9 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.005668, allocations: 7.938 kB / 407.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00567, allocations: 3.984 kB / 407.9 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.005672, allocations: 7.938 kB / 408 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.119e-05/0.005753, allocations: 135.5 kB / 408.1 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.005763, allocations: 0 / 408.1 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.005814, allocations: 7.938 kB / 408.1 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.005844, allocations: 7.984 kB / 408.1 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.005849, allocations: 4 kB / 408.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.005896, allocations: 16.84 kB / 408.1 MB, free: 6.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005896, allocations: 0 / 408.1 MB, free: 6.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.006073, allocations: 11.94 kB / 408.1 MB, free: 6.289 MB / 394.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.0001107/0.006184, allocations: 80.42 kB / 408.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.006304, allocations: 74.59 kB / 408.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.006309, allocations: 0 / 408.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.006378, allocations: 12.86 kB / 408.3 MB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.006569, allocations: 67.39 kB / 408.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.006946, allocations: 154 kB / 408.5 MB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.006984, allocations: 63.34 kB / 408.6 MB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.705e-05/0.007011, allocations: 7.984 kB / 408.6 MB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.007063, allocations: 59.38 kB / 408.6 MB, free: 5.703 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007063, allocations: 0 / 408.6 MB, free: 5.703 MB / 394.7 MB Notification: Performance of Templates: time 0.002534/0.009597, allocations: 0.7927 MB / 409.4 MB, free: 4.906 MB / 394.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 & (cd run_cvode && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_dassl.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_dassl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_dassl.sim & (cd run_dassl && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_dassl.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_gbode.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_gbode.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_gbode.sim & (cd run_gbode && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_gbode.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_ida.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_ida.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_ida.sim & (cd run_ida && ../IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2055376786738634]