Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8018/0.8018, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 185.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.3 MB / 441.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 95.45 kB / 0.5124 GB, free: 24.09 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 268.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.567e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5631, allocations: 82.78 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.6961, allocations: 108.2 MB / 0.87 GB, free: 372 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.6964, allocations: 79.89 kB / 0.8701 GB, free: 292 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003642/0.7, allocations: 1.217 MB / 0.8713 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7001, allocations: 0 / 0.8713 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.7001, allocations: 4 kB / 0.8713 GB, free: 15.07 MB / 0.5417 GB 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.000453/0.7006, allocations: 354.5 kB / 0.8716 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.7006, allocations: 12.03 kB / 0.8717 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.7007, allocations: 42.56 kB / 0.8717 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.7007, allocations: 11.91 kB / 0.8717 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.7009, allocations: 167 kB / 0.8719 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.7012, allocations: 281 kB / 0.8721 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.7012, allocations: 4 kB / 0.8721 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.7014, allocations: 77.58 kB / 0.8722 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7014, allocations: 0 / 0.8722 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7014, allocations: 0 / 0.8722 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.7014, allocations: 4 kB / 0.8722 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.7016, allocations: 115.8 kB / 0.8723 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.7018, allocations: 181.6 kB / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.702, allocations: 86.45 kB / 0.8726 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.702, allocations: 32.84 kB / 0.8726 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.7021, allocations: 7.984 kB / 0.8726 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7021, allocations: 34.56 kB / 0.8727 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.7021, allocations: 0 / 0.8727 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0002718/0.7024, allocations: 101.9 kB / 0.8727 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.7024, allocations: 55.41 kB / 0.8728 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.149e-05/0.7025, allocations: 85 kB / 0.8729 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.7025, allocations: 29.69 kB / 0.8729 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.7026, allocations: 80.33 kB / 0.873 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.7026, allocations: 43.39 kB / 0.873 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.7027, allocations: 0 / 0.873 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7028, allocations: 318.8 kB / 0.8733 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.7029, allocations: 24 kB / 0.8734 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.7029, allocations: 23.98 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.703, allocations: 32.23 kB / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.703, allocations: 0 / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001652/0.7032, allocations: 109.5 kB / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7032, allocations: 4 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7032, allocations: 0 / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.7032, allocations: 0 / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.7034, allocations: 31.91 kB / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7034, allocations: 0 / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.7035, allocations: 4 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.7035, allocations: 8 kB / 0.8736 GB, free: 12.47 MB / 0.5417 GB 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.204e-05/0.7036, allocations: 105 kB / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.7036, allocations: 7.953 kB / 0.8737 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.7037, allocations: 16.08 kB / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7037, allocations: 0 / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7037, allocations: 3.938 kB / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7037, allocations: 0 / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.7038, allocations: 177.6 kB / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7039, allocations: 0 / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.704, allocations: 31.91 kB / 0.8739 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.704, allocations: 4 kB / 0.8739 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.704, allocations: 3.953 kB / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.704, allocations: 0 / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.704, allocations: 0 / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.7042, allocations: 121.1 kB / 0.874 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.7043, allocations: 88.95 kB / 0.8741 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.7043, allocations: 4 kB / 0.8741 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.7044, allocations: 19.89 kB / 0.8741 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.7044, allocations: 11.97 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.7045, allocations: 8 kB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.7045, allocations: 75.28 kB / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7045, allocations: 0 / 0.8742 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002294/0.7047, allocations: 31.98 kB / 0.8742 GB, free: 11.68 MB / 0.5417 GB 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.0005955/0.7053, allocations: 0.6826 MB / 0.8749 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.7055, allocations: 71.91 kB / 0.875 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7055, allocations: 0 / 0.875 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.7056, allocations: 39.91 kB / 0.875 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.7057, allocations: 17.14 kB / 0.875 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.7061, allocations: 149.3 kB / 0.8752 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.7065, allocations: 0.6975 MB / 0.8759 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.7066, allocations: 41.42 kB / 0.8759 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.7067, allocations: 19.42 kB / 0.8759 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.7067, allocations: 0 / 0.8759 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.7309, allocations: 1.754 MB / 0.8776 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.7312, allocations: 161.8 kB / 0.8778 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.5, allocations: 0 / 0.8778 GB, free: 8.062 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)