Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001166/0.001166, allocations: 182.4 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205 MB / 0.6353 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 100.9 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009472/0.0009473, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2358, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003099/0.239, allocations: 1.596 MB / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.2395, allocations: 172.3 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.2395, allocations: 8 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.2396, allocations: 7.922 kB / 0.984 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.2396, allocations: 0 / 0.984 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.2399, allocations: 39.89 kB / 0.984 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.24, allocations: 35.92 kB / 0.984 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.2401, allocations: 12 kB / 0.984 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.2402, allocations: 15.92 kB / 0.984 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.2402, allocations: 19.91 kB / 0.9841 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2402, allocations: 8 kB / 0.9841 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.2403, allocations: 39.97 kB / 0.9841 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.2404, allocations: 11.98 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.2404, allocations: 19.86 kB / 0.9841 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2405, allocations: 55.84 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2406, allocations: 0 / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2406, allocations: 0 / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2406, allocations: 0 / 0.9842 GB, free: 8.352 MB / 0.7136 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.0004687/0.241, allocations: 359.7 kB / 0.9845 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2411, allocations: 12.03 kB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.2411, allocations: 8.844 kB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2413, allocations: 160.4 kB / 0.9847 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2413, allocations: 8.359 kB / 0.9847 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2413, allocations: 384 / 0.9847 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2415, allocations: 70.16 kB / 0.9848 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2415, allocations: 192 / 0.9848 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2415, allocations: 7.875 kB / 0.9848 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2415, allocations: 0 / 0.9848 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2417, allocations: 47.95 kB / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.2421, allocations: 284.7 kB / 0.9851 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.2424, allocations: 58.48 kB / 0.9852 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2425, allocations: 40.83 kB / 0.9852 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.2427, allocations: 162.2 kB / 0.9854 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2428, allocations: 38.56 kB / 0.9854 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2428, allocations: 0 / 0.9854 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003622/0.2432, allocations: 93.56 kB / 0.9855 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2432, allocations: 55.41 kB / 0.9855 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.2433, allocations: 113.9 kB / 0.9857 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2433, allocations: 29.7 kB / 0.9857 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.2434, allocations: 84.05 kB / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.2434, allocations: 7.906 kB / 0.9858 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.2434, allocations: 17.7 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.2435, allocations: 322.8 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.2436, allocations: 15.98 kB / 0.9861 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.2437, allocations: 23.97 kB / 0.9861 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.2438, allocations: 40.83 kB / 0.9862 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2439, allocations: 4 kB / 0.9862 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002112/0.2441, allocations: 77.58 kB / 0.9862 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2441, allocations: 8 kB / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2441, allocations: 4 kB / 0.9863 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2441, allocations: 0 / 0.9863 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.2442, allocations: 11.98 kB / 0.9863 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2442, allocations: 0 / 0.9863 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.2443, allocations: 7.984 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2443, allocations: 0 / 0.9863 GB, free: 5.957 MB / 0.7136 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 7.568e-05/0.2444, allocations: 121.8 kB / 0.9864 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2444, allocations: 3.906 kB / 0.9864 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2447, allocations: 89.81 kB / 0.9865 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2447, allocations: 4.031 kB / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2447, allocations: 0 / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2447, allocations: 0 / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2449, allocations: 169.6 kB / 0.9866 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2449, allocations: 0 / 0.9866 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.2449, allocations: 11.98 kB / 0.9867 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.245, allocations: 0 / 0.9867 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.245, allocations: 7.938 kB / 0.9867 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.245, allocations: 4 kB / 0.9867 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.245, allocations: 0 / 0.9867 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.2455, allocations: 0.7395 MB / 0.9874 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2456, allocations: 85.02 kB / 0.9875 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2456, allocations: 4 kB / 0.9875 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.2457, allocations: 3.984 kB / 0.9875 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.2457, allocations: 15.92 kB / 0.9875 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2458, allocations: 4 kB / 0.9875 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.2458, allocations: 87.27 kB / 0.9876 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2458, allocations: 0 / 0.9876 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003218/0.2461, allocations: 27.94 kB / 0.9876 GB, free: 4.441 MB / 0.7136 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.0001958/0.2463, allocations: 111.2 kB / 0.9877 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2466, allocations: 51.89 kB / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2466, allocations: 0 / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.2467, allocations: 23.98 kB / 0.9878 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.247, allocations: 0 / 0.9878 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.2474, allocations: 233.9 kB / 0.988 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2476, allocations: 0.6887 MB / 0.9887 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.2477, allocations: 4 kB / 0.9887 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.2477, allocations: 7.438 kB / 0.9887 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2477, allocations: 0 / 0.9887 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of Templates: time 0.003027/0.2507, allocations: 0.9115 MB / 0.9896 GB, free: 2.352 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)