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.326/2.326, allocations: 284.7 MB / 297.2 MB, free: 6.41 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.001441/0.00144, allocations: 176.9 kB / 365.6 MB, free: 2.656 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.887/1.887, allocations: 205.1 MB / 0.624 GB, free: 8.262 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.001051/0.001051, allocations: 88.8 kB / 0.7371 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.773e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7506, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.9941, allocations: 137.4 MB / 1.104 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.9945, allocations: 75.95 kB / 1.104 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005656/1, allocations: 1.216 MB / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/1, allocations: 0 / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.093e-06/1, allocations: 3.406 kB / 1.105 GB, free: 13.88 MB / 0.7136 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.0006148/1.001, allocations: 358.5 kB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.001, allocations: 8.031 kB / 1.106 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/1.001, allocations: 42.56 kB / 1.106 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/1.001, allocations: 13.09 kB / 1.106 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/1.001, allocations: 171 kB / 1.106 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/1.002, allocations: 277 kB / 1.106 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/1.002, allocations: 7.688 kB / 1.106 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/1.002, allocations: 73.58 kB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/1.002, allocations: 1.594 kB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/1.002, allocations: 4 kB / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.002, allocations: 0 / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/1.002, allocations: 123.8 kB / 1.106 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/1.003, allocations: 185.5 kB / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/1.003, allocations: 74.56 kB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/1.003, allocations: 37.75 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/1.003, allocations: 0.5312 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.003, allocations: 35.72 kB / 1.107 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 3.907e-06/1.003, allocations: 3.984 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000335/1.003, allocations: 102.5 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.003, allocations: 55.39 kB / 1.107 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/1.003, allocations: 91.44 kB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.003, allocations: 29.7 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/1.004, allocations: 81.08 kB / 1.107 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/1.004, allocations: 27.56 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/1.004, allocations: 4 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.004, allocations: 315.7 kB / 1.107 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/1.004, allocations: 23.98 kB / 1.107 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/1.004, allocations: 29.59 kB / 1.107 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/1.004, allocations: 35.86 kB / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.004, allocations: 0 / 1.107 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000254/1.004, allocations: 95.44 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/1.004, allocations: 9.094 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.004, allocations: 4.656 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.004, allocations: 3.156 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/1.005, allocations: 23.97 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.005, allocations: 4 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/1.005, allocations: 4 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/1.005, allocations: 4 kB / 1.108 GB, free: 11.31 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.0001057/1.005, allocations: 116.9 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/1.005, allocations: 3.906 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/1.005, allocations: 8.906 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.005, allocations: 4 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.005, allocations: 4.469 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.005, allocations: 1.188 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/1.005, allocations: 174.5 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.005, allocations: 7.953 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/1.006, allocations: 32.41 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.006, allocations: 2.969 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.006, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.006, allocations: 7 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.006, allocations: 4.672 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/1.006, allocations: 127.7 kB / 1.108 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/1.006, allocations: 85 kB / 1.108 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/1.006, allocations: 6.562 kB / 1.108 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/1.006, allocations: 7.938 kB / 1.108 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/1.006, allocations: 15.97 kB / 1.108 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/1.006, allocations: 0 / 1.108 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.759e-05/1.006, allocations: 79.22 kB / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.006, allocations: 0 / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003336/1.007, allocations: 35.98 kB / 1.108 GB, free: 10.52 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.000754/1.008, allocations: 0.6749 MB / 1.109 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002505/1.008, allocations: 69.55 kB / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.008, allocations: 0 / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/1.008, allocations: 51.91 kB / 1.109 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/1.008, allocations: 0 / 1.109 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/1.009, allocations: 149 kB / 1.109 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.009, allocations: 0.6926 MB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002208/1.009, allocations: 39.64 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/1.009, allocations: 23.42 kB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.009, allocations: 0 / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/1.032, allocations: 1.745 MB / 1.112 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003683/1.033, allocations: 163.8 kB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.211, allocations: 0 / 1.112 GB, free: 6.984 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)