Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 165.5 kB / 24.96 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9129/0.9129, allocations: 177.2 MB / 205.4 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.025/2.025, allocations: 389.6 MB / 0.6362 GB, free: 13.36 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.776 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.821e-05, allocations: 6.25 kB / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003034/0.003062, allocations: 1.644 MB / 0.7776 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.003427, allocations: 187.3 kB / 0.7778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.003465, allocations: 0 / 0.7778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.003492, allocations: 3.984 kB / 0.7778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.00354, allocations: 11.88 kB / 0.7778 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.003814, allocations: 43.81 kB / 0.7778 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.003876, allocations: 43.91 kB / 0.7779 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.003949, allocations: 7.984 kB / 0.7779 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.003995, allocations: 23.92 kB / 0.7779 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.004029, allocations: 15.97 kB / 0.7779 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.004042, allocations: 4 kB / 0.7779 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.004175, allocations: 51.94 kB / 0.778 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.004188, allocations: 11.98 kB / 0.778 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.004207, allocations: 11.94 kB / 0.778 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.004356, allocations: 67.77 kB / 0.7781 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004358, allocations: 0 / 0.7781 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00436, allocations: 0 / 0.7781 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.004363, allocations: 11.94 kB / 0.7781 GB, free: 11.79 MB / 0.7448 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.0003053/0.004669, allocations: 244.9 kB / 0.7783 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.004702, allocations: 8.031 kB / 0.7783 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.00473, allocations: 8.938 kB / 0.7783 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.004813, allocations: 113.7 kB / 0.7784 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.004831, allocations: 384 / 0.7784 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-06/0.004838, allocations: 4.375 kB / 0.7784 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00496, allocations: 70.86 kB / 0.7785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004968, allocations: 192 / 0.7785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004976, allocations: 384 / 0.7785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.004982, allocations: 4.375 kB / 0.7785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.005006, allocations: 11.94 kB / 0.7785 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.005254, allocations: 160.3 kB / 0.7787 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.005385, allocations: 38.5 kB / 0.7787 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.005398, allocations: 8.859 kB / 0.7787 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.005517, allocations: 19.97 kB / 0.7787 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.005532, allocations: 38.56 kB / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005533, allocations: 0 / 0.7788 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001072/0.00564, allocations: 53.61 kB / 0.7788 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.005662, allocations: 51.41 kB / 0.7789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.005714, allocations: 110.8 kB / 0.779 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.005723, allocations: 25.7 kB / 0.779 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.005753, allocations: 95.91 kB / 0.7791 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.005774, allocations: 11.94 kB / 0.7791 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.005804, allocations: 21.7 kB / 0.7791 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.00589, allocations: 310.8 kB / 0.7794 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.005901, allocations: 4.25 kB / 0.7794 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.527e-06/0.005911, allocations: 3.984 kB / 0.7794 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.005941, allocations: 24.84 kB / 0.7795 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.005943, allocations: 0 / 0.7795 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.948e-05/0.005992, allocations: 41.69 kB / 0.7795 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006005, allocations: 4 kB / 0.7795 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.00601, allocations: 3.938 kB / 0.7795 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.006021, allocations: 3.984 kB / 0.7795 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.006068, allocations: 11.94 kB / 0.7795 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.006071, allocations: 0 / 0.7795 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.006089, allocations: 4 kB / 0.7795 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.006094, allocations: 3.984 kB / 0.7795 GB, free: 10.14 MB / 0.7448 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 5.048e-05/0.006144, allocations: 113.8 kB / 0.7796 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.006157, allocations: 4 kB / 0.7796 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.006227, allocations: 53.3 kB / 0.7797 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006229, allocations: 0 / 0.7797 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.006231, allocations: 0 / 0.7797 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006233, allocations: 0 / 0.7797 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.814e-05/0.006312, allocations: 65.91 kB / 0.7798 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006313, allocations: 0 / 0.7798 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.006343, allocations: 15.92 kB / 0.7798 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006344, allocations: 0 / 0.7798 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.006348, allocations: 4 kB / 0.7798 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006349, allocations: 0 / 0.7798 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.006351, allocations: 3.938 kB / 0.7798 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.006422, allocations: 135.5 kB / 0.7799 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006431, allocations: 11.94 kB / 0.7799 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.006438, allocations: 0 / 0.7799 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.006465, allocations: 0 / 0.7799 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.006499, allocations: 15.92 kB / 0.7799 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006502, allocations: 0 / 0.7799 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.247e-05/0.006514, allocations: 16.8 kB / 0.7799 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006514, allocations: 0 / 0.7799 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001394/0.006654, allocations: 31.92 kB / 0.78 GB, free: 9.625 MB / 0.7448 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.0001395/0.006793, allocations: 92.83 kB / 0.7801 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.006864, allocations: 24.77 kB / 0.7801 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.006867, allocations: 0 / 0.7801 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.006887, allocations: 12.86 kB / 0.7801 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.007012, allocations: 4 kB / 0.7801 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.007248, allocations: 128.5 kB / 0.7802 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.007288, allocations: 59.36 kB / 0.7803 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.007311, allocations: 4 kB / 0.7803 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.007359, allocations: 55.36 kB / 0.7803 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.00736, allocations: 3.938 kB / 0.7803 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.002747/0.01011, allocations: 1.047 MB / 0.7814 GB, free: 8.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.902810389176011]