Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7355/0.7355, 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.001028/0.001028, allocations: 188.6 kB / 188.5 MB, free: 15.81 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.379/1.379, allocations: 205.4 MB / 426.3 MB, free: 8.457 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.0007682/0.0007682, allocations: 86.36 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001641/0.001641, allocations: 273.1 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 16 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 79.31 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4653, allocations: 106.8 MB / 0.8438 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4656, allocations: 79.94 kB / 0.8438 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003731/0.4694, allocations: 1.22 MB / 0.845 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4694, allocations: 0 / 0.845 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4694, allocations: 4 kB / 0.845 GB, free: 2.113 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004199/0.4699, allocations: 351.5 kB / 0.8454 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4699, allocations: 8.031 kB / 0.8454 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.47, allocations: 12.84 kB / 0.8454 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4701, allocations: 164.3 kB / 0.8455 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.4704, allocations: 289.5 kB / 0.8458 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4704, allocations: 12.36 kB / 0.8458 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.4706, allocations: 74.2 kB / 0.8459 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4707, allocations: 7.938 kB / 0.8459 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4707, allocations: 0 / 0.8459 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4707, allocations: 7.984 kB / 0.8459 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.471, allocations: 131.8 kB / 0.846 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.4712, allocations: 177.6 kB / 0.8462 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4715, allocations: 94.45 kB / 0.8463 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4716, allocations: 40.84 kB / 0.8463 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.4717, allocations: 11.98 kB / 0.8463 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4717, allocations: 34.88 kB / 0.8464 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 2.816e-06/0.4717, allocations: 0 / 0.8464 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0005118/0.4722, allocations: 149.3 kB / 0.8465 GB, free: 356 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4723, allocations: 67.33 kB / 0.8466 GB, free: 276 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.578e-05/0.4723, allocations: 89.86 kB / 0.8467 GB, free: 176 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4724, allocations: 25.7 kB / 0.8467 GB, free: 144 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.4724, allocations: 80.14 kB / 0.8468 GB, free: 60 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.4724, allocations: 31.56 kB / 0.8468 GB, free: 28 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.4725, allocations: 4 kB / 0.8468 GB, free: 24 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4726, allocations: 318.8 kB / 0.8471 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4727, allocations: 31.97 kB / 0.8471 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4729, allocations: 35.86 kB / 0.8472 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.4731, allocations: 72.81 kB / 0.8472 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4731, allocations: 0 / 0.8472 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003059/0.4734, allocations: 113.5 kB / 0.8474 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4735, allocations: 15.92 kB / 0.8474 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4735, allocations: 7.875 kB / 0.8474 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4735, allocations: 0 / 0.8474 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.4736, allocations: 23.98 kB / 0.8474 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4737, allocations: 0 / 0.8474 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.4737, allocations: 4 kB / 0.8474 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4737, allocations: 7.984 kB / 0.8474 GB, free: 15.39 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.794e-05/0.4738, allocations: 113.8 kB / 0.8475 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.4739, allocations: 7.844 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.4739, allocations: 19.95 kB / 0.8475 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4739, allocations: 4 kB / 0.8475 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4739, allocations: 0 / 0.8475 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4739, allocations: 0 / 0.8475 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.4741, allocations: 177.6 kB / 0.8477 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4741, allocations: 0 / 0.8477 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4742, allocations: 27.91 kB / 0.8477 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4742, allocations: 3.938 kB / 0.8477 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.4743, allocations: 4 kB / 0.8478 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4743, allocations: 0 / 0.8478 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4743, allocations: 4 kB / 0.8478 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.4746, allocations: 141.8 kB / 0.8479 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.4747, allocations: 84.95 kB / 0.848 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4747, allocations: 7.938 kB / 0.848 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.4747, allocations: 4 kB / 0.848 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.4748, allocations: 15.97 kB / 0.848 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4748, allocations: 4 kB / 0.848 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.4749, allocations: 87.22 kB / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4749, allocations: 0 / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002123/0.4751, allocations: 23.98 kB / 0.8481 GB, free: 14.57 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002044/0.4753, allocations: 127.2 kB / 0.8482 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.4756, allocations: 80.05 kB / 0.8483 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4756, allocations: 0 / 0.8483 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4758, allocations: 52.06 kB / 0.8484 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.4759, allocations: 12 kB / 0.8484 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.4763, allocations: 166.6 kB / 0.8485 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.4766, allocations: 0.6809 MB / 0.8492 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.4767, allocations: 47.86 kB / 0.8492 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.4768, allocations: 19.42 kB / 0.8493 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of SimCode: time 4.41e-07/0.4768, allocations: 0 / 0.8493 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.003193/0.48, allocations: 0.9547 MB / 0.8502 GB, free: 12.38 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)