Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5534/0.5534, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 99.81 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.397e-05, allocations: 8 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 72.32 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5209/0.6785, allocations: 100.4 MB / 0.6517 GB, free: 9.859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.6788, allocations: 75.58 kB / 0.6518 GB, free: 9.816 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003601/0.6824, allocations: 1.216 MB / 0.6529 GB, free: 8.719 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.6824, allocations: 4 kB / 0.653 GB, free: 8.715 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.6824, allocations: 0 / 0.653 GB, free: 8.715 MB / 458.7 MB 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.0003778/0.6828, allocations: 363.9 kB / 0.6533 GB, free: 8.324 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.6829, allocations: 8.031 kB / 0.6533 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.6829, allocations: 7.953 kB / 0.6533 GB, free: 8.309 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.683, allocations: 171 kB / 0.6535 GB, free: 8.102 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.6833, allocations: 273 kB / 0.6537 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.6833, allocations: 4 kB / 0.6537 GB, free: 7.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001821/0.6835, allocations: 113.7 kB / 0.6539 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.6836, allocations: 68.91 kB / 0.6539 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6836, allocations: 4.734 kB / 0.6539 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6836, allocations: 3.938 kB / 0.6539 GB, free: 7.598 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6836, allocations: 7.938 kB / 0.6539 GB, free: 7.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.6838, allocations: 156.8 kB / 0.6541 GB, free: 7.406 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.6839, allocations: 81.92 kB / 0.6542 GB, free: 7.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.684, allocations: 31.59 kB / 0.6542 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.684, allocations: 7.938 kB / 0.6542 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.684, allocations: 37.25 kB / 0.6542 GB, free: 7.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.684, allocations: 0 / 0.6542 GB, free: 7.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001346/0.6854, allocations: 195.8 kB / 0.6544 GB, free: 7.078 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.6854, allocations: 62.28 kB / 0.6545 GB, free: 7.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.891e-05/0.6855, allocations: 85 kB / 0.6546 GB, free: 6.918 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.6855, allocations: 25.7 kB / 0.6546 GB, free: 6.887 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.6856, allocations: 80.33 kB / 0.6547 GB, free: 6.801 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.6856, allocations: 38.64 kB / 0.6547 GB, free: 6.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.6856, allocations: 3.938 kB / 0.6547 GB, free: 6.762 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6858, allocations: 321.7 kB / 0.655 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.6858, allocations: 23.36 kB / 0.655 GB, free: 6.426 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.6858, allocations: 15.31 kB / 0.655 GB, free: 6.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.687, allocations: 140.3 kB / 0.6552 GB, free: 6.293 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.687, allocations: 0 / 0.6552 GB, free: 6.293 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001229/0.6883, allocations: 203.5 kB / 0.6554 GB, free: 6.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6883, allocations: 8 kB / 0.6554 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6883, allocations: 0 / 0.6554 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6883, allocations: 4 kB / 0.6554 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6885, allocations: 23.97 kB / 0.6554 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6885, allocations: 1.688 kB / 0.6554 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.6886, allocations: 11.84 kB / 0.6554 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.6886, allocations: 11.3 kB / 0.6554 GB, free: 6.059 MB / 458.7 MB 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 8.737e-05/0.6887, allocations: 104.9 kB / 0.6555 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00123/0.6899, allocations: 202.3 kB / 0.6557 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.6899, allocations: 4 kB / 0.6557 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.69, allocations: 11.97 kB / 0.6557 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.69, allocations: 3.938 kB / 0.6557 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.69, allocations: 4 kB / 0.6557 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.69, allocations: 0 / 0.6557 GB, free: 5.754 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.6901, allocations: 159.8 kB / 0.6559 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6901, allocations: 0 / 0.6559 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.6903, allocations: 23.92 kB / 0.6559 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6903, allocations: 0 / 0.6559 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.6903, allocations: 11.36 kB / 0.6559 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6903, allocations: 0 / 0.6559 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6903, allocations: 0 / 0.6559 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.6915, allocations: 235.8 kB / 0.6562 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.6916, allocations: 84.95 kB / 0.6562 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6916, allocations: 3.938 kB / 0.6562 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.6917, allocations: 7.984 kB / 0.6563 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.6917, allocations: 11.48 kB / 0.6563 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.6918, allocations: 11.92 kB / 0.6563 GB, free: 5.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.6918, allocations: 75.28 kB / 0.6563 GB, free: 5.105 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6918, allocations: 4 kB / 0.6563 GB, free: 5.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.692, allocations: 20 kB / 0.6564 GB, free: 5.082 MB / 458.7 MB 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.001608/0.6936, allocations: 0.7934 MB / 0.6571 GB, free: 4.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.6938, allocations: 64.41 kB / 0.6572 GB, free: 4.234 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6938, allocations: 0 / 0.6572 GB, free: 4.234 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.587e-05/0.6938, allocations: 45.28 kB / 0.6572 GB, free: 4.199 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.694, allocations: 0 / 0.6572 GB, free: 4.199 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.6944, allocations: 140.1 kB / 0.6574 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.6946, allocations: 0.6923 MB / 0.6581 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.6948, allocations: 38.64 kB / 0.6581 GB, free: 3.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.6948, allocations: 21.92 kB / 0.6581 GB, free: 3.262 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6948, allocations: 0 / 0.6581 GB, free: 3.262 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.7147, allocations: 1.443 MB / 0.6595 GB, free: 1.828 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.715, allocations: 140.5 kB / 0.6597 GB, free: 1.633 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.251, allocations: 0 / 0.6597 GB, free: 1.633 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)