Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001285/0.001285, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001412/0.001412, allocations: 212.9 kB / 23.04 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.333/3.333, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002131/0.002131, allocations: 67.7 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4016, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002823/0.4044, allocations: 1.573 MB / 1.347 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.4049, allocations: 179.5 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.4049, allocations: 0 / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.405, allocations: 3.938 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.405, allocations: 3.938 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.4054, allocations: 55.88 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.4054, allocations: 35.92 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4055, allocations: 16.25 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.4056, allocations: 15.94 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.4056, allocations: 19.92 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4056, allocations: 0 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.4058, allocations: 55.92 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.4058, allocations: 11.94 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.4058, allocations: 15.94 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.406, allocations: 59.78 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.406, allocations: 0 / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.442e-06/0.406, allocations: 3.938 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.406, allocations: 8 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005055/0.4065, allocations: 290.1 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4065, allocations: 8.031 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.483e-05/0.4066, allocations: 192 / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.4066, allocations: 38.75 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.4066, allocations: 8.891 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4067, allocations: 110.5 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.4068, allocations: 384 / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.4068, allocations: 12.31 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.407, allocations: 69.95 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.407, allocations: 0 / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.407, allocations: 0 / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.407, allocations: 4 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4072, allocations: 47.89 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.4077, allocations: 247.9 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.408, allocations: 58.53 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.4081, allocations: 32.83 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4083, allocations: 15.98 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.4083, allocations: 34.56 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4083, allocations: 0 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004139/0.4087, allocations: 93.58 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.4088, allocations: 55.39 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.4088, allocations: 109.9 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4089, allocations: 29.69 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.4089, allocations: 80.14 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.4089, allocations: 15.95 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.409, allocations: 9.719 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4091, allocations: 334.6 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.4092, allocations: 15.98 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.4093, allocations: 19.97 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.4095, allocations: 48.83 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4095, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002302/0.4097, allocations: 77.64 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4097, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4097, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4097, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.4098, allocations: 11.98 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4098, allocations: 3.938 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.4099, allocations: 11.95 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4099, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.22e-05/0.41, allocations: 122.4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.41, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4103, allocations: 77.64 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4103, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4103, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4103, allocations: 4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4105, allocations: 152.7 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4105, allocations: 0 / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.4106, allocations: 11.98 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4106, allocations: 4 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4106, allocations: 3.938 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4106, allocations: 3.938 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4106, allocations: 0 / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.4109, allocations: 179.4 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.4109, allocations: 8 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4109, allocations: 0 / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.411, allocations: 7.984 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.411, allocations: 432 / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.411, allocations: 7.984 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.4111, allocations: 83.28 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4111, allocations: 4 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000267/0.4114, allocations: 23.94 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006953/0.4121, allocations: 0.7239 MB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.4123, allocations: 47.95 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4123, allocations: 0 / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4124, allocations: 31.91 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.4127, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.4144, allocations: 1.284 MB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.4148, allocations: 0.6807 MB / 1.353 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.4148, allocations: 7.984 kB / 1.353 GB, free: 8.656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.4148, allocations: 11.44 kB / 1.353 GB, free: 8.645 MB / 1.045 GB Notification: Performance of SimCode: time 6.02e-07/0.4148, allocations: 4 kB / 1.353 GB, free: 8.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.437, allocations: 2.087 MB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 8 kB / 1.355 GB, free: 6.691 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.877763937984128] Failed to read output from testmodel.py, exit status != 0: 11.755981680995319 11.771345411 11.36208904 Calling exit ...