Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 107.4 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 188.4 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.866/1.866, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2325, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002798/0.2353, allocations: 1.532 MB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.2358, allocations: 172.3 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.2358, allocations: 0 / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2359, allocations: 3.938 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.2359, allocations: 3.938 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2363, allocations: 59.88 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.2363, allocations: 35.86 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2364, allocations: 11.98 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.2365, allocations: 15.98 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.2365, allocations: 23.91 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2366, allocations: 4 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.2367, allocations: 47.97 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.2367, allocations: 19.91 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.2367, allocations: 11.94 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2369, allocations: 67.78 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2369, allocations: 0 / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2369, allocations: 0 / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2369, allocations: 3.938 kB / 0.7867 GB, free: 1.156 MB / 0.6544 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.0004845/0.2374, allocations: 359.4 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.2375, allocations: 8.031 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2375, allocations: 4.938 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2376, allocations: 172.2 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2377, allocations: 4.375 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.2377, allocations: 4.375 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.2379, allocations: 62.2 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2379, allocations: 4.188 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2379, allocations: 7.938 kB / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2379, allocations: 0 / 0.7873 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.2381, allocations: 43.95 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.2385, allocations: 288.6 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.2389, allocations: 54.53 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3368/0.5757, allocations: 30.62 kB / 0.7877 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.576, allocations: 167.5 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.576, allocations: 33.05 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.576, allocations: 1.219 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004375/0.5765, allocations: 98.22 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.5765, allocations: 52.91 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.5766, allocations: 110.3 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.5766, allocations: 28.73 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.5766, allocations: 86.91 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.5766, allocations: 12.34 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.5767, allocations: 15.81 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.5767, allocations: 318.7 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-05/0.5768, allocations: 23.84 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.5769, allocations: 17.86 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5771, allocations: 48.11 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5771, allocations: 0 / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000198/0.5773, allocations: 76.02 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5773, allocations: 5.531 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5773, allocations: 0 / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5774, allocations: 3.625 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.5775, allocations: 8.25 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5775, allocations: 4.469 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.5775, allocations: 5.625 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5776, allocations: 6.562 kB / 0.7888 GB, free: 48.13 MB / 0.6544 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.586e-05/0.5776, allocations: 111.7 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.5777, allocations: 8.5 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.5779, allocations: 89.61 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5779, allocations: 1.219 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5779, allocations: 3.406 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5779, allocations: 0 / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.5781, allocations: 169.3 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5781, allocations: 0 / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.5782, allocations: 12.25 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5782, allocations: 0 / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5782, allocations: 0.5938 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5782, allocations: 3.688 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5782, allocations: 2.469 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.5784, allocations: 171 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.5784, allocations: 82.7 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.5785, allocations: 3.906 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.5785, allocations: 7.484 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.5786, allocations: 8.875 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.5786, allocations: 4.938 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.5786, allocations: 87.89 kB / 0.7895 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5787, allocations: 1.406 kB / 0.7895 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002491/0.5789, allocations: 27.16 kB / 0.7896 GB, free: 47.49 MB / 0.6544 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.0001636/0.5791, allocations: 113 kB / 0.7897 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.5793, allocations: 45.5 kB / 0.7897 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5793, allocations: 1.625 kB / 0.7897 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.5794, allocations: 25.39 kB / 0.7897 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.5797, allocations: 10.91 kB / 0.7898 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.58, allocations: 151.2 kB / 0.7899 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.5801, allocations: 0.6782 MB / 0.7906 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.5802, allocations: 13.25 kB / 0.7906 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5802, allocations: 0 / 0.7906 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.002494/0.5827, allocations: 0.9736 MB / 0.7915 GB, free: 46.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)