Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 86.55 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.787e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1703, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6225/0.7929, allocations: 131.5 MB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.7931, allocations: 75.2 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003257/0.7964, allocations: 1.213 MB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7964, allocations: 0 / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7964, allocations: 0 / 1.015 GB, free: 5.043 MB / 0.6355 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.0003842/0.7968, allocations: 357.9 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7968, allocations: 8.031 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.7969, allocations: 8.875 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.797, allocations: 167 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.7972, allocations: 280.9 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.7973, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001695/0.7974, allocations: 110.9 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.7975, allocations: 65.39 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7976, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7976, allocations: 7.938 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.7976, allocations: 4 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.7977, allocations: 161 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.7979, allocations: 81.86 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.7979, allocations: 31.97 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.7979, allocations: 3.984 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.798, allocations: 38.55 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.798, allocations: 4 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001305/0.7993, allocations: 198.2 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.7993, allocations: 59.34 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/0.7994, allocations: 85 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.7994, allocations: 25.7 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.7994, allocations: 80.33 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.7995, allocations: 35.02 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.7995, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.7996, allocations: 322.8 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.7996, allocations: 19.86 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.7996, allocations: 23.86 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.8008, allocations: 139.2 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8008, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001216/0.802, allocations: 209.4 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.8021, allocations: 8 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.8021, allocations: 0 / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.8021, allocations: 0 / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.8022, allocations: 19.98 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8022, allocations: 11.98 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.8023, allocations: 3.906 kB / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.8023, allocations: 4 kB / 1.017 GB, free: 2.402 MB / 0.6355 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 6.19e-05/0.8024, allocations: 114.8 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001236/0.8036, allocations: 212.9 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.8037, allocations: 3.906 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.8037, allocations: 8.281 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8037, allocations: 7.938 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8037, allocations: 0 / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8037, allocations: 7.984 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.8038, allocations: 146 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8039, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.804, allocations: 27.34 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.804, allocations: 3.953 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.804, allocations: 7.938 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.804, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.804, allocations: 3.984 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.8053, allocations: 235.5 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.8053, allocations: 81.05 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.8053, allocations: 7.891 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.8054, allocations: 7.5 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.8055, allocations: 11.97 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.8055, allocations: 7.875 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.8055, allocations: 77.94 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8055, allocations: 0 / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002097/0.8057, allocations: 27.98 kB / 1.018 GB, free: 1.402 MB / 0.6355 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.001592/0.8073, allocations: 0.7895 MB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.8074, allocations: 59.22 kB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8075, allocations: 3.938 kB / 1.019 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.8075, allocations: 35.36 kB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.06e-05/0.8076, allocations: 7.953 kB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.808, allocations: 145.3 kB / 1.019 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.8082, allocations: 0.6923 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000116/0.8083, allocations: 43.81 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.8084, allocations: 19.23 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.8084, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.8265, allocations: 1.454 MB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.8267, allocations: 154.2 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/2.262, allocations: 3.938 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)