Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001638/0.001638, 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.001876/0.001876, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.315/3.315, 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.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_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.001991/0.001991, allocations: 71.25 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 179 MB / 1.345 GB, free: 400 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001771/0.4057, allocations: 0.5977 MB / 1.346 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004086/0.4061, allocations: 116 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.4061, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.4062, allocations: 3.938 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.4062, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.4065, allocations: 35.89 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4066, allocations: 59.94 kB / 1.346 GB, free: 15.58 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.4067, allocations: 7.984 kB / 1.346 GB, free: 15.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.4067, allocations: 27.98 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.4068, allocations: 19.97 kB / 1.346 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.4068, allocations: 4 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.4069, allocations: 59.94 kB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.4069, allocations: 23.91 kB / 1.346 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.407, allocations: 19.92 kB / 1.346 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4071, allocations: 72.05 kB / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4071, allocations: 0 / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4071, allocations: 0 / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.4071, allocations: 0 / 1.346 GB, free: 15.35 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004854/0.4076, allocations: 307.8 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4077, allocations: 8.031 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.555e-05/0.4077, allocations: 192 / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.4077, allocations: 42.75 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.4078, allocations: 4.938 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.4078, allocations: 118.4 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/0.4083, allocations: 0.5299 MB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4083, allocations: 384 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.4085, allocations: 101.6 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4085, allocations: 0 / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4085, allocations: 4 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4086, allocations: 0 / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.4089, allocations: 131.8 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.4091, allocations: 148.7 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.4094, allocations: 94.45 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4096, allocations: 40.83 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.4096, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4096, allocations: 34.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.4096, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0006001/0.4102, allocations: 153.8 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.4103, allocations: 51.41 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/0.4103, allocations: 89.86 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4103, allocations: 29.7 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.4104, allocations: 84.14 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.4104, allocations: 39.67 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.4105, allocations: 29.7 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4106, allocations: 310.8 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4108, allocations: 35.97 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4109, allocations: 31.97 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.4112, allocations: 76.75 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4112, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003394/0.4115, allocations: 125.5 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4115, allocations: 4 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4115, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4116, allocations: 4 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4117, allocations: 23.97 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4117, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.4118, allocations: 11.94 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4118, allocations: 7.984 kB / 1.349 GB, free: 12.4 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: 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.0001141/0.4119, allocations: 117.8 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.4119, allocations: 11.89 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.412, allocations: 11.91 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.412, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.412, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.412, allocations: 3.984 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.4121, allocations: 144.7 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4122, allocations: 3.938 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.4123, allocations: 31.86 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4123, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.4123, allocations: 7.984 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4123, allocations: 4 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4123, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.4127, allocations: 141.7 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.4127, allocations: 15.81 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.4127, allocations: 11.97 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.4128, allocations: 4 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.4128, allocations: 19.91 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4129, allocations: 8 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.4129, allocations: 75.28 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4129, allocations: 0 / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002398/0.4131, allocations: 20 kB / 1.35 GB, free: 11.7 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: 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.000811/0.4139, allocations: 0.6942 MB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.4143, allocations: 87.88 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4143, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.4145, allocations: 47.91 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.4146, allocations: 4 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.4152, allocations: 206.4 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4155, allocations: 0.6807 MB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.4157, allocations: 47.67 kB / 1.351 GB, free: 9.844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.4158, allocations: 27.42 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.4158, allocations: 0 / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.4377, allocations: 2.208 MB / 1.353 GB, free: 7.758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 12.8 kB / 1.353 GB, free: 7.75 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.72740363201592] Failed to read output from testmodel.py, exit status != 0: 11.849417182966135 11.869811819 11.458666175 Calling exit ...