Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009562/0.0009564, allocations: 193.2 kB / 382.3 MB, free: 14.84 MB / 314.7 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.363/1.363, allocations: 225.7 MB / 0.6617 GB, free: 7.25 MB / 490.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.001021/0.001021, allocations: 101.7 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 9.062 kB / 0.9058 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.5899, allocations: 119.2 MB / 1.022 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001676/0.5916, allocations: 1.249 MB / 1.023 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005267/0.5921, allocations: 411.8 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.5922, allocations: 2.125 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.5922, allocations: 3.938 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.5922, allocations: 2 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.5925, allocations: 44.86 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.5926, allocations: 33.44 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.5927, allocations: 15.08 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.5928, allocations: 11.73 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.5928, allocations: 17.42 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5928, allocations: 1.344 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.5929, allocations: 41.67 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.593, allocations: 10.86 kB / 1.024 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.593, allocations: 33.52 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.5932, allocations: 66.64 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5932, allocations: 1.469 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5932, allocations: 0 / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5932, allocations: 0 / 1.024 GB, free: 56.71 MB / 0.698 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.0004146/0.5936, allocations: 356.7 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5937, allocations: 11.38 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.5937, allocations: 1.969 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.5938, allocations: 171.6 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.5938, allocations: 5.719 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.5939, allocations: 4.625 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5941, allocations: 71.45 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5941, allocations: 2.109 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5941, allocations: 7.938 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5941, allocations: 7.125 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.5943, allocations: 53.86 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.5946, allocations: 276.5 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.5949, allocations: 66.89 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.595, allocations: 32.36 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.5952, allocations: 173.7 kB / 1.025 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.5952, allocations: 31.55 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5952, allocations: 0 / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003587/0.5956, allocations: 110.9 kB / 1.025 GB, free: 55.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.5956, allocations: 53.38 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.5957, allocations: 113.4 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.5957, allocations: 30.39 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.5957, allocations: 85.52 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.5958, allocations: 9.219 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5958, allocations: 0 / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.5958, allocations: 316.9 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.5959, allocations: 29.58 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.596, allocations: 28.81 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.5962, allocations: 57.31 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5962, allocations: 1.406 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.5964, allocations: 86.89 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5964, allocations: 8.688 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5964, allocations: 2.062 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.5965, allocations: 0 / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.5966, allocations: 22.92 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5966, allocations: 1.281 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.5966, allocations: 17.84 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.5967, allocations: 1 kB / 1.026 GB, free: 54.78 MB / 0.698 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 (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 5.519e-05/0.5967, allocations: 112.6 kB / 1.026 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.5967, allocations: 3.969 kB / 1.026 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.597, allocations: 97.62 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.597, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.597, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.597, allocations: 1.078 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.5972, allocations: 167.2 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5972, allocations: 0.6094 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.5973, allocations: 17.58 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5973, allocations: 7.938 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5973, allocations: 1.875 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5973, allocations: 1.719 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5973, allocations: 1.078 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.5975, allocations: 189.3 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.5975, allocations: 80.11 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.5976, allocations: 6.25 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.5977, allocations: 9.891 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.5977, allocations: 7.422 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5977, allocations: 1.031 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.832e-05/0.5977, allocations: 88.33 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5978, allocations: 0 / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002233/0.598, allocations: 18.81 kB / 1.027 GB, free: 54.07 MB / 0.698 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 0.0001496/0.5981, allocations: 126.2 kB / 1.027 GB, free: 53.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.5984, allocations: 58.92 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5984, allocations: 4 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/0.5985, allocations: 30.67 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.5988, allocations: 8.406 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.5991, allocations: 132.3 kB / 1.027 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5992, allocations: 0.6821 MB / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.5993, allocations: 4.688 kB / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.5993, allocations: 11.44 kB / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5993, allocations: 0 / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of Templates: time 0.003084/0.6024, allocations: 0.8758 MB / 1.029 GB, free: 53.05 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)