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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001838/0.001838, allocations: 194 kB / 16.14 MB, free: 6.703 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.419/1.419, allocations: 205.1 MB / 222 MB, free: 4.762 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.669/1.669, allocations: 292.2 MB / 0.5484 GB, free: 13.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.001298/0.001298, allocations: 68.69 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2138, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002782/0.2166, allocations: 1.59 MB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004883/0.2171, allocations: 189.4 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.2172, allocations: 4 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.2172, allocations: 3.938 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.2173, allocations: 0 / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2176, allocations: 39.89 kB / 0.7844 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.2177, allocations: 35.92 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.2177, allocations: 15.98 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.2178, allocations: 19.92 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.2178, allocations: 23.84 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2179, allocations: 4 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.218, allocations: 35.97 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.218, allocations: 4 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.218, allocations: 19.91 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2182, allocations: 67.78 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2182, allocations: 4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2182, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2182, allocations: 0 / 0.7847 GB, free: 11.91 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.0005091/0.2187, allocations: 355.6 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2188, allocations: 8.031 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.2188, allocations: 12.78 kB / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2189, allocations: 164.4 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.219, allocations: 4.375 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.219, allocations: 4.375 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2192, allocations: 62.22 kB / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2192, allocations: 192 / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2192, allocations: 7.938 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2192, allocations: 0 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.2194, allocations: 47.89 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.2198, allocations: 280.7 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.2202, allocations: 62.47 kB / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.2203, allocations: 24.91 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.2205, allocations: 170.3 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2205, allocations: 42.55 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2205, allocations: 0 / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003873/0.2209, allocations: 89.64 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.221, allocations: 51.41 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.221, allocations: 109.8 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2211, allocations: 25.7 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.2211, allocations: 96.06 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2211, allocations: 7.906 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2212, allocations: 17.66 kB / 0.7862 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.2213, allocations: 318.8 kB / 0.7865 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.2214, allocations: 19.97 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.2215, allocations: 19.98 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2216, allocations: 48.81 kB / 0.7866 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2216, allocations: 0 / 0.7866 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002151/0.2219, allocations: 77.56 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2219, allocations: 4 kB / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2219, allocations: 0 / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2219, allocations: 4 kB / 0.7867 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.222, allocations: 15.92 kB / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.222, allocations: 0 / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.2221, allocations: 11.98 kB / 0.7867 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.2221, allocations: 0 / 0.7867 GB, free: 9.527 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 6.782e-05/0.2222, allocations: 121 kB / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2222, allocations: 0 / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.2225, allocations: 85.53 kB / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.2225, allocations: 3.984 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2225, allocations: 8 kB / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2225, allocations: 0 / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2226, allocations: 173.5 kB / 0.7871 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2227, allocations: 3.938 kB / 0.7871 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.2227, allocations: 11.98 kB / 0.7871 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2228, allocations: 0 / 0.7871 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.2228, allocations: 3.938 kB / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2228, allocations: 0 / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2228, allocations: 0 / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.223, allocations: 175.4 kB / 0.7873 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.2231, allocations: 85.05 kB / 0.7874 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2231, allocations: 0 / 0.7874 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.2232, allocations: 8 kB / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2232, allocations: 7.984 kB / 0.7874 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.2232, allocations: 3.938 kB / 0.7874 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.2233, allocations: 87.27 kB / 0.7875 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2233, allocations: 4 kB / 0.7875 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002392/0.2235, allocations: 16 kB / 0.7875 GB, free: 8.641 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.0001727/0.2237, allocations: 119.2 kB / 0.7876 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.224, allocations: 43.89 kB / 0.7876 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.224, allocations: 0 / 0.7876 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.2241, allocations: 27.97 kB / 0.7877 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.2243, allocations: 15.83 kB / 0.7877 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.2246, allocations: 127.2 kB / 0.7878 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.2249, allocations: 0.6809 MB / 0.7885 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.2249, allocations: 7.984 kB / 0.7885 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.2249, allocations: 11.44 kB / 0.7885 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/0.2249, allocations: 0 / 0.7885 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.002655/0.2276, allocations: 0.8951 MB / 0.7894 GB, free: 6.664 MB / 0.6075 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)