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.001418/0.001418, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001626/0.001626, allocations: 198.4 kB / 16.91 MB, free: 6.195 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.356/1.356, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.678/1.678, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001528/0.001528, allocations: 73.94 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2291, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003237/0.2323, allocations: 1.594 MB / 0.7851 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004979/0.2329, allocations: 181.3 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.2329, allocations: 0 / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.233, allocations: 0 / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.2331, allocations: 11.94 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2334, allocations: 43.95 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.2335, allocations: 35.86 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2336, allocations: 15.98 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.2337, allocations: 8 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.2337, allocations: 19.91 kB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2338, allocations: 4 kB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2339, allocations: 47.95 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2339, allocations: 11.94 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.234, allocations: 19.91 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.2341, allocations: 35.95 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2341, allocations: 4 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2341, allocations: 0 / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2341, allocations: 0 / 0.7855 GB, free: 11.86 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.000532/0.2347, allocations: 363.6 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2347, allocations: 8.031 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.2348, allocations: 12.78 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2349, allocations: 172.3 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.2349, allocations: 384 / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.2349, allocations: 8.359 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2351, allocations: 62.22 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2352, allocations: 192 / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2352, allocations: 3.938 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2352, allocations: 4 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.2354, allocations: 43.95 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.2358, allocations: 288.6 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.2362, allocations: 54.55 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.2363, allocations: 28.89 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.2365, allocations: 170.2 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2366, allocations: 34.56 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.2366, allocations: 0 / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003742/0.2369, allocations: 97.56 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.237, allocations: 51.41 kB / 0.7868 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.2371, allocations: 113.8 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2371, allocations: 25.7 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.2372, allocations: 84.14 kB / 0.787 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.2372, allocations: 7.906 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.2372, allocations: 17.7 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2373, allocations: 318.8 kB / 0.7874 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.2374, allocations: 15.98 kB / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.2375, allocations: 27.97 kB / 0.7874 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2377, allocations: 48.75 kB / 0.7875 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2377, allocations: 0 / 0.7875 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002191/0.2379, allocations: 81.5 kB / 0.7875 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.238, allocations: 4 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.238, allocations: 0 / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.238, allocations: 4 kB / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.2381, allocations: 11.98 kB / 0.7876 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2381, allocations: 4.312 kB / 0.7876 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.2381, allocations: 7.984 kB / 0.7876 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2382, allocations: 0 / 0.7876 GB, free: 9.469 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.416e-05/0.2382, allocations: 113.8 kB / 0.7877 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2383, allocations: 4 kB / 0.7877 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2385, allocations: 85.81 kB / 0.7878 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2386, allocations: 4 kB / 0.7878 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2386, allocations: 0 / 0.7878 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2386, allocations: 8.031 kB / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.2387, allocations: 177.6 kB / 0.7879 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2388, allocations: 3.938 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.2388, allocations: 11.98 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2389, allocations: 0 / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.2389, allocations: 0 / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2389, allocations: 3.984 kB / 0.788 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2389, allocations: 4 kB / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2391, allocations: 171.4 kB / 0.7881 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.2392, allocations: 81.11 kB / 0.7882 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2392, allocations: 0 / 0.7882 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.2393, allocations: 11.98 kB / 0.7882 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.2394, allocations: 3.984 kB / 0.7882 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2394, allocations: 8 kB / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.2394, allocations: 87.27 kB / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2394, allocations: 0 / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002744/0.2397, allocations: 23.92 kB / 0.7883 GB, free: 8.574 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.0001849/0.2399, allocations: 115.2 kB / 0.7884 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.2402, allocations: 43.94 kB / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2402, allocations: 4 kB / 0.7885 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2403, allocations: 27.92 kB / 0.7885 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2406, allocations: 7.938 kB / 0.7885 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.2409, allocations: 159.1 kB / 0.7887 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2412, allocations: 0.6807 MB / 0.7893 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.2412, allocations: 15.44 kB / 0.7894 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2412, allocations: 0 / 0.7894 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of Templates: time 0.002329/0.2435, allocations: 0.9693 MB / 0.7903 GB, free: 6.488 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)