Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.39/2.39, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 173.3 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.523/2.523, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009078/0.0009077, allocations: 92.05 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005096, allocations: 14.12 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2229, allocations: 106.3 MB / 0.8991 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007325/0.2237, allocations: 326.2 kB / 0.8994 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.2241, allocations: 100.9 kB / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.73e-05/0.2241, allocations: 0 / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2241, allocations: 0 / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-06/0.2241, allocations: 0 / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.2245, allocations: 19.92 kB / 0.8995 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2246, allocations: 63.91 kB / 0.8995 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.2247, allocations: 0 / 0.8995 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.2247, allocations: 27.92 kB / 0.8996 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.2248, allocations: 27.95 kB / 0.8996 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2248, allocations: 4 kB / 0.8996 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2249, allocations: 39.97 kB / 0.8996 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.225, allocations: 31.89 kB / 0.8997 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.225, allocations: 29.7 kB / 0.8997 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2252, allocations: 35.95 kB / 0.8997 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2252, allocations: 0 / 0.8997 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2252, allocations: 0 / 0.8997 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2252, allocations: 0 / 0.8997 GB, free: 64.67 MB / 0.6042 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.0005578/0.2258, allocations: 351.5 kB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2258, allocations: 12.03 kB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.2259, allocations: 8.938 kB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.226, allocations: 168.4 kB / 0.9002 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.2262, allocations: 273.6 kB / 0.9005 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.2263, allocations: 8.375 kB / 0.9005 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.2267, allocations: 90 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2267, allocations: 3.938 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.2267, allocations: 4 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2267, allocations: 4 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.2273, allocations: 131.8 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.2275, allocations: 189.7 kB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.228, allocations: 102.4 kB / 0.901 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2283, allocations: 40.83 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.2284, allocations: 4 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2284, allocations: 30.56 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 4.298e-06/0.2284, allocations: 4 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0008776/0.2293, allocations: 149.8 kB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.2293, allocations: 55.41 kB / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.74e-05/0.2294, allocations: 89.86 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2294, allocations: 25.7 kB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.381e-05/0.2294, allocations: 80.14 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.2295, allocations: 35.45 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.2295, allocations: 4 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.2296, allocations: 314.8 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.2298, allocations: 39.91 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2301, allocations: 35.97 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.2303, allocations: 31.98 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2304, allocations: 0 / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005829/0.2309, allocations: 113.6 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.231, allocations: 7.938 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.231, allocations: 0 / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.231, allocations: 3.984 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.2313, allocations: 23.98 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2313, allocations: 7.938 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2314, allocations: 7.906 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2315, allocations: 11.98 kB / 0.9021 GB, free: 61.98 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.939e-05/0.2316, allocations: 113.8 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.2316, allocations: 3.938 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.2317, allocations: 15.95 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2317, allocations: 4 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2317, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2317, allocations: 4 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2318, allocations: 181.5 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2319, allocations: 4 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.2321, allocations: 19.98 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2321, allocations: 3.938 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2321, allocations: 7.984 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2322, allocations: 7.938 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2322, allocations: 3.938 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.2327, allocations: 141.8 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.2328, allocations: 77.11 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2328, allocations: 11.94 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2329, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.233, allocations: 15.97 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.233, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.651e-05/0.2331, allocations: 75.28 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2331, allocations: 0 / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002943/0.2334, allocations: 28 kB / 0.9028 GB, free: 61.18 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.2336, allocations: 127.1 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.2342, allocations: 83.98 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2342, allocations: 0 / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.2345, allocations: 51.89 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.2347, allocations: 9.25 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.2352, allocations: 170.5 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.2354, allocations: 0.6829 MB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.2357, allocations: 43.81 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.2357, allocations: 15.44 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/0.2357, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.004039/0.2398, allocations: 0.9456 MB / 0.9048 GB, free: 59 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)