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.00152/0.00152, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5757/0.5757, allocations: 91.97 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 223.2 MB / 354.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 88.3 kB / 427.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003428, allocations: 8 kB / 0.4983 GB, free: 42.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1678, allocations: 72.3 MB / 0.5689 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.672, allocations: 102.2 MB / 0.6687 GB, free: 2.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6723, allocations: 75.95 kB / 0.6688 GB, free: 2.125 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004075/0.6764, allocations: 1.35 MB / 0.6701 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6764, allocations: 0 / 0.6701 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.6764, allocations: 0 / 0.6701 GB, free: 0.7891 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.0004172/0.6768, allocations: 363.8 kB / 0.6704 GB, free: 396 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6769, allocations: 12.03 kB / 0.6705 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.6769, allocations: 42.55 kB / 0.6705 GB, free: 332 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.677, allocations: 7.859 kB / 0.6705 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.6771, allocations: 167 kB / 0.6707 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.6771, allocations: 0 / 0.6707 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.6772, allocations: 0 / 0.6707 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.6774, allocations: 69.66 kB / 0.6707 GB, free: 40 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6774, allocations: 4 kB / 0.6707 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6774, allocations: 4 kB / 0.6707 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6774, allocations: 3.984 kB / 0.6707 GB, free: 28 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.6776, allocations: 63.83 kB / 0.6708 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.6781, allocations: 272.8 kB / 0.6711 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.6784, allocations: 70.47 kB / 0.6711 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.6789, allocations: 405.7 kB / 0.6715 GB, free: 15.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.6789, allocations: 38.52 kB / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.6789, allocations: 0 / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004301/0.6793, allocations: 117.6 kB / 0.6717 GB, free: 14.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.6794, allocations: 51.41 kB / 0.6717 GB, free: 14.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.6795, allocations: 105 kB / 0.6718 GB, free: 14.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.6795, allocations: 29.7 kB / 0.6718 GB, free: 14.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.6796, allocations: 84.14 kB / 0.6719 GB, free: 14.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.6796, allocations: 7.844 kB / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.6796, allocations: 3.938 kB / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6797, allocations: 322.8 kB / 0.6722 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.6798, allocations: 23.98 kB / 0.6723 GB, free: 14.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.6799, allocations: 23.92 kB / 0.6723 GB, free: 14.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.68, allocations: 27.97 kB / 0.6723 GB, free: 14.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.68, allocations: 4 kB / 0.6723 GB, free: 14.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000215/0.6803, allocations: 89.56 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6803, allocations: 4 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6803, allocations: 0 / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6803, allocations: 7.953 kB / 0.6724 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.6804, allocations: 19.98 kB / 0.6724 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6804, allocations: 0 / 0.6724 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.6805, allocations: 7.984 kB / 0.6724 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.6805, allocations: 4 kB / 0.6724 GB, free: 14.07 MB / 474.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 () * Number of clocked 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 9.013e-05/0.6806, allocations: 113.8 kB / 0.6726 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.6806, allocations: 4 kB / 0.6726 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.681, allocations: 93.55 kB / 0.6726 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.681, allocations: 3.953 kB / 0.6727 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.681, allocations: 0 / 0.6727 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.681, allocations: 3.984 kB / 0.6727 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.6812, allocations: 165.7 kB / 0.6728 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6812, allocations: 0 / 0.6728 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.6813, allocations: 19.98 kB / 0.6728 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6813, allocations: 0 / 0.6728 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.6813, allocations: 0 / 0.6728 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6813, allocations: 0 / 0.6728 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6813, allocations: 3.953 kB / 0.6728 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.6816, allocations: 187.7 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.6816, allocations: 81.14 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.6817, allocations: 3.984 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.6818, allocations: 12 kB / 0.6731 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6818, allocations: 7.922 kB / 0.6731 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.6818, allocations: 7.953 kB / 0.6731 GB, free: 13.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.6819, allocations: 91.27 kB / 0.6732 GB, free: 13.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6819, allocations: 0 / 0.6732 GB, free: 13.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.6822, allocations: 20 kB / 0.6732 GB, free: 13.16 MB / 474.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 () * Number of clocked 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.0006275/0.6828, allocations: 0.7475 MB / 0.674 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.683, allocations: 55.95 kB / 0.674 GB, free: 12.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.683, allocations: 4 kB / 0.674 GB, free: 12.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6831, allocations: 27.98 kB / 0.674 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.6833, allocations: 3.938 kB / 0.674 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.6842, allocations: 466.9 kB / 0.6745 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.6845, allocations: 0.6848 MB / 0.6752 GB, free: 11.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.512e-05/0.6845, allocations: 7.859 kB / 0.6752 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.6846, allocations: 15.42 kB / 0.6752 GB, free: 11.06 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6846, allocations: 0 / 0.6752 GB, free: 11.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.6981, allocations: 1.573 MB / 0.6767 GB, free: 9.598 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6983, allocations: 171.5 kB / 0.6769 GB, free: 9.352 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.267, allocations: 6.938 kB / 0.6769 GB, free: 9.348 MB / 474.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)