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.897/2.897, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.00162/0.00162, allocations: 186.6 kB / 370.8 MB, free: 10.83 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.22/2.22, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001192/0.001192, allocations: 95.72 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 14.92 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.256, allocations: 137.5 MB / 1.113 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.256, allocations: 77.44 kB / 1.113 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005806/1.262, allocations: 1.215 MB / 1.114 GB, free: 31.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.518e-06/1.262, allocations: 0 / 1.114 GB, free: 31.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.262, allocations: 0 / 1.114 GB, free: 31.06 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.0006509/1.263, allocations: 370.5 kB / 1.114 GB, free: 30.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.263, allocations: 11.8 kB / 1.114 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/1.263, allocations: 42.06 kB / 1.114 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/1.263, allocations: 8.625 kB / 1.114 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/1.263, allocations: 168.8 kB / 1.114 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/1.264, allocations: 281.5 kB / 1.115 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/1.264, allocations: 6.438 kB / 1.115 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/1.264, allocations: 79.45 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.264, allocations: 3.938 kB / 1.115 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/1.264, allocations: 0 / 1.115 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.264, allocations: 0 / 1.115 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/1.265, allocations: 134.2 kB / 1.115 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/1.265, allocations: 182.2 kB / 1.115 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/1.266, allocations: 99.36 kB / 1.115 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/1.266, allocations: 0 / 1.115 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/1.266, allocations: 36.11 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.795e-06/1.266, allocations: 0 / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009024/1.267, allocations: 144.2 kB / 1.115 GB, free: 29.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.267, allocations: 55.61 kB / 1.115 GB, free: 29.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/1.267, allocations: 88.31 kB / 1.115 GB, free: 29.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/1.267, allocations: 29.7 kB / 1.115 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/1.267, allocations: 84.27 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/1.267, allocations: 35.59 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/1.267, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.267, allocations: 319.9 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/1.268, allocations: 33.77 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/1.268, allocations: 28.83 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/1.268, allocations: 37.84 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.269, allocations: 7.953 kB / 1.116 GB, free: 29.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007974/1.269, allocations: 119.5 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.269, allocations: 3.906 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.269, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.269, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/1.27, allocations: 28.73 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/1.27, allocations: 0 / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/1.27, allocations: 9.688 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/1.27, allocations: 3.875 kB / 1.116 GB, free: 29.13 MB / 0.698 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 () * Number of clocked 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.000139/1.27, allocations: 123.9 kB / 1.116 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/1.27, allocations: 11.84 kB / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/1.27, allocations: 14.91 kB / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.27, allocations: 2.938 kB / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.27, allocations: 0 / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.27, allocations: 2.812 kB / 1.116 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/1.27, allocations: 172.5 kB / 1.116 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.27, allocations: 0 / 1.116 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.271, allocations: 32.28 kB / 1.116 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.271, allocations: 0 / 1.116 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.271, allocations: 4 kB / 1.116 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.271, allocations: 2.719 kB / 1.116 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.271, allocations: 0 / 1.116 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/1.271, allocations: 141.4 kB / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/1.271, allocations: 91.75 kB / 1.117 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/1.271, allocations: 7.641 kB / 1.117 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.272, allocations: 3.844 kB / 1.117 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/1.272, allocations: 13.5 kB / 1.117 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/1.272, allocations: 6.422 kB / 1.117 GB, free: 28.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.682e-05/1.272, allocations: 77.98 kB / 1.117 GB, free: 28.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.272, allocations: 0 / 1.117 GB, free: 28.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003806/1.272, allocations: 26.88 kB / 1.117 GB, free: 28.55 MB / 0.698 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 () * Number of clocked 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.001156/1.273, allocations: 0.7002 MB / 1.118 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005831/1.274, allocations: 83.64 kB / 1.118 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.274, allocations: 3.719 kB / 1.118 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/1.274, allocations: 48.52 kB / 1.118 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/1.274, allocations: 7.828 kB / 1.118 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.276, allocations: 210.8 kB / 1.118 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/1.276, allocations: 0.6924 MB / 1.119 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000219/1.276, allocations: 39.3 kB / 1.119 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/1.276, allocations: 21.58 kB / 1.119 GB, free: 27.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/1.276, allocations: 0 / 1.119 GB, free: 27.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/1.308, allocations: 1.729 MB / 1.12 GB, free: 26.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/1.309, allocations: 176.1 kB / 1.12 GB, free: 26.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.846, allocations: 3.938 kB / 1.12 GB, free: 26.61 MB / 0.698 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)