Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002366/0.002371, allocations: 354.1 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.571/1.571, allocations: 165.8 MB / 182.5 MB, free: 5.496 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.936/3.936, allocations: 410.8 MB / 0.5995 GB, free: 15.2 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001698/0.001697, allocations: 199.6 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004606, allocations: 15.98 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 67.44 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0005405/0.3367, allocations: 308.3 kB / 0.8085 GB, free: 28.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.337, allocations: 98.47 kB / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.3371, allocations: 0 / 0.8085 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.3371, allocations: 7.922 kB / 0.8086 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.246e-06/0.3371, allocations: 0 / 0.8086 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3374, allocations: 27.91 kB / 0.8086 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3376, allocations: 51.94 kB / 0.8086 GB, free: 28.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.3376, allocations: 3.984 kB / 0.8086 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.3377, allocations: 27.95 kB / 0.8087 GB, free: 28.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.3378, allocations: 27.91 kB / 0.8087 GB, free: 28.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3378, allocations: 4 kB / 0.8087 GB, free: 28.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.338, allocations: 47.95 kB / 0.8087 GB, free: 28.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.338, allocations: 15.98 kB / 0.8088 GB, free: 28.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.3381, allocations: 29.7 kB / 0.8088 GB, free: 28.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3382, allocations: 47.86 kB / 0.8088 GB, free: 28.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.48e-06/0.3382, allocations: 4 kB / 0.8088 GB, free: 28.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.218e-06/0.3383, allocations: 0 / 0.8088 GB, free: 28.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3383, allocations: 0 / 0.8088 GB, free: 28.12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003878/0.3387, allocations: 349.5 kB / 0.8092 GB, free: 27.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3387, allocations: 8.031 kB / 0.8092 GB, free: 27.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.3388, allocations: 11.91 kB / 0.8092 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.716e-05/0.3388, allocations: 167 kB / 0.8093 GB, free: 27.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.3391, allocations: 277 kB / 0.8096 GB, free: 27.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3391, allocations: 8 kB / 0.8096 GB, free: 27.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3394, allocations: 73.64 kB / 0.8097 GB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3394, allocations: 3.984 kB / 0.8097 GB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3394, allocations: 7.953 kB / 0.8097 GB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-06/0.3394, allocations: 0 / 0.8097 GB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.3398, allocations: 131.8 kB / 0.8098 GB, free: 26.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.34, allocations: 185.5 kB / 0.81 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3403, allocations: 98.45 kB / 0.8101 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3405, allocations: 36.84 kB / 0.8101 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3405, allocations: 7.969 kB / 0.8101 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.3405, allocations: 34.56 kB / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.017e-06/0.3406, allocations: 0 / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000577/0.3411, allocations: 161.7 kB / 0.8103 GB, free: 26.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.3412, allocations: 51.41 kB / 0.8104 GB, free: 26.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.332e-05/0.3412, allocations: 89.86 kB / 0.8105 GB, free: 26.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3412, allocations: 29.7 kB / 0.8105 GB, free: 26.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.3413, allocations: 80.33 kB / 0.8106 GB, free: 26.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.3413, allocations: 27.56 kB / 0.8106 GB, free: 26.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-06/0.3413, allocations: 4 kB / 0.8106 GB, free: 26.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.3414, allocations: 318.8 kB / 0.8109 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3416, allocations: 39.97 kB / 0.8109 GB, free: 25.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.3417, allocations: 27.98 kB / 0.811 GB, free: 25.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3419, allocations: 35.97 kB / 0.811 GB, free: 25.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.3419, allocations: 0 / 0.811 GB, free: 25.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003708/0.3423, allocations: 114.1 kB / 0.8111 GB, free: 25.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3423, allocations: 8 kB / 0.8111 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.3423, allocations: 3.938 kB / 0.8111 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3423, allocations: 0 / 0.8111 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3425, allocations: 23.97 kB / 0.8111 GB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.936e-06/0.3426, allocations: 7.953 kB / 0.8111 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.3426, allocations: 4 kB / 0.8111 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3427, allocations: 7.984 kB / 0.8112 GB, free: 25.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.086e-05/0.3427, allocations: 113.8 kB / 0.8113 GB, free: 25.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.3428, allocations: 7.906 kB / 0.8113 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.3428, allocations: 11.97 kB / 0.8113 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3428, allocations: 0 / 0.8113 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3428, allocations: 0 / 0.8113 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-06/0.3429, allocations: 11.94 kB / 0.8113 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.343, allocations: 177.6 kB / 0.8115 GB, free: 25.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-06/0.343, allocations: 0 / 0.8115 GB, free: 25.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3431, allocations: 27.92 kB / 0.8115 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3432, allocations: 0 / 0.8115 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3432, allocations: 7.984 kB / 0.8115 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3432, allocations: 0 / 0.8115 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-06/0.3432, allocations: 0 / 0.8115 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.3436, allocations: 144.9 kB / 0.8116 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.3436, allocations: 93.09 kB / 0.8117 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3437, allocations: 4 kB / 0.8117 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.3437, allocations: 4 kB / 0.8117 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3438, allocations: 11.97 kB / 0.8117 GB, free: 24.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3438, allocations: 8 kB / 0.8118 GB, free: 24.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.3439, allocations: 79.22 kB / 0.8118 GB, free: 24.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.3e-07/0.3439, allocations: 0 / 0.8118 GB, free: 24.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.3442, allocations: 20 kB / 0.8118 GB, free: 24.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001653/0.3443, allocations: 123.2 kB / 0.812 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.3447, allocations: 83.88 kB / 0.812 GB, free: 24.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.429e-06/0.3447, allocations: 0 / 0.812 GB, free: 24.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.3449, allocations: 55.89 kB / 0.8121 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.3451, allocations: 7.953 kB / 0.8121 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.3455, allocations: 162.7 kB / 0.8123 GB, free: 24.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3459, allocations: 0.6926 MB / 0.8129 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.346, allocations: 39.95 kB / 0.813 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3461, allocations: 19.36 kB / 0.813 GB, free: 23.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.455e-06/0.3461, allocations: 4 kB / 0.813 GB, free: 23.41 MB / 378.7 MB Notification: Performance of Templates: time 0.003427/0.3495, allocations: 0.937 MB / 0.8139 GB, free: 22.48 MB / 378.7 MB