Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.7842/0.7842, 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.001512/0.001512, allocations: 171.6 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 1.906/1.906, allocations: 205.1 MB / 404.5 MB, free: 1.633 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.001022/0.001022, allocations: 87.67 kB / 481.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.8e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 76.75 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6067/0.7845, allocations: 103.2 MB / 0.729 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.7848, allocations: 72.64 kB / 0.7291 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004109/0.7889, allocations: 1.359 MB / 0.7304 GB, free: 8.957 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7889, allocations: 0 / 0.7304 GB, free: 8.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.7889, allocations: 4 kB / 0.7304 GB, free: 8.953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004347/0.7894, allocations: 358.2 kB / 0.7308 GB, free: 8.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7894, allocations: 12.03 kB / 0.7308 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.7895, allocations: 33.44 kB / 0.7308 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.7895, allocations: 12.64 kB / 0.7308 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.7897, allocations: 159.1 kB / 0.731 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7897, allocations: 0 / 0.731 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7897, allocations: 11.44 kB / 0.731 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7898, allocations: 55.45 kB / 0.731 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7899, allocations: 4 kB / 0.731 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7899, allocations: 0 / 0.731 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.7899, allocations: 0 / 0.731 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.79, allocations: 30.98 kB / 0.7311 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.7904, allocations: 285.7 kB / 0.7313 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.7907, allocations: 53.56 kB / 0.7314 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.7907, allocations: 16.17 kB / 0.7314 GB, free: 7.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.7911, allocations: 405 kB / 0.7318 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.7911, allocations: 38.52 kB / 0.7318 GB, free: 7.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.7911, allocations: 0 / 0.7318 GB, free: 7.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001811/0.7913, allocations: 52.5 kB / 0.7319 GB, free: 7.254 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7914, allocations: 51.41 kB / 0.7319 GB, free: 7.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.7915, allocations: 112.1 kB / 0.732 GB, free: 7.082 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.7915, allocations: 25.7 kB / 0.7321 GB, free: 7.051 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.7916, allocations: 84.02 kB / 0.7321 GB, free: 6.969 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.7916, allocations: 3.906 kB / 0.7322 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.7916, allocations: 0 / 0.7322 GB, free: 6.965 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7917, allocations: 318.8 kB / 0.7325 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.7917, allocations: 7 kB / 0.7325 GB, free: 6.641 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.7918, allocations: 7.688 kB / 0.7325 GB, free: 6.637 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.7918, allocations: 11.69 kB / 0.7325 GB, free: 6.629 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7918, allocations: 0 / 0.7325 GB, free: 6.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.161e-05/0.7919, allocations: 52.78 kB / 0.7325 GB, free: 6.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7919, allocations: 8.719 kB / 0.7325 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.7919, allocations: 0 / 0.7325 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.792, allocations: 7.953 kB / 0.7325 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.7921, allocations: 11.98 kB / 0.7326 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.7921, allocations: 0 / 0.7326 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.7922, allocations: 19.73 kB / 0.7326 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.7922, allocations: 0 / 0.7326 GB, free: 6.531 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.638e-05/0.7923, allocations: 105 kB / 0.7327 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.7923, allocations: 0 / 0.7327 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.7924, allocations: 63.64 kB / 0.7327 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7925, allocations: 7.953 kB / 0.7327 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7925, allocations: 0 / 0.7327 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7925, allocations: 0 / 0.7327 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.7927, allocations: 168.7 kB / 0.7329 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7927, allocations: 7.938 kB / 0.7329 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.7928, allocations: 11.98 kB / 0.7329 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.7928, allocations: 4 kB / 0.7329 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.7928, allocations: 0.875 kB / 0.7329 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7928, allocations: 0 / 0.7329 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7928, allocations: 3.953 kB / 0.7329 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.7929, allocations: 149.9 kB / 0.7331 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.793, allocations: 81.16 kB / 0.7332 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.793, allocations: 3.984 kB / 0.7332 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.7931, allocations: 19.36 kB / 0.7332 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.7932, allocations: 7.938 kB / 0.7332 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.7932, allocations: 3.953 kB / 0.7332 GB, free: 5.836 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.7932, allocations: 90.7 kB / 0.7333 GB, free: 5.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7932, allocations: 0 / 0.7333 GB, free: 5.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.7935, allocations: 23.94 kB / 0.7333 GB, free: 5.73 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004921/0.794, allocations: 0.711 MB / 0.734 GB, free: 5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.7941, allocations: 23.67 kB / 0.734 GB, free: 4.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7941, allocations: 3.938 kB / 0.734 GB, free: 4.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.7941, allocations: 11.44 kB / 0.734 GB, free: 4.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.7943, allocations: 11.55 kB / 0.734 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.7947, allocations: 110.8 kB / 0.7341 GB, free: 4.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.7949, allocations: 0.6848 MB / 0.7348 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.795, allocations: 7.922 kB / 0.7348 GB, free: 4.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.795, allocations: 18.25 kB / 0.7348 GB, free: 4.09 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.795, allocations: 0 / 0.7348 GB, free: 4.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.8088, allocations: 1.601 MB / 0.7364 GB, free: 2.605 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.809, allocations: 153.4 kB / 0.7365 GB, free: 2.379 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.307, allocations: 0 / 0.7365 GB, free: 2.379 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)