Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7608/0.7608, allocations: 128.7 MB / 143.7 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 176.5 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.000842, allocations: 90.67 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003646, allocations: 10.81 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 76.78 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.2786, allocations: 102.3 MB / 0.7353 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.2789, allocations: 83.94 kB / 0.7354 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00394/0.2829, allocations: 1.323 MB / 0.7367 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2829, allocations: 0 / 0.7367 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2829, allocations: 0 / 0.7367 GB, free: 6.641 MB / 0.5105 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.0004635/0.2834, allocations: 371.3 kB / 0.737 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.2834, allocations: 8.031 kB / 0.737 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.2835, allocations: 38.56 kB / 0.7371 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.2835, allocations: 11.86 kB / 0.7371 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2837, allocations: 163 kB / 0.7372 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.284, allocations: 288.9 kB / 0.7375 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.284, allocations: 7.938 kB / 0.7375 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.2843, allocations: 77.62 kB / 0.7376 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2843, allocations: 4 kB / 0.7376 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2844, allocations: 0 / 0.7376 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2844, allocations: 4 kB / 0.7376 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.2847, allocations: 139.8 kB / 0.7377 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.2849, allocations: 173.7 kB / 0.7379 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.2852, allocations: 98.5 kB / 0.738 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2853, allocations: 8 kB / 0.738 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2853, allocations: 34.56 kB / 0.738 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2853, allocations: 0 / 0.738 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000514/0.2858, allocations: 141.5 kB / 0.7382 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2859, allocations: 55.41 kB / 0.7382 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.542e-05/0.2859, allocations: 85 kB / 0.7383 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2859, allocations: 29.7 kB / 0.7383 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.286, allocations: 80.33 kB / 0.7384 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.286, allocations: 35.75 kB / 0.7384 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.2861, allocations: 3.938 kB / 0.7384 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2862, allocations: 326.8 kB / 0.7387 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2863, allocations: 31.91 kB / 0.7388 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2865, allocations: 31.98 kB / 0.7388 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2866, allocations: 31.97 kB / 0.7388 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2866, allocations: 0 / 0.7388 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003056/0.2869, allocations: 110.2 kB / 0.7389 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2869, allocations: 11.94 kB / 0.739 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.287, allocations: 0 / 0.739 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.287, allocations: 4 kB / 0.739 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2871, allocations: 23.97 kB / 0.739 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.2872, allocations: 4 kB / 0.739 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.2872, allocations: 11.88 kB / 0.739 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2872, allocations: 7.984 kB / 0.739 GB, free: 3.953 MB / 0.5105 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 () * Number of clocked 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 9.508e-05/0.2873, allocations: 117.8 kB / 0.7391 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.2874, allocations: 7.906 kB / 0.7391 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.2874, allocations: 11.97 kB / 0.7391 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2874, allocations: 4 kB / 0.7391 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2874, allocations: 0 / 0.7391 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2874, allocations: 7.984 kB / 0.7391 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.2876, allocations: 173.6 kB / 0.7393 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2876, allocations: 3.938 kB / 0.7393 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2877, allocations: 23.98 kB / 0.7393 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2878, allocations: 0 / 0.7393 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2878, allocations: 3.984 kB / 0.7393 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2878, allocations: 4 kB / 0.7393 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2878, allocations: 0 / 0.7393 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.2881, allocations: 160.9 kB / 0.7395 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2882, allocations: 81.09 kB / 0.7396 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2882, allocations: 0 / 0.7396 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.2883, allocations: 8 kB / 0.7396 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.2884, allocations: 11.97 kB / 0.7396 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2884, allocations: 4 kB / 0.7396 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.2884, allocations: 77.28 kB / 0.7397 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2884, allocations: 0 / 0.7397 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000227/0.2886, allocations: 28 kB / 0.7397 GB, free: 3.141 MB / 0.5105 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 () * Number of clocked 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.0007044/0.2894, allocations: 0.7096 MB / 0.7404 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.2897, allocations: 87.88 kB / 0.7405 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2897, allocations: 0 / 0.7405 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2898, allocations: 51.91 kB / 0.7405 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.409e-05/0.2899, allocations: 0 / 0.7405 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.2905, allocations: 212.3 kB / 0.7407 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2908, allocations: 0.6887 MB / 0.7414 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.291, allocations: 39.94 kB / 0.7414 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.291, allocations: 19.42 kB / 0.7415 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.2911, allocations: 0 / 0.7415 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3167/0.6077, allocations: 1.754 MB / 0.7432 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.608, allocations: 187.6 kB / 0.7433 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.169, allocations: 1.438 kB / 0.7433 GB, free: 108.9 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)