Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 289.7 MB / 302.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00138/0.00138, allocations: 178 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 90.97 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.624e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3076, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.315, allocations: 138.5 MB / 1.115 GB, free: 44.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.315, allocations: 73.78 kB / 1.115 GB, free: 44.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003754/1.319, allocations: 1.216 MB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.264e-06/1.319, allocations: 0.8438 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.319, allocations: 0 / 1.116 GB, free: 44.11 MB / 0.7448 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.0004499/1.319, allocations: 363.1 kB / 1.117 GB, free: 43.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/1.319, allocations: 8.531 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/1.32, allocations: 38.95 kB / 1.117 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/1.32, allocations: 10.16 kB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/1.32, allocations: 163 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/1.32, allocations: 287.3 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.32, allocations: 4.906 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/1.32, allocations: 69.91 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.32, allocations: 0.5312 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.32, allocations: 8.266 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.32, allocations: 0 / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/1.32, allocations: 116.1 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/1.321, allocations: 186 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.321, allocations: 81.41 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/1.321, allocations: 42.8 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/1.321, allocations: 1.031 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.321, allocations: 35.19 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/1.321, allocations: 0 / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002331/1.321, allocations: 103.3 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/1.321, allocations: 51.41 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.015e-05/1.321, allocations: 85 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.321, allocations: 27.52 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/1.321, allocations: 84.27 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/1.321, allocations: 38.83 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/1.321, allocations: 3.938 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/1.321, allocations: 318.8 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/1.321, allocations: 24.11 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/1.321, allocations: 23.02 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/1.322, allocations: 35.64 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.322, allocations: 0 / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001364/1.322, allocations: 100.2 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.322, allocations: 9.25 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.322, allocations: 0 / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.322, allocations: 0 / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/1.322, allocations: 27.02 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.322, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/1.322, allocations: 8.562 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/1.322, allocations: 7.328 kB / 1.119 GB, free: 41.84 MB / 0.7448 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 0.0001007/1.322, allocations: 112.7 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/1.322, allocations: 9.172 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/1.322, allocations: 10.66 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.322, allocations: 4 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.322, allocations: 4.734 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.322, allocations: 4.156 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/1.322, allocations: 167.1 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/1.322, allocations: 0 / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/1.322, allocations: 26.7 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.323, allocations: 7.953 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/1.323, allocations: 4.875 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.323, allocations: 11.5 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.323, allocations: 0 / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/1.323, allocations: 120.8 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/1.323, allocations: 84.95 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/1.323, allocations: 8.875 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.105e-05/1.323, allocations: 8.812 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/1.323, allocations: 14.61 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/1.323, allocations: 11.25 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.523e-05/1.323, allocations: 75.28 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.323, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002254/1.323, allocations: 27.19 kB / 1.119 GB, free: 41.14 MB / 0.7448 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.0005075/1.324, allocations: 0.6919 MB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.324, allocations: 68.97 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.324, allocations: 0.6562 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/1.324, allocations: 40.09 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/1.324, allocations: 7.234 kB / 1.12 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/1.325, allocations: 156.5 kB / 1.12 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/1.325, allocations: 0.6915 MB / 1.121 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001225/1.325, allocations: 35.19 kB / 1.121 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/1.325, allocations: 26.47 kB / 1.121 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.325, allocations: 0 / 1.121 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/1.366, allocations: 1.749 MB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/1.367, allocations: 155.1 kB / 1.123 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.943, allocations: 0 / 1.123 GB, free: 38.3 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)