Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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) 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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.636/2.636, allocations: 287.3 MB / 302.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 177.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 96.88 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006845/0.0006846, allocations: 18.34 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2531, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001775/0.255, allocations: 1.243 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.2555, allocations: 173.4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.2556, allocations: 4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.2556, allocations: 3.938 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.2557, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.256, allocations: 35.89 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.2561, allocations: 19.97 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.2562, allocations: 12 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.2562, allocations: 15.92 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.2563, allocations: 15.92 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2563, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2564, allocations: 39.95 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.2564, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.2565, allocations: 45.56 kB / 0.9797 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2566, allocations: 35.92 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.2566, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2566, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2566, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 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.0004715/0.2571, allocations: 355.5 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2572, allocations: 16.02 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2572, allocations: 0 / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.2573, allocations: 174.9 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.2573, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2574, allocations: 8 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.2576, allocations: 61.67 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2576, allocations: 0 / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2577, allocations: 4 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2577, allocations: 3.938 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.258, allocations: 59.95 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.2584, allocations: 280.8 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.2589, allocations: 66.47 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.2592, allocations: 174.4 kB / 0.9809 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.2592, allocations: 34.5 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.036e-06/0.2592, allocations: 0 / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006047/0.2598, allocations: 117.5 kB / 0.9811 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2599, allocations: 55.41 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.26, allocations: 113.8 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.26, allocations: 25.7 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.26, allocations: 88.14 kB / 0.9813 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2601, allocations: 3.906 kB / 0.9813 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.2601, allocations: 3.938 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.2602, allocations: 322.8 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2603, allocations: 19.97 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2605, allocations: 23.98 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2607, allocations: 32.25 kB / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2607, allocations: 0 / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003574/0.261, allocations: 89.64 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2611, allocations: 4 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2611, allocations: 4 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2611, allocations: 0 / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2613, allocations: 15.98 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2613, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2614, allocations: 19.84 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2614, allocations: 4 kB / 0.9819 GB, free: 24.33 MB / 0.6198 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/0.2615, allocations: 115.8 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.2615, allocations: 8 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.2619, allocations: 89.55 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.262, allocations: 0 / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.262, allocations: 0 / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.262, allocations: 0 / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.2622, allocations: 173.6 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2622, allocations: 0 / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.2623, allocations: 11.98 kB / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2623, allocations: 4 kB / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.2624, allocations: 0 / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2624, allocations: 0 / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2624, allocations: 3.984 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.2628, allocations: 187.3 kB / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.2628, allocations: 85.05 kB / 0.9825 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2628, allocations: 0 / 0.9825 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.263, allocations: 15.98 kB / 0.9825 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.2631, allocations: 7.984 kB / 0.9825 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2631, allocations: 4 kB / 0.9825 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.2631, allocations: 83.28 kB / 0.9826 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2631, allocations: 3.938 kB / 0.9826 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003686/0.2635, allocations: 27.92 kB / 0.9826 GB, free: 23.43 MB / 0.6198 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 (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.0001926/0.2637, allocations: 103.2 kB / 0.9827 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.2641, allocations: 67.88 kB / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2641, allocations: 0 / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2643, allocations: 27.98 kB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2645, allocations: 6.141 kB / 0.9828 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.2649, allocations: 133.7 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2651, allocations: 0.6809 MB / 0.9836 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.2651, allocations: 4 kB / 0.9836 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.2652, allocations: 11.44 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/0.2652, allocations: 4 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.003817/0.269, allocations: 0.8526 MB / 0.9845 GB, free: 21.49 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)