Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.555/2.555, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001556/0.001556, allocations: 184.8 kB / 360.6 MB, free: 7.301 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.143/2.143, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001057/0.001057, allocations: 87.34 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.157e-05, allocations: 8 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8777, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/1.108, allocations: 136.7 MB / 1.097 GB, free: 3.738 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/1.109, allocations: 82.52 kB / 1.097 GB, free: 3.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007535/1.116, allocations: 1.209 MB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.116, allocations: 0.6875 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.389e-05/1.116, allocations: 4 kB / 1.098 GB, free: 2.465 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.0008635/1.117, allocations: 355.8 kB / 1.099 GB, free: 2.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/1.117, allocations: 12.03 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/1.117, allocations: 9.672 kB / 1.099 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/1.117, allocations: 167.6 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006083/1.118, allocations: 274.8 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/1.118, allocations: 8.75 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005405/1.119, allocations: 119.8 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/1.119, allocations: 66.09 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.119, allocations: 2.438 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/1.119, allocations: 4 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/1.119, allocations: 2.688 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/1.119, allocations: 155.8 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/1.12, allocations: 77.39 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.12, allocations: 33.81 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/1.12, allocations: 7.984 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.12, allocations: 35.22 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.976e-06/1.12, allocations: 0.9375 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.003864/1.124, allocations: 209.7 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.124, allocations: 55.59 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/1.124, allocations: 86.44 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/1.124, allocations: 25.7 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/1.124, allocations: 84.33 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/1.124, allocations: 32.31 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/1.124, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.125, allocations: 315.4 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.125, allocations: 24.67 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/1.125, allocations: 20 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/1.128, allocations: 136.5 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.128, allocations: 0.6562 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003408/1.132, allocations: 217.2 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.132, allocations: 4.844 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.132, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.132, allocations: 0.75 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/1.132, allocations: 27.97 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.132, allocations: 0.875 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/1.132, allocations: 4 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/1.133, allocations: 7.078 kB / 1.101 GB, free: 15.7 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 0.0001467/1.133, allocations: 105 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003366/1.136, allocations: 215.9 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/1.136, allocations: 5.344 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/1.136, allocations: 12.41 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.136, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.136, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.136, allocations: 3.375 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/1.137, allocations: 150.1 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.137, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/1.137, allocations: 19.98 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/1.137, allocations: 7.953 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/1.137, allocations: 4.922 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.137, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.137, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/1.14, allocations: 240.8 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/1.14, allocations: 81.05 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/1.14, allocations: 7.953 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/1.14, allocations: 3.984 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.141, allocations: 17.91 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/1.141, allocations: 6.984 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.143e-05/1.141, allocations: 81.81 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/1.141, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004632/1.141, allocations: 24 kB / 1.102 GB, free: 14.66 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.0036/1.145, allocations: 0.7878 MB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003297/1.145, allocations: 63.91 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.145, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/1.145, allocations: 46.98 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/1.146, allocations: 9.5 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/1.146, allocations: 136 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/1.147, allocations: 0.6923 MB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003061/1.147, allocations: 34.97 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/1.147, allocations: 23.41 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/1.147, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0439/1.191, allocations: 1.448 MB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/1.192, allocations: 140.5 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.555, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)