Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009606/0.000961, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009667/0.0009668, allocations: 194.2 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.6 MB / 0.5088 GB, free: 3.301 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.6216 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3691, allocations: 104.7 MB / 0.7238 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002287/0.3714, allocations: 1.583 MB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.3718, allocations: 192.2 kB / 0.7255 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.3719, allocations: 0 / 0.7255 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.3719, allocations: 11.92 kB / 0.7255 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.372, allocations: 0 / 0.7255 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3722, allocations: 39.91 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.3722, allocations: 31.97 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.801e-05/0.3723, allocations: 15.94 kB / 0.7256 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.3723, allocations: 19.92 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.3724, allocations: 15.92 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3724, allocations: 4 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.3725, allocations: 39.95 kB / 0.7257 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.3725, allocations: 7.984 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.3725, allocations: 15.88 kB / 0.7257 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3727, allocations: 63.84 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3727, allocations: 0 / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3727, allocations: 4 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.515e-06/0.3727, allocations: 0 / 0.7258 GB, free: 11.05 MB / 0.545 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.0003956/0.3731, allocations: 365.3 kB / 0.7261 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.3731, allocations: 8.031 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.3731, allocations: 4.938 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.3732, allocations: 160.4 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3733, allocations: 384 / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3733, allocations: 8.375 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3734, allocations: 70.2 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3735, allocations: 192 / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3735, allocations: 15.88 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.3735, allocations: 0 / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3737, allocations: 43.95 kB / 0.7264 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.374, allocations: 284.7 kB / 0.7267 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.3743, allocations: 54.48 kB / 0.7268 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.3744, allocations: 28.89 kB / 0.7268 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.3746, allocations: 170.2 kB / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3746, allocations: 34.56 kB / 0.727 GB, free: 9.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3746, allocations: 0 / 0.727 GB, free: 9.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003282/0.3749, allocations: 97.53 kB / 0.7271 GB, free: 9.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.375, allocations: 51.41 kB / 0.7271 GB, free: 9.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.375, allocations: 113.8 kB / 0.7272 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3751, allocations: 25.7 kB / 0.7273 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.3751, allocations: 96.02 kB / 0.7274 GB, free: 9.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.3751, allocations: 11.84 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.3752, allocations: 13.72 kB / 0.7274 GB, free: 9.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.3753, allocations: 322.8 kB / 0.7277 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.3754, allocations: 19.98 kB / 0.7277 GB, free: 8.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.3754, allocations: 19.97 kB / 0.7277 GB, free: 8.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3756, allocations: 45.11 kB / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3756, allocations: 0 / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001962/0.3758, allocations: 81.62 kB / 0.7278 GB, free: 8.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.3758, allocations: 4 kB / 0.7279 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3758, allocations: 0 / 0.7279 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.3758, allocations: 4 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.3759, allocations: 11.92 kB / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3759, allocations: 4 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.376, allocations: 8 kB / 0.7279 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.376, allocations: 3.984 kB / 0.7279 GB, free: 8.648 MB / 0.545 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 6.558e-05/0.3761, allocations: 113.8 kB / 0.728 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3761, allocations: 7.906 kB / 0.728 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3763, allocations: 81.55 kB / 0.7281 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3764, allocations: 0 / 0.7281 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3764, allocations: 0 / 0.7281 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.3764, allocations: 4 kB / 0.7281 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3765, allocations: 173.7 kB / 0.7282 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3765, allocations: 0 / 0.7282 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.3766, allocations: 19.86 kB / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3766, allocations: 0 / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3766, allocations: 0 / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3766, allocations: 0 / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3766, allocations: 0 / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.3769, allocations: 183.4 kB / 0.7284 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.3769, allocations: 85.02 kB / 0.7285 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3769, allocations: 0 / 0.7285 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.377, allocations: 7.984 kB / 0.7285 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3771, allocations: 7.984 kB / 0.7285 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.3771, allocations: 0 / 0.7285 GB, free: 7.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.3771, allocations: 83.28 kB / 0.7286 GB, free: 7.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 0 / 0.7286 GB, free: 7.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002207/0.3773, allocations: 20 kB / 0.7286 GB, free: 7.773 MB / 0.545 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.0001372/0.3775, allocations: 119.2 kB / 0.7287 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3777, allocations: 43.89 kB / 0.7288 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3777, allocations: 4 kB / 0.7288 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.3778, allocations: 23.97 kB / 0.7288 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.378, allocations: 19.88 kB / 0.7288 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.3783, allocations: 131.1 kB / 0.729 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.3785, allocations: 0.6809 MB / 0.7296 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.3785, allocations: 0 / 0.7296 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.3785, allocations: 19.44 kB / 0.7296 GB, free: 6.676 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3786, allocations: 0 / 0.7296 GB, free: 6.676 MB / 0.545 GB Notification: Performance of Templates: time 0.002459/0.381, allocations: 0.8851 MB / 0.7305 GB, free: 5.797 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)