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.001368/0.001368, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001674/0.001674, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.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.72/1.72, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0009551/0.0009555, allocations: 13.41 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2375, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00168/0.2393, allocations: 1.236 MB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.2397, allocations: 169.7 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.2398, allocations: 0 / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.2398, allocations: 3.938 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.2398, allocations: 7.984 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2401, allocations: 31.91 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.2401, allocations: 23.91 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.2402, allocations: 12 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.2403, allocations: 15.97 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.2403, allocations: 15.92 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2403, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.2404, allocations: 39.91 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.2405, allocations: 15.91 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.2405, allocations: 25.7 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.942e-05/0.2406, allocations: 35.94 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.2406, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2406, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2406, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 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.0004722/0.2411, allocations: 354.3 kB / 0.789 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2411, allocations: 8.031 kB / 0.789 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.2412, allocations: 4 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.2414, allocations: 174.9 kB / 0.7892 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.2414, allocations: 8 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.2415, allocations: 0 / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2417, allocations: 73.61 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2417, allocations: 0 / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2418, allocations: 0 / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2418, allocations: 0 / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.2421, allocations: 59.95 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.2427, allocations: 280.8 kB / 0.7896 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.2431, allocations: 74.41 kB / 0.7897 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.2434, allocations: 170.3 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2435, allocations: 30.56 kB / 0.7899 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.2435, allocations: 4 kB / 0.7899 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006089/0.2441, allocations: 113.5 kB / 0.79 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.2442, allocations: 59.34 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2443, allocations: 105.8 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2444, allocations: 25.7 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.2444, allocations: 84.14 kB / 0.7903 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2445, allocations: 7.906 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.2445, allocations: 4 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.2447, allocations: 318.8 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2448, allocations: 23.97 kB / 0.7906 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.245, allocations: 23.98 kB / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2451, allocations: 31.97 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2452, allocations: 0 / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000342/0.2455, allocations: 81.66 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2455, allocations: 8 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2456, allocations: 4 kB / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2456, allocations: 0 / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2457, allocations: 15.92 kB / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2457, allocations: 0 / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.2458, allocations: 15.89 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.2458, allocations: 0 / 0.7908 GB, free: 7.957 MB / 0.6075 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.0001355/0.246, allocations: 121.8 kB / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.246, allocations: 0 / 0.7909 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.2464, allocations: 93.55 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2464, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.2465, allocations: 4 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2465, allocations: 4 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.2468, allocations: 173.7 kB / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2468, allocations: 0 / 0.7911 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2469, allocations: 15.92 kB / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2469, allocations: 0 / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2469, allocations: 0 / 0.7912 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2469, allocations: 11.92 kB / 0.7912 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2469, allocations: 0 / 0.7912 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.2473, allocations: 183.8 kB / 0.7914 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.2474, allocations: 81.11 kB / 0.7914 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.2474, allocations: 4 kB / 0.7914 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.2476, allocations: 11.98 kB / 0.7914 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.2476, allocations: 12.02 kB / 0.7915 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2476, allocations: 3.938 kB / 0.7915 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.2477, allocations: 87.28 kB / 0.7915 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2477, allocations: 0 / 0.7915 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004392/0.2482, allocations: 19.92 kB / 0.7916 GB, free: 7.039 MB / 0.6075 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.0002114/0.2484, allocations: 115.2 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.2487, allocations: 59.89 kB / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2487, allocations: 0 / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.2489, allocations: 27.98 kB / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.2492, allocations: 15.89 kB / 0.7918 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.2496, allocations: 124.7 kB / 0.7919 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.25, allocations: 0.6809 MB / 0.7926 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.142e-05/0.2501, allocations: 4 kB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.2501, allocations: 19.38 kB / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2501, allocations: 0 / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of Templates: time 0.004241/0.2544, allocations: 0.8562 MB / 0.7934 GB, free: 5.094 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: