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.001167/0.001167, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001347/0.001347, allocations: 168.8 kB / 25.17 MB, free: 8.324 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 1.005/1.005, allocations: 177.1 MB / 205.6 MB, free: 4.008 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 1.878/1.878, allocations: 389.6 MB / 0.6364 GB, free: 13.27 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.643e-06/1.643e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.842e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002818/0.002836, allocations: 1.636 MB / 0.7772 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.003327, allocations: 195.3 kB / 0.7774 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.003378, allocations: 0 / 0.7774 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.003417, allocations: 7.922 kB / 0.7774 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.003468, allocations: 0 / 0.7774 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.003816, allocations: 47.81 kB / 0.7774 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.584e-05/0.003902, allocations: 39.84 kB / 0.7775 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.003987, allocations: 11.98 kB / 0.7775 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.004035, allocations: 19.98 kB / 0.7775 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.004079, allocations: 19.91 kB / 0.7775 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.004095, allocations: 4 kB / 0.7775 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.004253, allocations: 59.88 kB / 0.7776 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.00427, allocations: 11.98 kB / 0.7776 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.004291, allocations: 7.938 kB / 0.7776 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.004452, allocations: 71.77 kB / 0.7777 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004454, allocations: 0 / 0.7777 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/0.004455, allocations: 0 / 0.7777 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00446, allocations: 0 / 0.7777 GB, free: 12.4 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.0003631/0.004823, allocations: 244.9 kB / 0.7779 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.004863, allocations: 8.031 kB / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.004892, allocations: 4.938 kB / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.004996, allocations: 125.6 kB / 0.778 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.005017, allocations: 4.375 kB / 0.778 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.005031, allocations: 12.3 kB / 0.778 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.005167, allocations: 66.92 kB / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005174, allocations: 192 / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005183, allocations: 384 / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.00519, allocations: 384 / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.005223, allocations: 11.94 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.005489, allocations: 164.2 kB / 0.7783 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.005651, allocations: 34.56 kB / 0.7783 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.00567, allocations: 8.859 kB / 0.7783 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.005813, allocations: 23.97 kB / 0.7783 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.00584, allocations: 34.56 kB / 0.7784 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.005841, allocations: 0 / 0.7784 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001362/0.005977, allocations: 49.56 kB / 0.7784 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.00601, allocations: 55.41 kB / 0.7785 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.006074, allocations: 106.8 kB / 0.7786 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.006086, allocations: 25.7 kB / 0.7786 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.006125, allocations: 88.09 kB / 0.7787 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.006145, allocations: 15.92 kB / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.006178, allocations: 17.72 kB / 0.7787 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.006273, allocations: 314.8 kB / 0.779 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.006287, allocations: 3.984 kB / 0.779 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.006299, allocations: 4 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.006334, allocations: 17.09 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006335, allocations: 0 / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.487e-05/0.0064, allocations: 45.62 kB / 0.7791 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006412, allocations: 8 kB / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006418, allocations: 3.938 kB / 0.7791 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.006426, allocations: 7.938 kB / 0.7791 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.006479, allocations: 8 kB / 0.7791 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.006482, allocations: 0 / 0.7791 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.006509, allocations: 7.922 kB / 0.7791 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006515, allocations: 4 kB / 0.7791 GB, free: 10.74 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 6.99e-05/0.006585, allocations: 109.8 kB / 0.7792 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.006607, allocations: 8 kB / 0.7792 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/0.006697, allocations: 53.56 kB / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006699, allocations: 0 / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006701, allocations: 4 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.006706, allocations: 4.031 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.00682, allocations: 69.89 kB / 0.7793 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006821, allocations: 0 / 0.7793 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.006859, allocations: 4 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.006861, allocations: 4 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006868, allocations: 4 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.00687, allocations: 0 / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.006873, allocations: 3.938 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.755e-05/0.006971, allocations: 135.5 kB / 0.7795 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.00698, allocations: 11.94 kB / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.006992, allocations: 4 kB / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.00704, allocations: 0 / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.007082, allocations: 15.92 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.007086, allocations: 3.938 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.468e-05/0.0071, allocations: 12.84 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0071, allocations: 0 / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002137/0.007314, allocations: 12 kB / 0.7796 GB, free: 10.24 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.0001386/0.007453, allocations: 100.3 kB / 0.7796 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.581e-05/0.007529, allocations: 24.84 kB / 0.7797 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.007534, allocations: 3.938 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.007555, allocations: 8.859 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.007707, allocations: 4.188 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.007965, allocations: 158.1 kB / 0.7798 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.008019, allocations: 63.34 kB / 0.7799 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.008074, allocations: 51.38 kB / 0.7799 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.008074, allocations: 0 / 0.7799 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.002024/0.0101, allocations: 0.9722 MB / 0.7809 GB, free: 8.793 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 > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6285034185275435]