Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.76/1.76, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 184.6 kB / 326.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 87.91 kB / 0.6803 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 15.58 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.000728/0.213, allocations: 335.2 kB / 0.8971 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004228/0.2134, allocations: 107.7 kB / 0.8972 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.2135, allocations: 0 / 0.8972 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.2135, allocations: 0 / 0.8972 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.2135, allocations: 11.94 kB / 0.8972 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.2139, allocations: 23.98 kB / 0.8972 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.214, allocations: 59.92 kB / 0.8973 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.214, allocations: 3.984 kB / 0.8973 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.2141, allocations: 23.92 kB / 0.8973 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.2141, allocations: 31.95 kB / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2142, allocations: 0 / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2143, allocations: 39.97 kB / 0.8974 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.2144, allocations: 23.95 kB / 0.8974 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.2144, allocations: 19.92 kB / 0.8974 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.2145, allocations: 47.88 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2145, allocations: 4 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2145, allocations: 0 / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2145, allocations: 0 / 0.8974 GB, free: 67.52 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.0004168/0.215, allocations: 355.7 kB / 0.8978 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.215, allocations: 8.031 kB / 0.8978 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.2151, allocations: 4.938 kB / 0.8978 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/0.2151, allocations: 173.1 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.2154, allocations: 277.6 kB / 0.8982 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2154, allocations: 8.375 kB / 0.8982 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.2156, allocations: 86.12 kB / 0.8983 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2156, allocations: 3.938 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2156, allocations: 0 / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2157, allocations: 3.938 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.216, allocations: 135.8 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.2161, allocations: 185.4 kB / 0.8986 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.2164, allocations: 98.45 kB / 0.8987 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.2165, allocations: 44.83 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2165, allocations: 8 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2166, allocations: 34.56 kB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2166, allocations: 0 / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004681/0.217, allocations: 153.8 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.2171, allocations: 51.41 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.225e-05/0.2171, allocations: 89.86 kB / 0.8991 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2171, allocations: 33.7 kB / 0.8991 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.061e-05/0.2171, allocations: 80.14 kB / 0.8992 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.2172, allocations: 39.44 kB / 0.8992 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.2172, allocations: 17.72 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.2173, allocations: 314.8 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.2174, allocations: 31.97 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2175, allocations: 31.97 kB / 0.8996 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.2178, allocations: 72.81 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2178, allocations: 8 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002967/0.2181, allocations: 114.2 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2181, allocations: 10.44 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2181, allocations: 4 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2181, allocations: 0 / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2183, allocations: 23.97 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2183, allocations: 0 / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.2184, allocations: 7.906 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2184, allocations: 4 kB / 0.8998 GB, free: 64.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.2184, allocations: 121.8 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.2185, allocations: 7.938 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.2185, allocations: 11.97 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2185, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2185, allocations: 0 / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2185, allocations: 3.938 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.356e-05/0.2186, allocations: 181.5 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2186, allocations: 0 / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2188, allocations: 19.98 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2188, allocations: 7.938 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2188, allocations: 11.98 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2188, allocations: 3.938 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2188, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.2191, allocations: 137.1 kB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.2191, allocations: 88.95 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2191, allocations: 11.92 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.2192, allocations: 7.938 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.2193, allocations: 11.98 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2193, allocations: 11.98 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.269e-05/0.2193, allocations: 75.28 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2193, allocations: 0 / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000203/0.2195, allocations: 20 kB / 0.9006 GB, free: 63.95 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 (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.0001768/0.2197, allocations: 127.2 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.22, allocations: 87.81 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.22, allocations: 4 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2201, allocations: 43.97 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.2203, allocations: 8 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.2206, allocations: 194.2 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2208, allocations: 0.6848 MB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.2208, allocations: 19.36 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2208, allocations: 4 kB / 0.9017 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.002613/0.2234, allocations: 1.308 MB / 0.903 GB, free: 61.41 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)