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.001082/0.001082, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4936/0.4936, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.227/1.227, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 98.33 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.75e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.425, allocations: 102.1 MB / 0.66 GB, free: 2.195 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.4252, allocations: 75.27 kB / 0.6601 GB, free: 2.125 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00417/0.4294, allocations: 1.349 MB / 0.6614 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.4295, allocations: 0 / 0.6614 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.4295, allocations: 7.938 kB / 0.6614 GB, free: 0.7773 MB / 474.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.0004899/0.43, allocations: 354.3 kB / 0.6618 GB, free: 396 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.4301, allocations: 15.98 kB / 0.6618 GB, free: 380 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.4301, allocations: 35.42 kB / 0.6618 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.4301, allocations: 7.953 kB / 0.6618 GB, free: 328 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4303, allocations: 163.1 kB / 0.662 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.4303, allocations: 0 / 0.662 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4303, allocations: 8 kB / 0.662 GB, free: 116 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4305, allocations: 49.69 kB / 0.662 GB, free: 60 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4305, allocations: 0 / 0.662 GB, free: 60 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4305, allocations: 7.312 kB / 0.662 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4305, allocations: 0 / 0.662 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.336e-05/0.4306, allocations: 23.94 kB / 0.6621 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.431, allocations: 284.8 kB / 0.6623 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.4312, allocations: 46.56 kB / 0.6624 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.4313, allocations: 12.86 kB / 0.6624 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.4316, allocations: 405.6 kB / 0.6628 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.4316, allocations: 46.5 kB / 0.6628 GB, free: 15.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4316, allocations: 3.938 kB / 0.6628 GB, free: 15.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001519/0.4318, allocations: 49.59 kB / 0.6629 GB, free: 15.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.4318, allocations: 55.41 kB / 0.6629 GB, free: 14.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.4319, allocations: 101 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.4319, allocations: 25.7 kB / 0.663 GB, free: 14.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.4319, allocations: 80.14 kB / 0.6631 GB, free: 14.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.4319, allocations: 11.84 kB / 0.6631 GB, free: 14.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.432, allocations: 1.125 kB / 0.6631 GB, free: 14.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.432, allocations: 322.8 kB / 0.6634 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.4321, allocations: 8 kB / 0.6634 GB, free: 14.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.4321, allocations: 8 kB / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.4321, allocations: 4 kB / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4321, allocations: 0 / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.249e-05/0.4322, allocations: 53.69 kB / 0.6635 GB, free: 14.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4322, allocations: 4 kB / 0.6635 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4322, allocations: 8.125 kB / 0.6635 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4323, allocations: 4 kB / 0.6635 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.4324, allocations: 12 kB / 0.6635 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.4324, allocations: 3.984 kB / 0.6635 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.4324, allocations: 14.42 kB / 0.6636 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.4325, allocations: 0 / 0.6636 GB, free: 14.29 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 5.772e-05/0.4325, allocations: 104.9 kB / 0.6637 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4326, allocations: 7.906 kB / 0.6637 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.4327, allocations: 65.7 kB / 0.6637 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4327, allocations: 7.953 kB / 0.6637 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4327, allocations: 0 / 0.6637 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4327, allocations: 3.938 kB / 0.6637 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4329, allocations: 165.6 kB / 0.6639 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4329, allocations: 0 / 0.6639 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.4329, allocations: 11.98 kB / 0.6639 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.433, allocations: 0 / 0.6639 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.433, allocations: 7.984 kB / 0.6639 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.433, allocations: 0 / 0.6639 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.433, allocations: 7.953 kB / 0.6639 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.4331, allocations: 147.5 kB / 0.6641 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.4332, allocations: 88.45 kB / 0.6641 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4332, allocations: 0 / 0.6641 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.4333, allocations: 11.98 kB / 0.6642 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4333, allocations: 11.94 kB / 0.6642 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4333, allocations: 0 / 0.6642 GB, free: 13.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.62e-05/0.4334, allocations: 95.11 kB / 0.6643 GB, free: 13.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4334, allocations: 0 / 0.6643 GB, free: 13.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.4336, allocations: 20 kB / 0.6643 GB, free: 13.45 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.0004447/0.4341, allocations: 0.7046 MB / 0.665 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.4342, allocations: 27.98 kB / 0.665 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4342, allocations: 1.125 kB / 0.665 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.4342, allocations: 15.94 kB / 0.665 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.4344, allocations: 4 kB / 0.665 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.4347, allocations: 114.5 kB / 0.6651 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.4349, allocations: 0.6887 MB / 0.6658 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.4349, allocations: 11.86 kB / 0.6658 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.435, allocations: 15.44 kB / 0.6658 GB, free: 11.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/0.435, allocations: 0 / 0.6658 GB, free: 11.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.4464, allocations: 1.575 MB / 0.6674 GB, free: 10.34 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.4466, allocations: 137.4 kB / 0.6675 GB, free: 10.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.35/1.797, allocations: 4 kB / 0.6675 GB, free: 10.12 MB / 490.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)