Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 174.3 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4604/0.4604, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.7 MB / 353.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007825/0.0007825, allocations: 90.77 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 12 kB / 0.4955 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.299, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.00126/0.3004, allocations: 1.236 MB / 0.5664 GB, free: 41.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003788/0.3007, allocations: 406.9 kB / 0.5668 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.3008, allocations: 1.375 kB / 0.5668 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.3008, allocations: 3.938 kB / 0.5668 GB, free: 40.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.3008, allocations: 7.922 kB / 0.5668 GB, free: 40.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.3011, allocations: 45.27 kB / 0.5668 GB, free: 40.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.3011, allocations: 27.92 kB / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.733e-05/0.3012, allocations: 13 kB / 0.5669 GB, free: 40.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.3012, allocations: 15.92 kB / 0.5669 GB, free: 40.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.369e-05/0.3013, allocations: 20.53 kB / 0.5669 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.3013, allocations: 5.25 kB / 0.5669 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.323e-05/0.3014, allocations: 39.97 kB / 0.567 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3014, allocations: 0 / 0.567 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.3014, allocations: 45.61 kB / 0.567 GB, free: 40.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3015, allocations: 60.72 kB / 0.5671 GB, free: 40.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3015, allocations: 4 kB / 0.5671 GB, free: 40.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3016, allocations: 2.219 kB / 0.5671 GB, free: 40.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.3016, allocations: 0 / 0.5671 GB, free: 40.36 MB / 410.7 MB 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.0003306/0.3019, allocations: 346.1 kB / 0.5674 GB, free: 39.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3019, allocations: 8.031 kB / 0.5674 GB, free: 39.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.302, allocations: 14.91 kB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.536e-05/0.3021, allocations: 168.3 kB / 0.5676 GB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3021, allocations: 4.375 kB / 0.5676 GB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.3021, allocations: 384 / 0.5676 GB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3023, allocations: 86.12 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3023, allocations: 4.125 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3023, allocations: 3.938 kB / 0.5677 GB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3023, allocations: 0 / 0.5677 GB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.3025, allocations: 59.95 kB / 0.5677 GB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.3028, allocations: 272.8 kB / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.303, allocations: 66.47 kB / 0.5681 GB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.3031, allocations: 32.91 kB / 0.5681 GB, free: 39.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.3033, allocations: 166.2 kB / 0.5682 GB, free: 38.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.098e-05/0.3033, allocations: 34.56 kB / 0.5683 GB, free: 38.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.061e-06/0.3033, allocations: 0 / 0.5683 GB, free: 38.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003287/0.3037, allocations: 113.6 kB / 0.5684 GB, free: 38.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.3037, allocations: 59.28 kB / 0.5684 GB, free: 38.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.3037, allocations: 105.8 kB / 0.5685 GB, free: 38.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.3037, allocations: 33.7 kB / 0.5686 GB, free: 38.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.3038, allocations: 88.2 kB / 0.5687 GB, free: 38.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.3038, allocations: 11.89 kB / 0.5687 GB, free: 38.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.3038, allocations: 0 / 0.5687 GB, free: 38.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.192e-05/0.3038, allocations: 314.8 kB / 0.569 GB, free: 38.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.3039, allocations: 23.98 kB / 0.569 GB, free: 38.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.304, allocations: 31.97 kB / 0.569 GB, free: 38.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3042, allocations: 52.81 kB / 0.5691 GB, free: 38.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3042, allocations: 0 / 0.5691 GB, free: 38.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.3043, allocations: 89.56 kB / 0.5692 GB, free: 37.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.3044, allocations: 11.94 kB / 0.5692 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3044, allocations: 0 / 0.5692 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.619e-06/0.3044, allocations: 0 / 0.5692 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.3045, allocations: 11.98 kB / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3045, allocations: 4 kB / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.3045, allocations: 15.92 kB / 0.5692 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3046, allocations: 0 / 0.5692 GB, free: 37.92 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: 2 (rea2Int.y,bin.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.172e-05/0.3046, allocations: 117.8 kB / 0.5693 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3046, allocations: 0 / 0.5693 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.3048, allocations: 93.55 kB / 0.5694 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3049, allocations: 4.375 kB / 0.5694 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3049, allocations: 0 / 0.5694 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3049, allocations: 0 / 0.5694 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.305, allocations: 173.5 kB / 0.5696 GB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.305, allocations: 7.938 kB / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.3051, allocations: 15.97 kB / 0.5696 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3051, allocations: 4 kB / 0.5696 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3051, allocations: 4 kB / 0.5696 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3051, allocations: 0 / 0.5696 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3051, allocations: 7.922 kB / 0.5696 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.3053, allocations: 183.5 kB / 0.5698 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.3053, allocations: 81.11 kB / 0.5699 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.3053, allocations: 3.938 kB / 0.5699 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.3054, allocations: 7.984 kB / 0.5699 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.3055, allocations: 7.984 kB / 0.5699 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3055, allocations: 0 / 0.5699 GB, free: 37.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.221e-05/0.3055, allocations: 87.28 kB / 0.57 GB, free: 37.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3055, allocations: 0 / 0.57 GB, free: 37.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.3057, allocations: 27.98 kB / 0.57 GB, free: 37 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: 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 0.0001113/0.3058, allocations: 115.2 kB / 0.5701 GB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3061, allocations: 59.94 kB / 0.5702 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3061, allocations: 4 kB / 0.5702 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.3062, allocations: 27.98 kB / 0.5702 GB, free: 36.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3064, allocations: 11.84 kB / 0.5702 GB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.3066, allocations: 130.3 kB / 0.5703 GB, free: 36.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.3067, allocations: 0.6926 MB / 0.571 GB, free: 35.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.3068, allocations: 0 / 0.571 GB, free: 35.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.3068, allocations: 11.44 kB / 0.571 GB, free: 35.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3068, allocations: 0 / 0.571 GB, free: 35.9 MB / 410.7 MB Notification: Performance of Templates: time 0.002326/0.3091, allocations: 0.8657 MB / 0.5719 GB, free: 35.04 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)