Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 249.3 MB / 261.8 MB, free: 5.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 176.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008355/0.0008361, allocations: 86.52 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.124e-05, allocations: 8 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7879/1.018, allocations: 131.2 MB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.018, allocations: 78.56 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003977/1.022, allocations: 1.215 MB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/1.022, allocations: 0 / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.094e-06/1.022, allocations: 0 / 1.021 GB, free: 2.324 MB / 0.6355 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.0004431/1.023, allocations: 353.4 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.023, allocations: 8.031 kB / 1.022 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/1.023, allocations: 44.73 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/1.023, allocations: 4 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.023, allocations: 174.7 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/1.023, allocations: 279.4 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/1.023, allocations: 8 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.023, allocations: 73.27 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.023, allocations: 3.938 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.023, allocations: 0 / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/1.023, allocations: 0 / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/1.024, allocations: 123.8 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/1.024, allocations: 185.2 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/1.024, allocations: 80.36 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/1.024, allocations: 35.73 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/1.024, allocations: 7.672 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.024, allocations: 34.56 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/1.024, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002998/1.024, allocations: 102.5 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.024, allocations: 51.41 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.834e-05/1.025, allocations: 85 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/1.025, allocations: 32.89 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/1.025, allocations: 84.33 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/1.025, allocations: 34.7 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/1.025, allocations: 3.375 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.025, allocations: 310.8 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/1.025, allocations: 26.42 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/1.025, allocations: 21.56 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/1.025, allocations: 31.52 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.025, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001964/1.025, allocations: 96.34 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.025, allocations: 12 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.025, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.025, allocations: 3.938 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.025, allocations: 27.91 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.025, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/1.026, allocations: 7.344 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/1.026, allocations: 7.984 kB / 1.024 GB, free: 15.87 MB / 0.6511 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.134e-05/1.026, allocations: 112.2 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/1.026, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/1.026, allocations: 15.22 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.026, allocations: 4 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.026, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.026, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/1.026, allocations: 176.6 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/1.026, allocations: 7.953 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/1.026, allocations: 27.91 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.026, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/1.026, allocations: 3.625 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.026, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.026, allocations: 7.938 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/1.026, allocations: 125.8 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/1.026, allocations: 88.91 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/1.026, allocations: 7.562 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/1.027, allocations: 0.875 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/1.027, allocations: 19.95 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.027, allocations: 6.672 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.458e-05/1.027, allocations: 79.28 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/1.027, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000232/1.027, allocations: 27.19 kB / 1.024 GB, free: 15.12 MB / 0.6511 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.0006422/1.028, allocations: 0.6811 MB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001668/1.028, allocations: 69.22 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.028, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/1.028, allocations: 46.91 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/1.028, allocations: 3.938 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/1.028, allocations: 153.1 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/1.029, allocations: 0.6946 MB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001391/1.029, allocations: 46.88 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/1.029, allocations: 18.67 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of SimCode: time 6.01e-07/1.029, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/1.042, allocations: 1.752 MB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/1.042, allocations: 170.8 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.579, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)