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.0008379/0.0008386, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005369/0.00537, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.497/1.497, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.677/1.677, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005275/0.0005276, allocations: 19.66 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00171/0.2351, allocations: 1.251 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004753/0.2356, allocations: 189.4 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.2356, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.2356, allocations: 3.938 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.2357, allocations: 0 / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.236, allocations: 43.89 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.236, allocations: 27.92 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.2361, allocations: 15.98 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.2362, allocations: 19.92 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.2362, allocations: 15.92 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2362, allocations: 4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2363, allocations: 39.95 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.2364, allocations: 11.92 kB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.2364, allocations: 33.64 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2366, allocations: 63.83 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.2366, allocations: 0 / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2366, allocations: 0 / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.2366, allocations: 7.938 kB / 0.7895 GB, free: 9.875 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.0004468/0.237, allocations: 359.7 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2371, allocations: 8.031 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.2371, allocations: 4.938 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2372, allocations: 168.3 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.2373, allocations: 4.375 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2373, allocations: 384 / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2375, allocations: 78.2 kB / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2375, allocations: 192 / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2375, allocations: 7.938 kB / 0.7901 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2375, allocations: 3.938 kB / 0.7901 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.2377, allocations: 55.95 kB / 0.7902 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.2381, allocations: 284.7 kB / 0.7905 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.2384, allocations: 62.48 kB / 0.7905 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2385, allocations: 40.89 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.2387, allocations: 166.2 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2388, allocations: 34.56 kB / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2388, allocations: 0 / 0.7908 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003925/0.2392, allocations: 113.6 kB / 0.7909 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2392, allocations: 51.41 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.2393, allocations: 109.8 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2393, allocations: 29.7 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.2394, allocations: 88.14 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.2394, allocations: 7.844 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.2394, allocations: 13.72 kB / 0.7912 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2395, allocations: 322.8 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.2396, allocations: 19.98 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.2397, allocations: 31.97 kB / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2399, allocations: 52.83 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2399, allocations: 0 / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002285/0.2402, allocations: 93.55 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2402, allocations: 7.938 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2402, allocations: 0 / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2402, allocations: 0 / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.2403, allocations: 19.92 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2403, allocations: 4 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.2404, allocations: 8 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2404, allocations: 3.984 kB / 0.7917 GB, free: 7.402 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 (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 7.569e-05/0.2405, allocations: 120.6 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2405, allocations: 0 / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.2408, allocations: 93.55 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2408, allocations: 0 / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2408, allocations: 3.938 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2408, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.241, allocations: 169.6 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.241, allocations: 0 / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.2411, allocations: 15.98 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2411, allocations: 7.938 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2411, allocations: 0 / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2411, allocations: 0 / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2411, allocations: 4 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2414, allocations: 187.3 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.2414, allocations: 81.11 kB / 0.7923 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2414, allocations: 4 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.2415, allocations: 11.98 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.2416, allocations: 7.984 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2416, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.2416, allocations: 87.28 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2416, allocations: 0 / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002435/0.2419, allocations: 19.94 kB / 0.7925 GB, free: 6.5 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 (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.0001712/0.2421, allocations: 119.6 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.2423, allocations: 63.88 kB / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2423, allocations: 4 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2424, allocations: 31.97 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2427, allocations: 3.938 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.243, allocations: 136.6 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2433, allocations: 0.6809 MB / 0.7935 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.2433, allocations: 7.984 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.2434, allocations: 11.44 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2434, allocations: 0 / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.003015/0.2464, allocations: 0.8886 MB / 0.7944 GB, free: 4.512 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: