Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.719/0.719, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 177.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007233/0.0007234, allocations: 86.3 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001589/0.001589, allocations: 267.1 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.000436, allocations: 24 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3508, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4775, allocations: 107.8 MB / 0.8447 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4778, allocations: 83.94 kB / 0.8448 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003933/0.4817, allocations: 1.33 MB / 0.8461 GB, free: 1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4818, allocations: 0 / 0.8461 GB, free: 1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.4818, allocations: 0 / 0.8461 GB, free: 1 MB / 0.5105 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.0003998/0.4822, allocations: 363.4 kB / 0.8465 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4822, allocations: 8.031 kB / 0.8465 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.4823, allocations: 12.92 kB / 0.8465 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4824, allocations: 168.3 kB / 0.8466 GB, free: 380 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4824, allocations: 8.312 kB / 0.8466 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4825, allocations: 4.312 kB / 0.8467 GB, free: 368 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4827, allocations: 74.16 kB / 0.8467 GB, free: 288 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4827, allocations: 4.188 kB / 0.8467 GB, free: 284 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4827, allocations: 7.938 kB / 0.8467 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4827, allocations: 0 / 0.8467 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.4829, allocations: 51.95 kB / 0.8468 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.4834, allocations: 280.8 kB / 0.8471 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.4837, allocations: 62.47 kB / 0.8471 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4838, allocations: 32.91 kB / 0.8471 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.4842, allocations: 413.5 kB / 0.8475 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4842, allocations: 30.56 kB / 0.8476 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.4842, allocations: 0 / 0.8476 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003905/0.4846, allocations: 113.5 kB / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.4847, allocations: 55.34 kB / 0.8477 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.4848, allocations: 109.8 kB / 0.8478 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4848, allocations: 25.7 kB / 0.8479 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.4848, allocations: 88.12 kB / 0.8479 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.4849, allocations: 11.84 kB / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.4849, allocations: 0 / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.485, allocations: 322.8 kB / 0.8483 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.4851, allocations: 27.97 kB / 0.8483 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.4852, allocations: 19.98 kB / 0.8483 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4853, allocations: 60.81 kB / 0.8484 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4853, allocations: 3.938 kB / 0.8484 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002078/0.4856, allocations: 89.59 kB / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4856, allocations: 4 kB / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4856, allocations: 0 / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4856, allocations: 0 / 0.8485 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.4857, allocations: 15.98 kB / 0.8485 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4857, allocations: 0 / 0.8485 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.4858, allocations: 19.89 kB / 0.8485 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4858, allocations: 320 / 0.8485 GB, free: 14.25 MB / 0.5261 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,bin.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/0.4859, allocations: 113.8 kB / 0.8486 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4859, allocations: 4 kB / 0.8486 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4862, allocations: 97.86 kB / 0.8487 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4862, allocations: 0 / 0.8487 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4862, allocations: 0 / 0.8487 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4862, allocations: 4.031 kB / 0.8487 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.4864, allocations: 177.5 kB / 0.8489 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4864, allocations: 0 / 0.8489 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.4865, allocations: 15.98 kB / 0.8489 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4865, allocations: 3.938 kB / 0.8489 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4865, allocations: 0 / 0.8489 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4865, allocations: 4 kB / 0.8489 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4865, allocations: 0 / 0.8489 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.4867, allocations: 185.5 kB / 0.8491 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.4868, allocations: 89.09 kB / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4868, allocations: 0 / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.4869, allocations: 12 kB / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.487, allocations: 3.984 kB / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.487, allocations: 4 kB / 0.8492 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.487, allocations: 91.2 kB / 0.8493 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.487, allocations: 0 / 0.8493 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002304/0.4873, allocations: 24 kB / 0.8493 GB, free: 13.33 MB / 0.5261 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 (bin.y,bin.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.4875, allocations: 131.2 kB / 0.8494 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.4878, allocations: 51.95 kB / 0.8495 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4878, allocations: 4 kB / 0.8495 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.488, allocations: 27.97 kB / 0.8495 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4883, allocations: 11.94 kB / 0.8495 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.4886, allocations: 120.6 kB / 0.8496 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.4888, allocations: 0.6848 MB / 0.8503 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.4889, allocations: 8 kB / 0.8503 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.4889, allocations: 11.44 kB / 0.8503 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.4889, allocations: 0 / 0.8503 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.003143/0.4921, allocations: 0.8758 MB / 0.8512 GB, free: 11.36 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)