Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00213/0.002134, allocations: 188.2 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8381/0.8381, allocations: 82.92 MB / 99.42 MB, free: 3.25 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.289/2.289, allocations: 205.4 MB / 325.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 94.72 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004566, allocations: 12 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09763, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.001994/0.09968, allocations: 1.233 MB / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.1002, allocations: 167.6 kB / 0.5277 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1003, allocations: 4 kB / 0.5277 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.1003, allocations: 3.938 kB / 0.5277 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.1003, allocations: 0 / 0.5277 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1006, allocations: 39.89 kB / 0.5278 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.1007, allocations: 19.91 kB / 0.5278 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.1008, allocations: 15.98 kB / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.1008, allocations: 8 kB / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.1009, allocations: 15.92 kB / 0.5278 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1009, allocations: 3.938 kB / 0.5278 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.101, allocations: 39.95 kB / 0.5279 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.101, allocations: 7.922 kB / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.1011, allocations: 33.7 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1012, allocations: 39.92 kB / 0.5279 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.641e-06/0.1012, allocations: 0 / 0.5279 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.855e-06/0.1012, allocations: 0 / 0.5279 GB, free: 13.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.802e-06/0.1013, allocations: 4 kB / 0.5279 GB, free: 13.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005031/0.1018, allocations: 351.5 kB / 0.5283 GB, free: 13.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1018, allocations: 12.03 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1019, allocations: 3.906 kB / 0.5283 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.102, allocations: 167.1 kB / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1021, allocations: 0 / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1021, allocations: 8 kB / 0.5285 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1023, allocations: 65.61 kB / 0.5285 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1024, allocations: 7.922 kB / 0.5285 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1024, allocations: 7.953 kB / 0.5285 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-06/0.1024, allocations: 4 kB / 0.5285 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.1026, allocations: 55.95 kB / 0.5286 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1031, allocations: 276.8 kB / 0.5289 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.1035, allocations: 70.42 kB / 0.5289 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.1038, allocations: 170.4 kB / 0.5291 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1038, allocations: 30.56 kB / 0.5291 GB, free: 12.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.163e-06/0.1039, allocations: 0 / 0.5291 GB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005016/0.1044, allocations: 117.5 kB / 0.5292 GB, free: 11.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1044, allocations: 55.34 kB / 0.5293 GB, free: 11.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1045, allocations: 105.8 kB / 0.5294 GB, free: 11.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1046, allocations: 25.7 kB / 0.5294 GB, free: 11.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1046, allocations: 88.14 kB / 0.5295 GB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1047, allocations: 3.906 kB / 0.5295 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1047, allocations: 4 kB / 0.5295 GB, free: 11.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1049, allocations: 318.8 kB / 0.5298 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.105, allocations: 19.97 kB / 0.5298 GB, free: 11.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1051, allocations: 23.98 kB / 0.5298 GB, free: 11.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1053, allocations: 32.25 kB / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1053, allocations: 0 / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003108/0.1056, allocations: 97.5 kB / 0.53 GB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1056, allocations: 11.94 kB / 0.53 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1056, allocations: 0 / 0.53 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1057, allocations: 0 / 0.53 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1058, allocations: 19.92 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1058, allocations: 0 / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.1059, allocations: 7.984 kB / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1059, allocations: 4 kB / 0.53 GB, free: 11.05 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: 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.0001083/0.106, allocations: 113.8 kB / 0.5301 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1061, allocations: 7.953 kB / 0.5301 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.1064, allocations: 89.55 kB / 0.5302 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1065, allocations: 0 / 0.5302 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-06/0.1065, allocations: 0 / 0.5302 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.592e-06/0.1065, allocations: 11.94 kB / 0.5302 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1068, allocations: 165.7 kB / 0.5304 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1068, allocations: 3.984 kB / 0.5304 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1069, allocations: 15.94 kB / 0.5304 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-06/0.1069, allocations: 0 / 0.5304 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1069, allocations: 7.938 kB / 0.5304 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.378e-06/0.1069, allocations: 0 / 0.5304 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.218e-06/0.107, allocations: 0 / 0.5304 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.1073, allocations: 183.4 kB / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.1074, allocations: 77.11 kB / 0.5307 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1074, allocations: 3.984 kB / 0.5307 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1076, allocations: 19.95 kB / 0.5307 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.1077, allocations: 3.984 kB / 0.5307 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1077, allocations: 4 kB / 0.5307 GB, free: 10.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.249e-05/0.1078, allocations: 87.27 kB / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.1078, allocations: 0 / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.1081, allocations: 19.94 kB / 0.5308 GB, free: 10.15 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: 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.0002193/0.1084, allocations: 115.2 kB / 0.5309 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.1087, allocations: 59.89 kB / 0.531 GB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.88e-06/0.1087, allocations: 0 / 0.531 GB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1089, allocations: 27.98 kB / 0.531 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1091, allocations: 6.109 kB / 0.531 GB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.1095, allocations: 132.6 kB / 0.5311 GB, free: 9.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1099, allocations: 0.6809 MB / 0.5318 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.1099, allocations: 0 / 0.5318 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.11, allocations: 23.36 kB / 0.5318 GB, free: 9.047 MB / 378.7 MB Notification: Performance of SimCode: time 3.881e-06/0.11, allocations: 0 / 0.5318 GB, free: 9.047 MB / 378.7 MB Notification: Performance of Templates: time 0.004319/0.1143, allocations: 0.8516 MB / 0.5326 GB, free: 8.199 MB / 378.7 MB