Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 285.7 MB / 293.1 MB, free: 10.2 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.001267/0.001267, allocations: 180.9 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 101.5 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.043e-05, allocations: 8 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.721, allocations: 115.3 MB / 0.9645 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.9182, allocations: 136.9 MB / 1.098 GB, free: 2.969 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.9185, allocations: 77.41 kB / 1.098 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003729/0.9222, allocations: 1.221 MB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9223, allocations: 0 / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9223, allocations: 0 / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004325/0.9227, allocations: 358.5 kB / 1.1 GB, free: 1.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9228, allocations: 8.031 kB / 1.1 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.9228, allocations: 13.77 kB / 1.1 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.9229, allocations: 167.9 kB / 1.1 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.9232, allocations: 277 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.9232, allocations: 5.281 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001989/0.9234, allocations: 116.4 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.9235, allocations: 65.66 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.9236, allocations: 4.484 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9236, allocations: 0.5625 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9236, allocations: 1.719 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.9238, allocations: 153 kB / 1.101 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.9239, allocations: 86.66 kB / 1.101 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.924, allocations: 33.72 kB / 1.101 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.924, allocations: 7.984 kB / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.9241, allocations: 31.25 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.9241, allocations: 0.6875 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0015/0.9256, allocations: 210.4 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.9256, allocations: 55.41 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.999e-05/0.9257, allocations: 85.72 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.9257, allocations: 25.7 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.9257, allocations: 81.52 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.9258, allocations: 31.48 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.9258, allocations: 0.75 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9259, allocations: 315.3 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.926, allocations: 23.98 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.926, allocations: 25.45 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9273, allocations: 135.8 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.9273, allocations: 0 / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001311/0.9286, allocations: 209.9 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9286, allocations: 7.953 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9286, allocations: 4.625 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9286, allocations: 5.406 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.9288, allocations: 19.98 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.9288, allocations: 0 / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.9289, allocations: 4.625 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.9289, allocations: 8.516 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.645e-05/0.929, allocations: 107.2 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001364/0.9304, allocations: 212.2 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.9304, allocations: 10.02 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.9305, allocations: 8.406 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9305, allocations: 2.203 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9305, allocations: 4.469 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.9305, allocations: 4.562 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.9307, allocations: 150.1 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9307, allocations: 5.125 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.9308, allocations: 19.98 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9308, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.9308, allocations: 14.06 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.9308, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9309, allocations: 3.938 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.9322, allocations: 229.5 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.9323, allocations: 85.05 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.9323, allocations: 4 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.9324, allocations: 11.94 kB / 1.103 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.9324, allocations: 7.984 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9324, allocations: 7.984 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.9325, allocations: 77.97 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9325, allocations: 0 / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002557/0.9327, allocations: 20 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001782/0.9345, allocations: 0.8003 MB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.9347, allocations: 65.31 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9347, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.9348, allocations: 43.91 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.9349, allocations: 4.469 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.9353, allocations: 144.2 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.9356, allocations: 0.6933 MB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.9357, allocations: 40.02 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.9358, allocations: 19.42 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/0.9358, allocations: 3.938 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.9555, allocations: 1.433 MB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.9558, allocations: 161.9 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.429, allocations: 5.203 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)