Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 114.7 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003639/0.003639, allocations: 67.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.046, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001971/1.048, allocations: 0.5813 MB / 1.28 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004425/1.049, allocations: 115 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/1.049, allocations: 1.188 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/1.049, allocations: 0.6562 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/1.049, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/1.049, allocations: 42.62 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/1.049, allocations: 72.88 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/1.049, allocations: 1.938 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/1.049, allocations: 22.84 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/1.05, allocations: 28.56 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/1.05, allocations: 2.75 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/1.05, allocations: 45.59 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/1.05, allocations: 26.77 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/1.05, allocations: 18 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/1.05, allocations: 70.56 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.05, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.05, allocations: 5.062 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.05, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.9981 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.0005871/1.051, allocations: 374.6 kB / 1.28 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.051, allocations: 9.781 kB / 1.28 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.814e-05/1.051, allocations: 1.25 kB / 1.28 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/1.051, allocations: 39.44 kB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/1.051, allocations: 9.969 kB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/1.051, allocations: 162.6 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/1.051, allocations: 280.6 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/1.051, allocations: 16.2 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/1.051, allocations: 84.42 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.051, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.051, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.051, allocations: 2.031 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/1.052, allocations: 133.5 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/1.052, allocations: 183.4 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/1.052, allocations: 93.69 kB / 1.281 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.053, allocations: 39.56 kB / 1.281 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/1.053, allocations: 1.734 kB / 1.281 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.053, allocations: 44.34 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/1.053, allocations: 1.188 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0005993/1.053, allocations: 150.6 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.053, allocations: 52.53 kB / 1.282 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/1.053, allocations: 95.02 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.053, allocations: 30.23 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/1.053, allocations: 80.67 kB / 1.282 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/1.053, allocations: 35.31 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/1.053, allocations: 30.98 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.054, allocations: 317.7 kB / 1.282 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/1.054, allocations: 29.69 kB / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/1.054, allocations: 34.41 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/1.054, allocations: 77.53 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.054, allocations: 3.938 kB / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004103/1.055, allocations: 114.1 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.055, allocations: 5.156 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.055, allocations: 0.5625 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.055, allocations: 0.5625 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.055, allocations: 27.52 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.055, allocations: 5.297 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/1.055, allocations: 13.52 kB / 1.282 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/1.055, allocations: 3.891 kB / 1.282 GB, free: 9.043 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.055, allocations: 120.8 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/1.055, allocations: 6.062 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/1.055, allocations: 8.578 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.055, allocations: 6.281 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.055, allocations: 1 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.055, allocations: 0.5625 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/1.055, allocations: 188 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.055, allocations: 0 / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/1.055, allocations: 35.39 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.055, allocations: 2.094 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.055, allocations: 2.453 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.055, allocations: 1.969 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.055, allocations: 0 / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/1.056, allocations: 137.1 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/1.056, allocations: 87.19 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.056, allocations: 2.031 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/1.056, allocations: 12.45 kB / 1.283 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/1.056, allocations: 13.86 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.056, allocations: 4.297 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.46e-05/1.056, allocations: 76.75 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.056, allocations: 0 / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002454/1.056, allocations: 25.39 kB / 1.283 GB, free: 8.402 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008049/1.057, allocations: 0.6978 MB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003722/1.058, allocations: 89.84 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.058, allocations: 0 / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/1.058, allocations: 41.14 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/1.058, allocations: 7.453 kB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/1.058, allocations: 217.8 kB / 1.284 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/1.059, allocations: 0.6886 MB / 1.285 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001798/1.059, allocations: 42.44 kB / 1.285 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/1.059, allocations: 21.53 kB / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.059, allocations: 0 / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/1.079, allocations: 2.087 MB / 1.287 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.509, allocations: 7.547 kB / 1.287 GB, free: 6.379 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.762459175020922] Failed to read output from testmodel.py, exit status != 0: 9.643737878010143 9.669650675 8.614665679 Calling exit ...