Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.001584/0.001584, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002062/0.002062, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.728/1.728, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.323/3.323, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",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.00203/0.00203, allocations: 70.83 kB / 1.171 GB, free: 19.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3971, allocations: 179 MB / 1.345 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001922/0.399, allocations: 0.5991 MB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003258/0.3994, allocations: 52.2 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.3994, allocations: 3.938 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.3994, allocations: 0 / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.3994, allocations: 0 / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.3998, allocations: 19.98 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.3999, allocations: 39.89 kB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.3999, allocations: 4 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.3999, allocations: 12 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.267e-05/0.4, allocations: 11.92 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.4, allocations: 7.984 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4001, allocations: 19.98 kB / 1.346 GB, free: 15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.4001, allocations: 7.984 kB / 1.346 GB, free: 15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.4002, allocations: 11.94 kB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.4003, allocations: 40.11 kB / 1.346 GB, free: 14.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4003, allocations: 0 / 1.346 GB, free: 14.95 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4003, allocations: 4 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4003, allocations: 0 / 1.346 GB, free: 14.94 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.0003762/0.4007, allocations: 258.3 kB / 1.346 GB, free: 14.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4007, allocations: 16.02 kB / 1.346 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.315e-05/0.4007, allocations: 192 / 1.346 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.4008, allocations: 38.75 kB / 1.346 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.4008, allocations: 0.9375 kB / 1.346 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.4009, allocations: 106.5 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4009, allocations: 4.375 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4009, allocations: 4.375 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.4011, allocations: 73.84 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4011, allocations: 4 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4011, allocations: 4 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.4011, allocations: 4 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.4013, allocations: 95.88 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.4015, allocations: 156.6 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4016, allocations: 70.47 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.4016, allocations: 28.84 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.4018, allocations: 15.98 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4019, allocations: 38.5 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4019, allocations: 0 / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0002797/0.4022, allocations: 113.9 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4022, allocations: 55.41 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/0.4022, allocations: 101.8 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4023, allocations: 25.7 kB / 1.347 GB, free: 13.58 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.4023, allocations: 84.08 kB / 1.347 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.4023, allocations: 19.86 kB / 1.347 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.4024, allocations: 33.7 kB / 1.347 GB, free: 13.44 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4025, allocations: 314.8 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.4026, allocations: 23.92 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.4026, allocations: 23.98 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.4028, allocations: 69.36 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4028, allocations: 4 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001373/0.4029, allocations: 81.67 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4029, allocations: 11.94 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4029, allocations: 0 / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4029, allocations: 0 / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.403, allocations: 27.92 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.403, allocations: 0 / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.4031, allocations: 7.891 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4031, allocations: 4 kB / 1.348 GB, free: 12.86 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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.0001555/0.4032, allocations: 125.8 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4033, allocations: 7.938 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.4035, allocations: 125.4 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4035, allocations: 0 / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4035, allocations: 0 / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4035, allocations: 7.984 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4036, allocations: 144.6 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4036, allocations: 0 / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.4037, allocations: 27.92 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4037, allocations: 0 / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4037, allocations: 4 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4037, allocations: 4 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4037, allocations: 0 / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.4039, allocations: 124.9 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.4039, allocations: 7.953 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4039, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.4039, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.404, allocations: 7.984 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.404, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.404, allocations: 75.28 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.404, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001957/0.4042, allocations: 20 kB / 1.349 GB, free: 12.1 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0005564/0.4048, allocations: 0.667 MB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.4049, allocations: 51.97 kB / 1.349 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4049, allocations: 7.938 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.405, allocations: 36.58 kB / 1.349 GB, free: 11.31 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.4051, allocations: 0 / 1.349 GB, free: 11.31 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.4055, allocations: 194.5 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.522e-05/0.4056, allocations: 72.36 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.622e-05/0.4057, allocations: 43.7 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4057, allocations: 19.42 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4057, allocations: 0 / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.4269, allocations: 1.72 MB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 18.55 kB / 1.351 GB, free: 9.344 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.96791824605316] Failed to read output from testmodel.py, exit status != 0: 11.897958831046708 11.913993983 11.510361867 Calling exit ...