Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 192.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 0.5484 GB, free: 13.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.11 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2298, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001928/0.2318, allocations: 0.647 MB / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004228/0.2322, allocations: 115.6 kB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.2323, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.2323, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.2323, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.2326, allocations: 31.91 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2328, allocations: 63.92 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.2328, allocations: 12 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.2329, allocations: 19.98 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.2329, allocations: 23.95 kB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2329, allocations: 4 kB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.2331, allocations: 43.97 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.2331, allocations: 23.91 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2332, allocations: 23.91 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.2333, allocations: 71.83 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2333, allocations: 4 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2333, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2333, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005272/0.2339, allocations: 363.9 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2339, allocations: 8.031 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.234, allocations: 12.84 kB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.2341, allocations: 176.2 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.2343, allocations: 273.6 kB / 0.7845 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.2344, allocations: 8.375 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.2346, allocations: 86.06 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2346, allocations: 3.938 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2347, allocations: 12 kB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2347, allocations: 0 / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.235, allocations: 127.8 kB / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.2352, allocations: 177.7 kB / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.2355, allocations: 98.45 kB / 0.785 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.2356, allocations: 40.83 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2357, allocations: 7.984 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2357, allocations: 34.56 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2357, allocations: 0 / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0005255/0.2362, allocations: 165.6 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2363, allocations: 51.41 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.2363, allocations: 89.86 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2363, allocations: 25.7 kB / 0.7854 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.2364, allocations: 80.14 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.2364, allocations: 31.55 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.2365, allocations: 37.7 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2366, allocations: 310.8 kB / 0.7858 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2367, allocations: 35.97 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2369, allocations: 31.97 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.2371, allocations: 76.75 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2372, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003232/0.2375, allocations: 118.1 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2375, allocations: 11.94 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2375, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2375, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2377, allocations: 23.98 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2377, allocations: 3.984 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.2378, allocations: 7.938 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2378, allocations: 7.938 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001565/0.238, allocations: 121.8 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.238, allocations: 7.844 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.238, allocations: 11.97 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.238, allocations: 4 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2381, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2381, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.2382, allocations: 173.6 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2382, allocations: 0 / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.2383, allocations: 31.91 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2384, allocations: 3.938 kB / 0.7865 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2384, allocations: 4 kB / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2384, allocations: 4 kB / 0.7865 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2384, allocations: 4 kB / 0.7865 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.2387, allocations: 145 kB / 0.7866 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2388, allocations: 85.05 kB / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2388, allocations: 7.938 kB / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.2389, allocations: 7.984 kB / 0.7867 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.2389, allocations: 23.91 kB / 0.7868 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.2389, allocations: 0 / 0.7868 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.239, allocations: 83.27 kB / 0.7868 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.239, allocations: 4 kB / 0.7868 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002224/0.2392, allocations: 24 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001722/0.2394, allocations: 115.2 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.2398, allocations: 79.94 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2398, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2399, allocations: 55.84 kB / 0.7871 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.2401, allocations: 10.03 kB / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.2404, allocations: 170.7 kB / 0.7873 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.2408, allocations: 0.6809 MB / 0.7879 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000166/0.2409, allocations: 39.95 kB / 0.788 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.241, allocations: 15.42 kB / 0.788 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/0.241, allocations: 0 / 0.788 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.002836/0.2438, allocations: 0.9776 MB / 0.789 GB, free: 7.176 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)