Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008774/0.0008774, allocations: 104.3 kB / 19.72 MB, free: 428 kB / 13.93 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.0008777/0.0008777, allocations: 214.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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 0.9596/0.9596, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.924/1.924, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.7001, allocations: 180 MB / 1.352 GB, free: 1.652 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001485/0.7016, allocations: 0.5925 MB / 1.353 GB, free: 1.062 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.7019, allocations: 98.72 kB / 1.353 GB, free: 0.9688 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.702, allocations: 0 / 1.353 GB, free: 0.9688 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.702, allocations: 3.938 kB / 1.353 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-06/0.702, allocations: 3.938 kB / 1.353 GB, free: 0.9609 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.7024, allocations: 39.89 kB / 1.353 GB, free: 0.9219 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.7025, allocations: 67.92 kB / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.7026, allocations: 0 / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.7026, allocations: 19.98 kB / 1.353 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.7027, allocations: 27.91 kB / 1.353 GB, free: 0.8086 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.7027, allocations: 7.984 kB / 1.353 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.7028, allocations: 51.95 kB / 1.353 GB, free: 0.75 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.7029, allocations: 23.95 kB / 1.353 GB, free: 0.7266 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.7029, allocations: 23.92 kB / 1.353 GB, free: 0.7031 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.703, allocations: 66.09 kB / 1.353 GB, free: 0.6406 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.703, allocations: 0 / 1.353 GB, free: 0.6406 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.545e-06/0.703, allocations: 3.938 kB / 1.353 GB, free: 0.6367 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.703, allocations: 0 / 1.353 GB, free: 0.6367 MB / 1.026 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.0004441/0.7035, allocations: 304 kB / 1.354 GB, free: 316 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7035, allocations: 12.92 kB / 1.354 GB, free: 304 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.7036, allocations: 42.75 kB / 1.354 GB, free: 252 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.7036, allocations: 12.89 kB / 1.354 GB, free: 240 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.346e-05/0.7037, allocations: 102.5 kB / 1.354 GB, free: 112 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.704, allocations: 0.5376 MB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.704, allocations: 4.375 kB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.7042, allocations: 85.94 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7042, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.7042, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.7042, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.7044, allocations: 127.8 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.7045, allocations: 144.6 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.7047, allocations: 102.5 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.7048, allocations: 36.83 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.7048, allocations: 4 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.7048, allocations: 34.5 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.7048, allocations: 0 / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0003473/0.7052, allocations: 153.8 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.7052, allocations: 55.34 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.553e-05/0.7052, allocations: 89.86 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.7053, allocations: 33.64 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/0.7053, allocations: 84.14 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.7053, allocations: 43.67 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.7054, allocations: 25.7 kB / 1.355 GB, free: 14.33 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.7054, allocations: 322.8 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.7055, allocations: 23.98 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.7056, allocations: 31.97 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.7058, allocations: 72.81 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7058, allocations: 0 / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002041/0.706, allocations: 117.5 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7061, allocations: 7.938 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7061, allocations: 8 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.7061, allocations: 0 / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.7062, allocations: 27.91 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7062, allocations: 0 / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.7063, allocations: 11.95 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.7063, allocations: 7.984 kB / 1.356 GB, free: 13.7 MB / 1.042 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 8.234e-05/0.7063, allocations: 114.4 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.7064, allocations: 7.938 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.7064, allocations: 7.906 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7064, allocations: 4 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7064, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7064, allocations: 3.984 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.7065, allocations: 148.6 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7065, allocations: 0 / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.7066, allocations: 35.92 kB / 1.356 GB, free: 13.33 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.7066, allocations: 3.938 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7066, allocations: 3.984 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7066, allocations: 3.984 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7066, allocations: 0 / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.7068, allocations: 145.8 kB / 1.356 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.7069, allocations: 11.94 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.7069, allocations: 0 / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.7069, allocations: 4 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.7069, allocations: 15.97 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.707, allocations: 0 / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.707, allocations: 79.28 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.707, allocations: 0 / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001872/0.7072, allocations: 23.94 kB / 1.357 GB, free: 13.02 MB / 1.042 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.0005105/0.7077, allocations: 0.706 MB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.7079, allocations: 83.88 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7079, allocations: 0 / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.708, allocations: 47.91 kB / 1.357 GB, free: 12.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.7081, allocations: 11.92 kB / 1.357 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.7085, allocations: 190.6 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.7086, allocations: 71.2 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.7087, allocations: 43.73 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.7088, allocations: 23.36 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of SimCode: time 6.12e-07/0.7088, allocations: 0 / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08637/0.7951, allocations: 2.514 MB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/7.594, allocations: 7.781 kB / 1.36 GB, free: 9.379 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.400917313061655]