Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Binomial.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.001583/0.001583, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00135/0.00135, allocations: 165 kB / 24.17 MB, free: 336 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 1.006/1.006, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.951/1.951, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.547e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001911/0.001926, allocations: 1.649 MB / 0.7768 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.002339, allocations: 195.3 kB / 0.777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.002379, allocations: 0 / 0.777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.002408, allocations: 3.938 kB / 0.777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.002457, allocations: 1.75 kB / 0.777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.002738, allocations: 52.3 kB / 0.7771 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.002801, allocations: 29.34 kB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.671e-05/0.002868, allocations: 18.98 kB / 0.7771 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.002906, allocations: 22.05 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.002944, allocations: 16.86 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.002959, allocations: 4 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.003084, allocations: 51.94 kB / 0.7772 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.003098, allocations: 9.406 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.003113, allocations: 14.17 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003238, allocations: 65.92 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.00324, allocations: 1.172 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003241, allocations: 0.6875 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003244, allocations: 0 / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004266/0.003671, allocations: 250.1 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.003703, allocations: 14.73 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.003726, allocations: 4.938 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.003801, allocations: 110.3 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.003817, allocations: 5.875 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.003824, allocations: 4.359 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.718e-05/0.003921, allocations: 62.94 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003927, allocations: 1.172 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003934, allocations: 5.156 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.003938, allocations: 384 / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.003962, allocations: 12.56 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.004171, allocations: 169.1 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.004293, allocations: 30.56 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.004307, allocations: 10.08 kB / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.004423, allocations: 27.97 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.004438, allocations: 31.52 kB / 0.778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004439, allocations: 0.6562 kB / 0.778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001029/0.004542, allocations: 54.09 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.004565, allocations: 52.88 kB / 0.7781 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.004616, allocations: 110.7 kB / 0.7782 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.004626, allocations: 25.7 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.004667, allocations: 100.8 kB / 0.7783 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.004685, allocations: 5.016 kB / 0.7783 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.004712, allocations: 18.38 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.004797, allocations: 314.8 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.004809, allocations: 8.484 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.004818, allocations: 4.75 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.004847, allocations: 21.05 kB / 0.7787 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004849, allocations: 5.844 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.166e-05/0.00489, allocations: 41.62 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.004901, allocations: 4 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.004906, allocations: 7.938 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.004915, allocations: 4.875 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.004953, allocations: 4 kB / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.004956, allocations: 5.234 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.004974, allocations: 7.984 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004977, allocations: 0 / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * 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 4.743e-05/0.005025, allocations: 111.6 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.005037, allocations: 4 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.886e-05/0.005106, allocations: 53.23 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005107, allocations: 0 / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.00511, allocations: 5.219 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005112, allocations: 0 / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.545e-05/0.005187, allocations: 69.88 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.005188, allocations: 0.6562 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.005212, allocations: 12 kB / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.005213, allocations: 1.125 kB / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.005217, allocations: 0 / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005217, allocations: 0 / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.005219, allocations: 12.73 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.166e-05/0.005281, allocations: 135.5 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.005286, allocations: 0.5 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-06/0.005293, allocations: 1.781 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.005322, allocations: 4 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.005355, allocations: 11.92 kB / 0.7792 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005359, allocations: 4 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.046e-05/0.005369, allocations: 8.844 kB / 0.7792 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005369, allocations: 5.031 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001331/0.005502, allocations: 19.89 kB / 0.7792 GB, free: 1.164 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * 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 9.878e-05/0.005601, allocations: 105.6 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.318e-05/0.005654, allocations: 16.84 kB / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.005656, allocations: 1.031 kB / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.795e-05/0.005674, allocations: 16.8 kB / 0.7793 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.005784, allocations: 9.5 kB / 0.7793 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.005971, allocations: 124.5 kB / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.006005, allocations: 51.36 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.006026, allocations: 9.953 kB / 0.7795 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.006067, allocations: 59.36 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.006067, allocations: 0.9062 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of Templates: time 0.00218/0.008247, allocations: 1.046 MB / 0.7806 GB, free: 15.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.95559654571116]