Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.412/2.412, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001998/0.001998, allocations: 183.3 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.504/2.504, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 96.34 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.000481, allocations: 11.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002429/0.2469, allocations: 1.251 MB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.2476, allocations: 168.4 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.2477, allocations: 0 / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.2477, allocations: 0 / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.2478, allocations: 4 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.2482, allocations: 43.83 kB / 0.9003 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.2483, allocations: 19.91 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2484, allocations: 19.98 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.2485, allocations: 4 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.2486, allocations: 19.91 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.2486, allocations: 4 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.2487, allocations: 31.97 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2488, allocations: 11.92 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.2488, allocations: 29.7 kB / 0.9004 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.249, allocations: 39.92 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.249, allocations: 3.938 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.249, allocations: 4 kB / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.249, allocations: 0 / 0.9005 GB, free: 63.78 MB / 0.6042 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.0006514/0.2497, allocations: 351.3 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.2498, allocations: 8.031 kB / 0.9008 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.2498, allocations: 11.89 kB / 0.9008 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.25, allocations: 167.2 kB / 0.901 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.25, allocations: 3.938 kB / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.25, allocations: 8 kB / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.2504, allocations: 69.64 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2504, allocations: 4 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.2505, allocations: 11.98 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2505, allocations: 0 / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.2509, allocations: 51.95 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.2515, allocations: 284.7 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.2522, allocations: 66.53 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/0.2526, allocations: 170.4 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2526, allocations: 30.56 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.925e-06/0.2526, allocations: 0 / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0008625/0.2535, allocations: 113.6 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2536, allocations: 55.36 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2537, allocations: 113.8 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2537, allocations: 25.7 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.2538, allocations: 84.14 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.2538, allocations: 7.906 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.2538, allocations: 7.938 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.2539, allocations: 314.8 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.2542, allocations: 23.98 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.2544, allocations: 27.98 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.2547, allocations: 27.97 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2547, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005386/0.2552, allocations: 93.5 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2553, allocations: 6.188 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2553, allocations: 3.938 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2553, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2555, allocations: 15.98 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2556, allocations: 3.953 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2557, allocations: 15.92 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2558, allocations: 0 / 0.9026 GB, free: 61.4 MB / 0.6042 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 0.0001056/0.2559, allocations: 113.8 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.256, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.2566, allocations: 93.55 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.2566, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2566, allocations: 7.938 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.2566, allocations: 3.953 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.2569, allocations: 173.5 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.257, allocations: 0 / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.2572, allocations: 15.98 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.2572, allocations: 0 / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2572, allocations: 0 / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2572, allocations: 0 / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2572, allocations: 0 / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.2578, allocations: 187.8 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.2579, allocations: 81.09 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2579, allocations: 0 / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2581, allocations: 12 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.2582, allocations: 11.98 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2583, allocations: 4 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.2583, allocations: 87.27 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2584, allocations: 3.938 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005936/0.259, allocations: 19.94 kB / 0.9033 GB, free: 60.5 MB / 0.6042 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.0002724/0.2593, allocations: 115.3 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.2598, allocations: 59.95 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2598, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.26, allocations: 27.98 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.2604, allocations: 15.94 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.2609, allocations: 129.4 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2611, allocations: 0.6809 MB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.91e-05/0.2612, allocations: 11.98 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.2612, allocations: 7.438 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2613, allocations: 3.938 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.00496/0.2662, allocations: 0.8396 MB / 0.9052 GB, free: 58.56 MB / 0.6042 GB