Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.00144/0.00144, allocations: 177.6 kB / 8.002 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.5556/0.5556, allocations: 90.91 MB / 99.35 MB, free: 2.164 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.524/1.524, allocations: 221.5 MB / 343.2 MB, free: 1.617 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.001186/0.001185, allocations: 91.94 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.784e-05, allocations: 8 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/0.6794, allocations: 101.5 MB / 0.6527 GB, free: 8.555 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.6797, allocations: 75.95 kB / 0.6528 GB, free: 8.516 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004149/0.6838, allocations: 1.344 MB / 0.6541 GB, free: 7.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6839, allocations: 0 / 0.6541 GB, free: 7.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.6839, allocations: 0 / 0.6541 GB, free: 7.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004165/0.6843, allocations: 366.8 kB / 0.6544 GB, free: 6.941 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6844, allocations: 11.97 kB / 0.6544 GB, free: 6.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.6844, allocations: 7.953 kB / 0.6544 GB, free: 6.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.6846, allocations: 163.1 kB / 0.6546 GB, free: 6.723 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.6846, allocations: 8 kB / 0.6546 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.6846, allocations: 0 / 0.6546 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.251e-05/0.6847, allocations: 19.44 kB / 0.6546 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.967e-05/0.6848, allocations: 45.19 kB / 0.6547 GB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.6848, allocations: 0 / 0.6547 GB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.6848, allocations: 0 / 0.6547 GB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.6848, allocations: 7.938 kB / 0.6547 GB, free: 6.648 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.6852, allocations: 260.1 kB / 0.6549 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.6854, allocations: 38.38 kB / 0.655 GB, free: 6.328 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.6855, allocations: 16.42 kB / 0.655 GB, free: 6.312 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.6859, allocations: 404.7 kB / 0.6554 GB, free: 5.828 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.6859, allocations: 37.88 kB / 0.6554 GB, free: 5.785 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 5.22e-06/0.6859, allocations: 0 / 0.6554 GB, free: 5.785 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000336/0.6863, allocations: 71.5 kB / 0.6555 GB, free: 5.715 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6863, allocations: 51.41 kB / 0.6555 GB, free: 5.652 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.6864, allocations: 100.4 kB / 0.6556 GB, free: 5.551 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.6864, allocations: 25.7 kB / 0.6556 GB, free: 5.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.6865, allocations: 87.45 kB / 0.6557 GB, free: 5.434 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.6865, allocations: 3.906 kB / 0.6557 GB, free: 5.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6865, allocations: 0 / 0.6557 GB, free: 5.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6867, allocations: 314.8 kB / 0.656 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.6867, allocations: 11.12 kB / 0.656 GB, free: 5.105 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.6868, allocations: 11.67 kB / 0.656 GB, free: 5.098 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.6869, allocations: 15.48 kB / 0.6561 GB, free: 5.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6869, allocations: 0 / 0.6561 GB, free: 5.086 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002137/0.6872, allocations: 66.98 kB / 0.6561 GB, free: 5.023 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6872, allocations: 9.094 kB / 0.6561 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6872, allocations: 0 / 0.6561 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6872, allocations: 0 / 0.6561 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.6873, allocations: 15.67 kB / 0.6561 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6873, allocations: 7.953 kB / 0.6562 GB, free: 4.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.6874, allocations: 11.98 kB / 0.6562 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.6874, allocations: 0 / 0.6562 GB, free: 4.984 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: 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.75e-05/0.6875, allocations: 105 kB / 0.6563 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002214/0.6877, allocations: 65.02 kB / 0.6563 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.6878, allocations: 0 / 0.6563 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.688, allocations: 81.05 kB / 0.6564 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6881, allocations: 4 kB / 0.6564 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6881, allocations: 0 / 0.6564 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6881, allocations: 3.938 kB / 0.6564 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.6882, allocations: 149.7 kB / 0.6566 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6882, allocations: 0 / 0.6566 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.6883, allocations: 11.98 kB / 0.6566 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6883, allocations: 0 / 0.6566 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.6884, allocations: 4 kB / 0.6566 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6884, allocations: 0 / 0.6566 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.6884, allocations: 4.516 kB / 0.6566 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.6887, allocations: 163 kB / 0.6567 GB, free: 4.359 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.6887, allocations: 85.08 kB / 0.6568 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.6888, allocations: 0 / 0.6568 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.6888, allocations: 11.98 kB / 0.6568 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.6889, allocations: 11.92 kB / 0.6568 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.6889, allocations: 3.953 kB / 0.6568 GB, free: 4.234 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.689, allocations: 87.28 kB / 0.6569 GB, free: 4.148 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.689, allocations: 0 / 0.6569 GB, free: 4.148 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.6892, allocations: 27.38 kB / 0.6569 GB, free: 4.125 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: 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.0006291/0.6899, allocations: 0.7074 MB / 0.6576 GB, free: 3.402 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.69, allocations: 19.69 kB / 0.6577 GB, free: 3.387 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.69, allocations: 4 kB / 0.6577 GB, free: 3.383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.69, allocations: 11.44 kB / 0.6577 GB, free: 3.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.6902, allocations: 7.547 kB / 0.6577 GB, free: 3.371 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.6906, allocations: 101.2 kB / 0.6578 GB, free: 3.238 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.6909, allocations: 0.6846 MB / 0.6584 GB, free: 2.527 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.691, allocations: 15.89 kB / 0.6585 GB, free: 2.512 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.691, allocations: 11.06 kB / 0.6585 GB, free: 2.504 MB / 458.7 MB Notification: Performance of SimCode: time 4.5e-07/0.691, allocations: 0 / 0.6585 GB, free: 2.504 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.71, allocations: 1.218 MB / 0.6597 GB, free: 1.297 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.7103, allocations: 133.3 kB / 0.6598 GB, free: 1.094 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.26, allocations: 5.125 kB / 0.6598 GB, free: 1.09 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)