Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001709/0.001709, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002206/0.002207, allocations: 190.9 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.55 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.305, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001751/0.3068, allocations: 0.6523 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.3072, allocations: 113.7 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.3072, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3072, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.3072, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.3076, allocations: 27.92 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3077, allocations: 67.92 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.3078, allocations: 11.98 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.3078, allocations: 19.98 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.3078, allocations: 23.95 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3079, allocations: 4 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.308, allocations: 47.97 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.308, allocations: 31.89 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.3081, allocations: 19.92 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3082, allocations: 59.84 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3082, allocations: 4 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3082, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3082, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 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.00048/0.3087, allocations: 371.5 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3088, allocations: 11.97 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3088, allocations: 12.84 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.297e-05/0.3089, allocations: 168.6 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.3092, allocations: 285.5 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3092, allocations: 4.375 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3095, allocations: 82.14 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3095, allocations: 3.938 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3095, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3095, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.3099, allocations: 135.8 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.31, allocations: 181.6 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3104, allocations: 98.41 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.3105, allocations: 40.83 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3105, allocations: 8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3106, allocations: 30.56 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3106, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005388/0.3111, allocations: 157.7 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3112, allocations: 51.41 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.578e-05/0.3112, allocations: 93.86 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3112, allocations: 29.69 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.3113, allocations: 84.08 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3113, allocations: 31.56 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.3114, allocations: 29.7 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.3115, allocations: 314.8 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3116, allocations: 39.97 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3117, allocations: 27.98 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.312, allocations: 76.75 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.312, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003325/0.3124, allocations: 113.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3124, allocations: 13.33 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3124, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3124, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3126, allocations: 27.92 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3126, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.3127, allocations: 15.94 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3127, allocations: 3.984 kB / 1.071 GB, free: 6.941 MB / 0.8262 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 8.038e-05/0.3128, allocations: 117.8 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.3128, allocations: 15.81 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.3128, allocations: 11.97 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3128, allocations: 7.938 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3129, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3129, allocations: 3.938 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.313, allocations: 177.6 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.313, allocations: 0 / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3131, allocations: 31.91 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3131, allocations: 3.938 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3132, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3132, allocations: 4 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3132, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.3135, allocations: 137.8 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.3136, allocations: 85.02 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3136, allocations: 11.94 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.3137, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.3137, allocations: 15.97 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3138, allocations: 3.938 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.3138, allocations: 79.28 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3138, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00023/0.314, allocations: 24 kB / 1.072 GB, free: 6.125 MB / 0.8262 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.0002474/0.3143, allocations: 127.1 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.3147, allocations: 99.92 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3147, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3149, allocations: 47.95 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.315, allocations: 4 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.3155, allocations: 184.8 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3157, allocations: 0.6884 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.3159, allocations: 47.59 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.3159, allocations: 15.44 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3159, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of Templates: time 0.003335/0.3193, allocations: 0.9978 MB / 1.074 GB, free: 3.863 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)