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.0009338/0.0009338, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009291/0.0009291, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.153/1.153, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.294/1.294, allocations: 251.6 MB / 0.5089 GB, free: 3.293 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.001277/0.001277, allocations: 67.91 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4146, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002462/0.4171, allocations: 1.587 MB / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003799/0.4175, allocations: 184.3 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.4175, allocations: 0 / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.4176, allocations: 3.938 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.4176, allocations: 0 / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.4179, allocations: 51.89 kB / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.418, allocations: 35.92 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4181, allocations: 15.97 kB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.4182, allocations: 19.94 kB / 0.7258 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.4182, allocations: 15.92 kB / 0.7258 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.4182, allocations: 4 kB / 0.7259 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.4183, allocations: 43.95 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.4184, allocations: 11.98 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.4184, allocations: 19.86 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.4185, allocations: 59.86 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4185, allocations: 0 / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4185, allocations: 0 / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4186, allocations: 3.984 kB / 0.726 GB, free: 11.03 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.0004282/0.419, allocations: 361.3 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.419, allocations: 12.03 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4191, allocations: 4.922 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.4192, allocations: 168.4 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.4192, allocations: 4.375 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.4192, allocations: 8.375 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4194, allocations: 62.17 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.4194, allocations: 192 / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.4194, allocations: 7.938 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4194, allocations: 3.938 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.4196, allocations: 51.89 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.42, allocations: 280.7 kB / 0.7269 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.4203, allocations: 66.47 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.4204, allocations: 24.91 kB / 0.727 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.4206, allocations: 166.2 kB / 0.7272 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4206, allocations: 30.56 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4206, allocations: 0 / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003363/0.421, allocations: 101.5 kB / 0.7273 GB, free: 9.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.421, allocations: 51.41 kB / 0.7273 GB, free: 9.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.4211, allocations: 117.8 kB / 0.7274 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.4211, allocations: 25.7 kB / 0.7275 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.4211, allocations: 84.14 kB / 0.7275 GB, free: 9.195 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.4211, allocations: 11.84 kB / 0.7276 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.4212, allocations: 21.7 kB / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4213, allocations: 318.8 kB / 0.7279 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.4214, allocations: 23.97 kB / 0.7279 GB, free: 8.812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.4215, allocations: 15.98 kB / 0.7279 GB, free: 8.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4216, allocations: 48.81 kB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4216, allocations: 0 / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001893/0.4218, allocations: 73.66 kB / 0.728 GB, free: 8.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4218, allocations: 4 kB / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.4219, allocations: 3.938 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.4219, allocations: 0 / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.4219, allocations: 11.98 kB / 0.7281 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.422, allocations: 0 / 0.7281 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.422, allocations: 11.98 kB / 0.7281 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.422, allocations: 4 kB / 0.7281 GB, free: 8.633 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.305e-05/0.4221, allocations: 113.8 kB / 0.7282 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.4221, allocations: 8.234 kB / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.4224, allocations: 85.53 kB / 0.7283 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4224, allocations: 0 / 0.7283 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4224, allocations: 0 / 0.7283 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4224, allocations: 4 kB / 0.7283 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.4225, allocations: 165.6 kB / 0.7284 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4225, allocations: 7.938 kB / 0.7284 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.4226, allocations: 15.94 kB / 0.7284 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4226, allocations: 4 kB / 0.7285 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4226, allocations: 3.984 kB / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4227, allocations: 0 / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4227, allocations: 4 kB / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.4229, allocations: 167.5 kB / 0.7286 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.423, allocations: 88.95 kB / 0.7287 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.423, allocations: 7.984 kB / 0.7287 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.4231, allocations: 0 / 0.7287 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4231, allocations: 11.98 kB / 0.7287 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.4231, allocations: 4 kB / 0.7287 GB, free: 7.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.4232, allocations: 83.28 kB / 0.7288 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4232, allocations: 0 / 0.7288 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002288/0.4234, allocations: 19.98 kB / 0.7288 GB, free: 7.75 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.0001566/0.4236, allocations: 123.2 kB / 0.7289 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.4238, allocations: 47.95 kB / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.4238, allocations: 0 / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.4239, allocations: 23.98 kB / 0.729 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.4241, allocations: 3.938 kB / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.4244, allocations: 145.3 kB / 0.7292 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.4246, allocations: 0.6768 MB / 0.7298 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.4246, allocations: 4 kB / 0.7298 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.4247, allocations: 11.44 kB / 0.7298 GB, free: 6.656 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4247, allocations: 0 / 0.7298 GB, free: 6.656 MB / 0.545 GB Notification: Performance of Templates: time 0.002664/0.4273, allocations: 0.913 MB / 0.7307 GB, free: 5.75 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)