Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009483, allocations: 90.67 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.005996/0.005996, allocations: 172 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003994, allocations: 9.875 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001625/0.3192, allocations: 1.261 MB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.3197, allocations: 175.5 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.3197, allocations: 0 / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.3197, allocations: 0 / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.3198, allocations: 7.922 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3201, allocations: 39.95 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.3201, allocations: 39.92 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.3202, allocations: 8 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.3203, allocations: 15.91 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.3203, allocations: 15.92 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3203, allocations: 4 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3205, allocations: 39.97 kB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.3205, allocations: 7.922 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.3205, allocations: 41.62 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3206, allocations: 63.84 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3207, allocations: 0 / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3207, allocations: 0 / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.3207, allocations: 0 / 1.076 GB, free: 5.824 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000448/0.3211, allocations: 351.7 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3212, allocations: 8.031 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3212, allocations: 8.922 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3213, allocations: 184.1 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.3214, allocations: 4.375 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3214, allocations: 384 / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3216, allocations: 70.22 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3216, allocations: 192 / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3216, allocations: 3.938 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3216, allocations: 0 / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3219, allocations: 59.95 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.3222, allocations: 280.7 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3226, allocations: 70.53 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3227, allocations: 28.91 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.3229, allocations: 166.2 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.323, allocations: 38.55 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.323, allocations: 0 / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004155/0.3234, allocations: 117.5 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.3234, allocations: 51.41 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.3235, allocations: 109.8 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3235, allocations: 25.7 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.3236, allocations: 88.12 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3236, allocations: 3.906 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.3236, allocations: 13.72 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3238, allocations: 318.8 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3239, allocations: 31.97 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.324, allocations: 19.98 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3242, allocations: 64.75 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3242, allocations: 0 / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002551/0.3244, allocations: 81.66 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3245, allocations: 8 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3245, allocations: 4 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3245, allocations: 336 / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.3246, allocations: 11.98 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3246, allocations: 0 / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.3247, allocations: 19.89 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.3247, allocations: 0 / 1.078 GB, free: 3.363 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.023e-05/0.3248, allocations: 130.4 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3248, allocations: 0 / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.3251, allocations: 93.48 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3251, allocations: 4 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3251, allocations: 0 / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3251, allocations: 4 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3253, allocations: 173.6 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3253, allocations: 0 / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.3254, allocations: 15.92 kB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3254, allocations: 0 / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3254, allocations: 4 kB / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3254, allocations: 0 / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3254, allocations: 0 / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.3257, allocations: 191.3 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3258, allocations: 85.09 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3258, allocations: 0 / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.3259, allocations: 4 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3259, allocations: 11.98 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3259, allocations: 0 / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.326, allocations: 91.27 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.326, allocations: 0 / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002542/0.3263, allocations: 12 kB / 1.079 GB, free: 2.453 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001628/0.3264, allocations: 123.3 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3267, allocations: 55.95 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3267, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3268, allocations: 31.92 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3271, allocations: 19.86 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.3274, allocations: 136.5 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3276, allocations: 0.6809 MB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.3277, allocations: 0 / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3277, allocations: 11.44 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3277, allocations: 4 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.003139/0.3309, allocations: 0.8779 MB / 1.081 GB, free: 472 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)