Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001797/0.001797, allocations: 180.8 kB / 366.7 MB, free: 1.691 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.03/2.03, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.000836/0.0008359, allocations: 84.77 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.522e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7231, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.9126, allocations: 137.9 MB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.9128, allocations: 77.55 kB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003522/0.9164, allocations: 1.212 MB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9164, allocations: 0.7188 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.9164, allocations: 3.938 kB / 1.109 GB, free: 10.98 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.0004255/0.9169, allocations: 362.1 kB / 1.11 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.9169, allocations: 8.688 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.917, allocations: 11.91 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.9171, allocations: 163.8 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.9173, allocations: 277.7 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.9174, allocations: 4 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001937/0.9176, allocations: 122.8 kB / 1.11 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9177, allocations: 67.12 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.9177, allocations: 0 / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9177, allocations: 0.6875 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.9177, allocations: 4 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.9179, allocations: 151.7 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.918, allocations: 79.02 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.9181, allocations: 34.69 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.9181, allocations: 0 / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.9182, allocations: 35.62 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.9182, allocations: 0.875 kB / 1.111 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001372/0.9196, allocations: 216.4 kB / 1.111 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.9196, allocations: 52.47 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.573e-05/0.9196, allocations: 85 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.9197, allocations: 26.77 kB / 1.111 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.9197, allocations: 80.33 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.9197, allocations: 31.55 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.9198, allocations: 0.9375 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.9199, allocations: 318.8 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.9199, allocations: 20.61 kB / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.9199, allocations: 25.14 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.9211, allocations: 138.5 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9211, allocations: 0 / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001246/0.9224, allocations: 214.8 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.9224, allocations: 9.516 kB / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9224, allocations: 0 / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.9224, allocations: 3.984 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.9226, allocations: 25.36 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.9226, allocations: 4 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.9227, allocations: 7.984 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.9227, allocations: 3.031 kB / 1.112 GB, free: 8.215 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 6.816e-05/0.9228, allocations: 105 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001243/0.924, allocations: 213.3 kB / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.9241, allocations: 3.953 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.9241, allocations: 8.406 kB / 1.112 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.9241, allocations: 4 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9241, allocations: 3.969 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9241, allocations: 3.984 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.9242, allocations: 154.1 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9243, allocations: 1.25 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.9244, allocations: 23.97 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.9244, allocations: 4 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9244, allocations: 3.953 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9244, allocations: 0 / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9244, allocations: 0 / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.9257, allocations: 244.1 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.9258, allocations: 81.05 kB / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.9258, allocations: 0 / 1.113 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.9258, allocations: 9.953 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.9259, allocations: 11.97 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.9259, allocations: 9.125 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.9259, allocations: 77.97 kB / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.926, allocations: 0 / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002151/0.9262, allocations: 28 kB / 1.113 GB, free: 7.172 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.001561/0.9277, allocations: 0.7917 MB / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.9279, allocations: 63.91 kB / 1.113 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9279, allocations: 4 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.9279, allocations: 42.22 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.079e-05/0.928, allocations: 3.953 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.9284, allocations: 141 kB / 1.114 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.9286, allocations: 0.6884 MB / 1.114 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.9287, allocations: 41.58 kB / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.9288, allocations: 19.42 kB / 1.114 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.9288, allocations: 4 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.9468, allocations: 1.44 MB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.947, allocations: 146.8 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.468, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)