Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7723/0.7723, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 172.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.1 MB / 404.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 86.47 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.646e-05/4.682e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1819, allocations: 76.76 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5993/0.7812, allocations: 102.2 MB / 0.728 GB, free: 11.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.7817, allocations: 75.64 kB / 0.7281 GB, free: 11.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003934/0.7856, allocations: 1.329 MB / 0.7294 GB, free: 9.953 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7857, allocations: 0 / 0.7294 GB, free: 9.953 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.7857, allocations: 7.938 kB / 0.7294 GB, free: 9.949 MB / 490.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.0004375/0.7861, allocations: 351.3 kB / 0.7297 GB, free: 9.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.7862, allocations: 16.03 kB / 0.7298 GB, free: 9.551 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.7862, allocations: 40.86 kB / 0.7298 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.7863, allocations: 12.73 kB / 0.7298 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7864, allocations: 162.1 kB / 0.73 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.7867, allocations: 280.7 kB / 0.7302 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.7867, allocations: 7.375 kB / 0.7302 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.7869, allocations: 73.83 kB / 0.7303 GB, free: 8.895 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7869, allocations: 3.938 kB / 0.7303 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7869, allocations: 0 / 0.7303 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.7869, allocations: 8 kB / 0.7303 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.7871, allocations: 125 kB / 0.7304 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.7874, allocations: 183.7 kB / 0.7306 GB, free: 8.559 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.7875, allocations: 83.05 kB / 0.7307 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.7876, allocations: 31.72 kB / 0.7307 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.7876, allocations: 7.125 kB / 0.7307 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.7876, allocations: 30.56 kB / 0.7308 GB, free: 8.414 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.7876, allocations: 4 kB / 0.7308 GB, free: 8.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.000232/0.7879, allocations: 99.66 kB / 0.7309 GB, free: 8.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.7879, allocations: 55.41 kB / 0.7309 GB, free: 8.254 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.186e-05/0.788, allocations: 85 kB / 0.731 GB, free: 8.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.788, allocations: 25.7 kB / 0.731 GB, free: 8.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.788, allocations: 83.7 kB / 0.7311 GB, free: 8.047 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.7881, allocations: 30.09 kB / 0.7311 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.7881, allocations: 3.375 kB / 0.7311 GB, free: 8.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7882, allocations: 322.8 kB / 0.7314 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.7883, allocations: 31.11 kB / 0.7315 GB, free: 7.672 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.7883, allocations: 19.31 kB / 0.7315 GB, free: 7.656 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.7884, allocations: 31.16 kB / 0.7315 GB, free: 7.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7884, allocations: 0 / 0.7315 GB, free: 7.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001509/0.7886, allocations: 97.2 kB / 0.7316 GB, free: 7.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7886, allocations: 4 kB / 0.7316 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7886, allocations: 0 / 0.7316 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7886, allocations: 0 / 0.7316 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.7888, allocations: 27.97 kB / 0.7316 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.7888, allocations: 0 / 0.7316 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.7889, allocations: 14.78 kB / 0.7317 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.7889, allocations: 7.984 kB / 0.7317 GB, free: 7.492 MB / 490.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.902e-05/0.789, allocations: 112.7 kB / 0.7318 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.789, allocations: 7.938 kB / 0.7318 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.7891, allocations: 11.41 kB / 0.7318 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7891, allocations: 0 / 0.7318 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7891, allocations: 0 / 0.7318 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7891, allocations: 0 / 0.7318 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.7893, allocations: 184.2 kB / 0.732 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7893, allocations: 4 kB / 0.732 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.7894, allocations: 23.97 kB / 0.732 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7894, allocations: 4 kB / 0.732 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7894, allocations: 7.312 kB / 0.732 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7894, allocations: 3.938 kB / 0.732 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7894, allocations: 0 / 0.732 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.7896, allocations: 134.2 kB / 0.7321 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.7897, allocations: 88.95 kB / 0.7322 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.7897, allocations: 7.75 kB / 0.7322 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.7898, allocations: 4 kB / 0.7322 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.7898, allocations: 11.97 kB / 0.7322 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.7899, allocations: 11.86 kB / 0.7322 GB, free: 6.848 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.7899, allocations: 75.28 kB / 0.7323 GB, free: 6.773 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7899, allocations: 0 / 0.7323 GB, free: 6.773 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.7901, allocations: 31.81 kB / 0.7324 GB, free: 6.746 MB / 490.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.000569/0.7907, allocations: 0.6834 MB / 0.733 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.7909, allocations: 70.59 kB / 0.7331 GB, free: 5.996 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7909, allocations: 3.938 kB / 0.7331 GB, free: 5.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.201e-05/0.7909, allocations: 39.09 kB / 0.7331 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.653e-05/0.791, allocations: 4 kB / 0.7331 GB, free: 5.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.7915, allocations: 153.7 kB / 0.7333 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7917, allocations: 0.6964 MB / 0.734 GB, free: 5.062 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.7919, allocations: 40.8 kB / 0.734 GB, free: 5.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.7919, allocations: 18.61 kB / 0.734 GB, free: 5.008 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7919, allocations: 0 / 0.734 GB, free: 5.008 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.8064, allocations: 1.777 MB / 0.7357 GB, free: 3.355 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.8067, allocations: 176.2 kB / 0.7359 GB, free: 3.117 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.35, allocations: 0 / 0.7359 GB, free: 3.117 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)