Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.000848/0.000848, allocations: 91.06 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.006362/0.006362, allocations: 169.6 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.389/1.389, 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.894/2.894, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 15.97 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3246, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001728/0.3263, allocations: 1.265 MB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.3268, allocations: 175.5 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.3269, allocations: 0 / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.3269, allocations: 0 / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.3269, allocations: 7.922 kB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.3272, allocations: 35.97 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.3273, allocations: 35.91 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.3274, allocations: 19.98 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.3274, allocations: 11.92 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.3274, allocations: 11.94 kB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3275, allocations: 4 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3276, allocations: 43.94 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.3276, allocations: 7.938 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.3276, allocations: 41.62 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3278, allocations: 55.84 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3278, allocations: 0 / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3278, allocations: 7.938 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3278, allocations: 0 / 1.076 GB, free: 5.809 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.0005005/0.3283, allocations: 355.7 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3284, allocations: 8.031 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.3284, allocations: 4.938 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3286, allocations: 176.2 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3286, allocations: 4.375 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3286, allocations: 4.375 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3289, allocations: 70.22 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.3289, allocations: 192 / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3289, allocations: 7.938 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3289, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3291, allocations: 59.95 kB / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3295, allocations: 280.7 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.3299, allocations: 62.52 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.33, allocations: 36.91 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.3302, allocations: 170.2 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3303, allocations: 30.56 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 3.647e-06/0.3303, allocations: 0 / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004246/0.3307, allocations: 117.5 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3308, allocations: 55.41 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.3309, allocations: 105.8 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3309, allocations: 29.7 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.3309, allocations: 88.14 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.331, allocations: 3.906 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.331, allocations: 17.7 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3311, allocations: 318.8 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.3312, allocations: 19.98 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.3313, allocations: 31.97 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.3315, allocations: 60.75 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3315, allocations: 0 / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002315/0.3318, allocations: 85.66 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3318, allocations: 4 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3318, allocations: 0 / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3318, allocations: 4 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.3319, allocations: 11.98 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3319, allocations: 4 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.332, allocations: 15.89 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.332, allocations: 0 / 1.078 GB, free: 3.348 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 0.0001141/0.3321, allocations: 121.7 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3322, allocations: 0 / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3325, allocations: 101.5 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3325, allocations: 3.938 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3325, allocations: 0 / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3325, allocations: 4 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.3326, allocations: 165.6 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3327, allocations: 4 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.3327, allocations: 15.98 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3327, allocations: 0 / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3328, allocations: 0 / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3328, allocations: 3.984 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3328, allocations: 4 kB / 1.078 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3331, allocations: 187.7 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.3331, allocations: 77.16 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3331, allocations: 11.98 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.3332, allocations: 7.984 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3333, allocations: 7.984 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3333, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.074e-05/0.3333, allocations: 91.34 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3333, allocations: 4 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.3336, allocations: 15.98 kB / 1.079 GB, free: 2.43 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.0001564/0.3338, allocations: 115.2 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.334, allocations: 59.94 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.334, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3341, allocations: 31.92 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3344, allocations: 12.97 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.3347, allocations: 144.5 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.335, allocations: 0.677 MB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.335, allocations: 4 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3351, allocations: 11.44 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3351, allocations: 0 / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.00298/0.3381, allocations: 0.8832 MB / 1.081 GB, free: 452 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)