Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.856/2.856, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 186.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 97.05 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001057, allocations: 21.53 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2615, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001884/0.2635, allocations: 1.247 MB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005124/0.264, allocations: 161.4 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.2641, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.2641, allocations: 3.938 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.2642, allocations: 3.984 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2645, allocations: 39.89 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.2646, allocations: 35.91 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.2647, allocations: 4 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.2647, allocations: 19.92 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2648, allocations: 15.92 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2648, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2649, allocations: 43.95 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.265, allocations: 7.984 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.265, allocations: 29.7 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.2651, allocations: 43.86 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2651, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2652, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2652, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 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.0004913/0.2657, allocations: 355.5 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2657, allocations: 12.02 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.507e-05/0.2658, allocations: 34.56 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2658, allocations: 11.92 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.231e-05/0.2659, allocations: 170.9 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.266, allocations: 4 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.266, allocations: 4 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2663, allocations: 69.66 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2663, allocations: 0 / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2663, allocations: 4 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2663, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.2666, allocations: 59.95 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.267, allocations: 276.7 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2675, allocations: 62.53 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.2677, allocations: 28.91 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.2679, allocations: 170.3 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.268, allocations: 38.55 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.268, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005668/0.2686, allocations: 113.5 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2686, allocations: 63.36 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.2687, allocations: 109.8 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.2687, allocations: 33.64 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.2688, allocations: 92.12 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.2688, allocations: 3.906 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.2688, allocations: 0 / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.2689, allocations: 314.8 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.269, allocations: 19.98 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2692, allocations: 31.97 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2693, allocations: 23.98 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2693, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003394/0.2697, allocations: 93.58 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2697, allocations: 8 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2697, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2698, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2699, allocations: 11.98 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2699, allocations: 3.953 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.27, allocations: 15.91 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.2701, allocations: 0 / 0.9822 GB, free: 24.15 MB / 0.6198 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 6.961e-05/0.2701, allocations: 117.8 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.2702, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.2706, allocations: 97.48 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2706, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2706, allocations: 8 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2706, allocations: 3.953 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2708, allocations: 165.7 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2708, allocations: 3.938 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2709, allocations: 11.98 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2709, allocations: 0 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.271, allocations: 4 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.271, allocations: 4 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.271, allocations: 320 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2713, allocations: 187.3 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.2714, allocations: 85.05 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2714, allocations: 4 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2715, allocations: 11.98 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.2716, allocations: 11.92 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2716, allocations: 0 / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.2717, allocations: 91.27 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2717, allocations: 0 / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003077/0.272, allocations: 16 kB / 0.983 GB, free: 23.24 MB / 0.6198 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.0006287/0.2726, allocations: 0.7401 MB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.273, allocations: 59.89 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.273, allocations: 0 / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2732, allocations: 31.97 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2735, allocations: 12.02 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2746, allocations: 458.5 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2748, allocations: 0.6809 MB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.2748, allocations: 4 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.2749, allocations: 23.38 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2749, allocations: 0 / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.2949, allocations: 1.623 MB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.2952, allocations: 175.4 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/2.813, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)