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.001381/0.001381, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.001347/0.001347, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.463/1.463, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.5495 GB, free: 17.53 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.001537/0.001537, allocations: 70.25 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2716, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003197/0.2749, allocations: 1.525 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.2754, allocations: 176.3 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.2754, allocations: 0 / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2755, allocations: 3.938 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.2756, allocations: 3.938 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.2759, allocations: 51.88 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.276, allocations: 39.86 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2761, allocations: 15.94 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.2762, allocations: 19.97 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.2762, allocations: 15.92 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2763, allocations: 7.938 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2764, allocations: 47.95 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2764, allocations: 7.984 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2765, allocations: 11.94 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2766, allocations: 63.84 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2766, allocations: 4 kB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2766, allocations: 7.938 kB / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2767, allocations: 0 / 0.786 GB, free: 1.879 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.0005121/0.2772, allocations: 355.7 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2772, allocations: 8.031 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.2773, allocations: 4.938 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2774, allocations: 164.3 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.2774, allocations: 4.375 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2775, allocations: 4.375 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.2777, allocations: 70.16 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2777, allocations: 192 / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2777, allocations: 7.938 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2777, allocations: 0 / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.278, allocations: 43.95 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.2785, allocations: 288.7 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.2788, allocations: 58.48 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2789, allocations: 28.89 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.2792, allocations: 166.2 kB / 0.7871 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2792, allocations: 34.56 kB / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.2792, allocations: 4 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004098/0.2796, allocations: 101.6 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2797, allocations: 51.41 kB / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.2798, allocations: 105.8 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2798, allocations: 25.7 kB / 0.7874 GB, free: 152 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.2799, allocations: 88.14 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2799, allocations: 7.906 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.2799, allocations: 25.64 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4365/0.7165, allocations: 314.6 kB / 0.7878 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.7167, allocations: 18.33 kB / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.7168, allocations: 22.88 kB / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.7169, allocations: 45 kB / 0.7879 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.717, allocations: 2.688 kB / 0.7879 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002398/0.7172, allocations: 80.72 kB / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.7172, allocations: 5.25 kB / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7172, allocations: 0.6562 kB / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.7173, allocations: 0 / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.7174, allocations: 14.62 kB / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7174, allocations: 0 / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.7174, allocations: 11.33 kB / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7175, allocations: 2.859 kB / 0.788 GB, free: 49.01 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 6.324e-05/0.7175, allocations: 111.5 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.7176, allocations: 10.52 kB / 0.7882 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.7178, allocations: 85.56 kB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7179, allocations: 0.7812 kB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7179, allocations: 3.938 kB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7179, allocations: 3.875 kB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.718, allocations: 165 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.718, allocations: 0 / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.7181, allocations: 15.16 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7181, allocations: 0 / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7181, allocations: 4.875 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7181, allocations: 0 / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7181, allocations: 3.938 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.7184, allocations: 171.4 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.7184, allocations: 85.39 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.7184, allocations: 2.844 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.7185, allocations: 5.359 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.7186, allocations: 13.89 kB / 0.7887 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.7186, allocations: 2.625 kB / 0.7887 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.7186, allocations: 91.02 kB / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 0 / 0.7888 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002572/0.7189, allocations: 23.09 kB / 0.7888 GB, free: 48.37 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.0001596/0.719, allocations: 114 kB / 0.7889 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.7193, allocations: 49.77 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7193, allocations: 0 / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.7194, allocations: 25.86 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.7197, allocations: 13.52 kB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.72, allocations: 131.5 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.7201, allocations: 0.6834 MB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.7202, allocations: 12.19 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7202, allocations: 0 / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.002131/0.7223, allocations: 0.9733 MB / 0.7908 GB, free: 47.44 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)