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.001502/0.001502, allocations: 100.4 kB / 16.27 MB, free: 6.41 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.002/0.002, allocations: 191.5 kB / 17.2 MB, free: 5.973 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.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001423/0.001423, allocations: 67.89 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2786, allocations: 114.6 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002062/0.2807, allocations: 0.5747 MB / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.2811, allocations: 115.6 kB / 0.7847 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.2812, allocations: 0 / 0.7847 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.2812, allocations: 0 / 0.7847 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.2812, allocations: 0 / 0.7847 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2816, allocations: 35.89 kB / 0.7847 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2818, allocations: 63.92 kB / 0.7848 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.2818, allocations: 4 kB / 0.7848 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2818, allocations: 19.98 kB / 0.7848 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.2819, allocations: 27.89 kB / 0.7849 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2819, allocations: 4 kB / 0.7849 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2821, allocations: 51.97 kB / 0.7849 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2821, allocations: 19.97 kB / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.2821, allocations: 23.84 kB / 0.785 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2823, allocations: 75.83 kB / 0.785 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2823, allocations: 0 / 0.785 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2823, allocations: 0 / 0.785 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2823, allocations: 0 / 0.785 GB, free: 2.824 MB / 0.6544 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.0005387/0.2829, allocations: 367.8 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2829, allocations: 12.03 kB / 0.7854 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.283, allocations: 8.844 kB / 0.7854 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2831, allocations: 176.2 kB / 0.7856 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.2834, allocations: 277.6 kB / 0.7858 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2834, allocations: 4.375 kB / 0.7858 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2836, allocations: 82.19 kB / 0.7859 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2837, allocations: 3.938 kB / 0.7859 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2837, allocations: 0 / 0.7859 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2837, allocations: 4 kB / 0.7859 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.284, allocations: 131.8 kB / 0.786 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.2842, allocations: 173.7 kB / 0.7862 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2845, allocations: 98.45 kB / 0.7863 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2847, allocations: 45.16 kB / 0.7863 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2847, allocations: 3.984 kB / 0.7864 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2847, allocations: 46.48 kB / 0.7864 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.2847, allocations: 0 / 0.7864 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0005301/0.2853, allocations: 145.5 kB / 0.7865 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2853, allocations: 63.34 kB / 0.7866 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.2854, allocations: 89.86 kB / 0.7867 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2854, allocations: 29.7 kB / 0.7867 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.2854, allocations: 80.14 kB / 0.7868 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.2855, allocations: 31.55 kB / 0.7868 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.2856, allocations: 25.7 kB / 0.7868 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2857, allocations: 318.8 kB / 0.7871 GB, free: 384 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2858, allocations: 31.91 kB / 0.7872 GB, free: 352 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.286, allocations: 40.41 kB / 0.7872 GB, free: 312 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2863, allocations: 72.97 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2863, allocations: 0 / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000328/0.2866, allocations: 117.5 kB / 0.7874 GB, free: 112 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2866, allocations: 7.938 kB / 0.7874 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2866, allocations: 0 / 0.7874 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2867, allocations: 7.938 kB / 0.7874 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2868, allocations: 23.97 kB / 0.7874 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2868, allocations: 3.938 kB / 0.7874 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.2869, allocations: 15.94 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2869, allocations: 4 kB / 0.7875 GB, free: 48 kB / 0.6544 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.3905/0.6774, allocations: 115.1 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.6775, allocations: 8.344 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.6775, allocations: 10.03 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6775, allocations: 4.25 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6776, allocations: 0 / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6776, allocations: 0 / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.6777, allocations: 175.1 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6777, allocations: 2.281 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.6779, allocations: 24 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.6779, allocations: 7.438 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6779, allocations: 2.438 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.678, allocations: 3.75 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.678, allocations: 7.203 kB / 0.7878 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.6783, allocations: 141.9 kB / 0.7879 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.6784, allocations: 87.33 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.6784, allocations: 0 / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.6785, allocations: 6.688 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.6785, allocations: 17.03 kB / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.6785, allocations: 3.719 kB / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.07e-05/0.6786, allocations: 75.28 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6786, allocations: 0.8438 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002597/0.6788, allocations: 29.48 kB / 0.7881 GB, free: 48.1 MB / 0.6544 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.000195/0.679, allocations: 120.1 kB / 0.7883 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.6794, allocations: 101.7 kB / 0.7884 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6794, allocations: 1.312 kB / 0.7884 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.6796, allocations: 47.48 kB / 0.7884 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.6797, allocations: 3.781 kB / 0.7884 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.6801, allocations: 183.4 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.6803, allocations: 0.6845 MB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.6803, allocations: 21.88 kB / 0.7893 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6803, allocations: 3.125 kB / 0.7893 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.003259/0.6836, allocations: 1.315 MB / 0.7906 GB, free: 47.16 MB / 0.6544 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)