Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008473/0.0008472, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005464/0.005464, allocations: 173 kB / 16.26 MB, free: 6.676 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 473.4 MB / 0.7469 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 9.938 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3088, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007769/0.3097, allocations: 314.9 kB / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004473/0.3101, allocations: 113.8 kB / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.3102, allocations: 0 / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.3102, allocations: 0 / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-06/0.3102, allocations: 0 / 1.075 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.3106, allocations: 27.97 kB / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3107, allocations: 63.92 kB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.3107, allocations: 0 / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.3108, allocations: 27.98 kB / 1.075 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.3109, allocations: 23.95 kB / 1.075 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3109, allocations: 4 kB / 1.075 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.311, allocations: 47.95 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.3111, allocations: 19.92 kB / 1.075 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.3112, allocations: 49.61 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.3113, allocations: 71.83 kB / 1.075 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3113, allocations: 0 / 1.075 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3113, allocations: 0 / 1.075 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3113, allocations: 0 / 1.075 GB, free: 6.723 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.00047/0.3118, allocations: 351.6 kB / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3119, allocations: 8.031 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3119, allocations: 20.72 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.312, allocations: 164.6 kB / 1.075 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.3123, allocations: 281.6 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3123, allocations: 4.375 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3126, allocations: 82.14 kB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3126, allocations: 3.938 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3126, allocations: 0 / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.3126, allocations: 11.98 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.313, allocations: 139.7 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.3132, allocations: 169.7 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.3135, allocations: 90.53 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.3136, allocations: 44.83 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3137, allocations: 7.984 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3137, allocations: 34.56 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3137, allocations: 0 / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005421/0.3142, allocations: 157.7 kB / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.3143, allocations: 51.41 kB / 1.076 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.036e-05/0.3143, allocations: 89.86 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3144, allocations: 37.69 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.3144, allocations: 80.14 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.3144, allocations: 27.56 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3145, allocations: 21.7 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.3146, allocations: 314.8 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3147, allocations: 35.97 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3149, allocations: 31.97 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.3151, allocations: 73.42 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3152, allocations: 0 / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003452/0.3155, allocations: 125.4 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3155, allocations: 7.938 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3155, allocations: 0 / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3156, allocations: 4 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3157, allocations: 23.98 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3157, allocations: 0 / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.3158, allocations: 11.92 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3158, allocations: 0 / 1.077 GB, free: 3.98 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.697e-05/0.3159, allocations: 121.8 kB / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.3159, allocations: 11.84 kB / 1.077 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.316, allocations: 11.97 kB / 1.077 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.316, allocations: 8 kB / 1.077 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.316, allocations: 3.938 kB / 1.077 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.316, allocations: 3.938 kB / 1.077 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3161, allocations: 173.6 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3162, allocations: 0 / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3163, allocations: 27.97 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3163, allocations: 3.938 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3163, allocations: 4 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3163, allocations: 4 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3163, allocations: 4 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.3167, allocations: 141 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.3167, allocations: 81.02 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3168, allocations: 11.94 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.3168, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.3169, allocations: 15.97 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3169, allocations: 7.938 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.3169, allocations: 75.28 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3169, allocations: 0 / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002292/0.3172, allocations: 28 kB / 1.078 GB, free: 3.156 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.0001899/0.3174, allocations: 119.2 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3177, allocations: 83.88 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3177, allocations: 0 / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3179, allocations: 51.95 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3181, allocations: 4 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.3184, allocations: 178.6 kB / 1.078 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3187, allocations: 0.6848 MB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.3188, allocations: 47.59 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.3189, allocations: 11.44 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3189, allocations: 0 / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of Templates: time 0.00328/0.3222, allocations: 0.9763 MB / 1.08 GB, free: 0.9492 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)