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.001702/0.001702, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002247/0.002247, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.913/2.913, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 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.002093/0.002093, allocations: 66.16 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3622, allocations: 169.9 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001757/0.364, allocations: 0.5975 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.3644, allocations: 107.5 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.3644, allocations: 0 / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3644, allocations: 0 / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.3644, allocations: 0 / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.3648, allocations: 47.98 kB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3649, allocations: 63.92 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.365, allocations: 4 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.365, allocations: 31.98 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.3651, allocations: 19.97 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3651, allocations: 11.92 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3652, allocations: 47.95 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.3653, allocations: 27.95 kB / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3653, allocations: 15.92 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3655, allocations: 71.36 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3655, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3655, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3655, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 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.0005246/0.366, allocations: 302.2 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.366, allocations: 16.02 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.267e-05/0.3661, allocations: 192 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.3661, allocations: 38.75 kB / 1.286 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3661, allocations: 8.891 kB / 1.286 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.3662, allocations: 114.5 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/0.3667, allocations: 0.526 MB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3667, allocations: 4.375 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3669, allocations: 85.77 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3669, allocations: 3.984 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.367, allocations: 0 / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.367, allocations: 4 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.3673, allocations: 131.8 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.3675, allocations: 144.7 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.3678, allocations: 98.61 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.368, allocations: 37 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.368, allocations: 15.97 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.368, allocations: 34.5 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.368, allocations: 0 / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005596/0.3686, allocations: 149.5 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3686, allocations: 55.39 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.101e-05/0.3687, allocations: 89.86 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3687, allocations: 29.64 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.3687, allocations: 84.14 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.3688, allocations: 39.64 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3689, allocations: 37.62 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.369, allocations: 310.8 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3691, allocations: 35.97 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3693, allocations: 36.34 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.3696, allocations: 68.83 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3696, allocations: 0 / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.3699, allocations: 129.4 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3699, allocations: 4 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3699, allocations: 0 / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3699, allocations: 0 / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3701, allocations: 23.98 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3701, allocations: 0 / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.3702, allocations: 11.94 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3702, allocations: 8 kB / 1.288 GB, free: 7.773 MB / 0.9825 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.0001031/0.3703, allocations: 117.8 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3703, allocations: 11.88 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.3703, allocations: 7.906 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3703, allocations: 8 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3703, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3703, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3705, allocations: 152.7 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3705, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3706, allocations: 27.91 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3706, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3706, allocations: 8 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3706, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3706, allocations: 0 / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.371, allocations: 140.9 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.3711, allocations: 19.83 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3711, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.3711, allocations: 4 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.3712, allocations: 15.97 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3712, allocations: 8 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.3712, allocations: 79.27 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3712, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002351/0.3715, allocations: 20 kB / 1.288 GB, free: 7.09 MB / 0.9825 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.0008011/0.3723, allocations: 0.6903 MB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.3726, allocations: 88.42 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3726, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3728, allocations: 52.11 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.3729, allocations: 8.594 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.3735, allocations: 202.3 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3739, allocations: 0.6807 MB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00019/0.3741, allocations: 39.95 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.3741, allocations: 31.42 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3741, allocations: 0 / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3973, allocations: 2.202 MB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 4.562 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.88051877502585] Failed to read output from testmodel.py, exit status != 0: 12.518718203005847 11.898549844 11.529858043 Calling exit ...