Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.615/1.615, allocations: 251.9 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 179.2 kB / 326.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009772/0.0009769, allocations: 90.36 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 9.312 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2754, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001779/0.2773, allocations: 1.252 MB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003863/0.2777, allocations: 164.5 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.2777, allocations: 0 / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.2777, allocations: 3.938 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.2778, allocations: 11.92 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.2781, allocations: 39.89 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.2782, allocations: 23.91 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2783, allocations: 8 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.2783, allocations: 11.98 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2784, allocations: 15.92 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2784, allocations: 3.984 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2785, allocations: 35.97 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.2785, allocations: 7.938 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.2785, allocations: 25.7 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2787, allocations: 39.92 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2787, allocations: 0 / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.065e-06/0.2787, allocations: 11.92 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2787, allocations: 0 / 0.9018 GB, free: 62.12 MB / 0.6042 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.0004428/0.2791, allocations: 347.6 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2792, allocations: 8.031 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.2792, allocations: 38.56 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.2793, allocations: 7.906 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.2794, allocations: 171 kB / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2794, allocations: 0 / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2794, allocations: 4 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2796, allocations: 65.61 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2796, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2796, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2796, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2798, allocations: 59.95 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.2802, allocations: 280.7 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2805, allocations: 70.64 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.2807, allocations: 170.2 kB / 0.9029 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2807, allocations: 34.56 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2807, allocations: 0 / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003694/0.2811, allocations: 109.6 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2811, allocations: 59.34 kB / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.2812, allocations: 113.8 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2812, allocations: 25.7 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.2812, allocations: 88.05 kB / 0.9033 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2813, allocations: 11.84 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.2813, allocations: 3.938 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.2813, allocations: 314.8 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.2814, allocations: 23.97 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.2815, allocations: 27.98 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.2816, allocations: 27.97 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2816, allocations: 3.938 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001944/0.2818, allocations: 81.66 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2818, allocations: 8 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2818, allocations: 3.938 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2819, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.2819, allocations: 19.98 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.282, allocations: 0 / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.282, allocations: 19.94 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.282, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 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.083e-05/0.2821, allocations: 105.8 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.2821, allocations: 8.234 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.2824, allocations: 101.5 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2824, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2824, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2824, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2825, allocations: 165.6 kB / 0.9042 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2825, allocations: 0 / 0.9042 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.2826, allocations: 15.92 kB / 0.9042 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2826, allocations: 4 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2826, allocations: 8 kB / 0.9043 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2826, allocations: 0 / 0.9043 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2826, allocations: 3.984 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2829, allocations: 180.3 kB / 0.9044 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.2829, allocations: 85.02 kB / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2829, allocations: 0 / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.283, allocations: 7.984 kB / 0.9045 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.2831, allocations: 11.98 kB / 0.9045 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.2831, allocations: 0 / 0.9045 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.2831, allocations: 83.28 kB / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2831, allocations: 0 / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002366/0.2834, allocations: 27.92 kB / 0.9046 GB, free: 58.81 MB / 0.6042 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.0004771/0.2839, allocations: 0.7398 MB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.2841, allocations: 51.95 kB / 0.9054 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2841, allocations: 0 / 0.9054 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.2842, allocations: 39.91 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2844, allocations: 4 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.2852, allocations: 462.2 kB / 0.9059 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2853, allocations: 0.6809 MB / 0.9066 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2854, allocations: 11.98 kB / 0.9066 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.2854, allocations: 11.44 kB / 0.9066 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2854, allocations: 0 / 0.9066 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.2965, allocations: 1.604 MB / 0.9081 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.2967, allocations: 182.2 kB / 0.9083 GB, free: 55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.916, allocations: 11.94 kB / 0.9083 GB, free: 54.99 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)