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.001755/0.001755, allocations: 98.08 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.002339/0.002339, allocations: 219.8 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.379/3.379, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.001979/0.001979, allocations: 66.45 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3897, allocations: 179 MB / 1.345 GB, free: 424 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002182/0.3919, allocations: 0.5952 MB / 1.346 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.3922, allocations: 52.2 kB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.3922, allocations: 0 / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3923, allocations: 0 / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.704e-06/0.3923, allocations: 0 / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3926, allocations: 27.91 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3927, allocations: 27.97 kB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.3928, allocations: 4 kB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.3928, allocations: 15.98 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.3929, allocations: 15.98 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3929, allocations: 4 kB / 1.346 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.393, allocations: 15.98 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.393, allocations: 15.91 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.3931, allocations: 11.94 kB / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3932, allocations: 36.11 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3932, allocations: 4 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3932, allocations: 0 / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3932, allocations: 0 / 1.346 GB, free: 15.59 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.0003709/0.3936, allocations: 266.3 kB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3936, allocations: 16.03 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.98e-05/0.3936, allocations: 4.125 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.3937, allocations: 30.75 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.3937, allocations: 8.938 kB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.3938, allocations: 106.5 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3938, allocations: 4.375 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3938, allocations: 4.375 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.394, allocations: 69.91 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.394, allocations: 0 / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.394, allocations: 8 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.394, allocations: 3.938 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3942, allocations: 107.8 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.3944, allocations: 144.6 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3945, allocations: 62.55 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.3946, allocations: 32.84 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.3948, allocations: 23.95 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3948, allocations: 42.5 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.3948, allocations: 0 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.000288/0.3951, allocations: 113.9 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3951, allocations: 51.41 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.3952, allocations: 97.81 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3952, allocations: 29.7 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.3953, allocations: 80.14 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.3953, allocations: 23.84 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.3954, allocations: 33.7 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3955, allocations: 318.8 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.3955, allocations: 19.98 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.3956, allocations: 19.98 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3957, allocations: 60.77 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3957, allocations: 3.938 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001497/0.3958, allocations: 90.33 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3958, allocations: 7.938 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3958, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3959, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.396, allocations: 19.98 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.396, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.396, allocations: 7.938 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.396, allocations: 0 / 1.348 GB, free: 13.52 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.0001562/0.3962, allocations: 125.8 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3962, allocations: 11.89 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3964, allocations: 125.5 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3964, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3964, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3964, allocations: 4 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.3966, allocations: 152.6 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3966, allocations: 0 / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.3967, allocations: 27.86 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3967, allocations: 0 / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3967, allocations: 0 / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3967, allocations: 7.938 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3967, allocations: 0 / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3968, allocations: 125 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.3968, allocations: 7.953 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3969, allocations: 4 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.3969, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3969, allocations: 7.984 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3969, allocations: 8 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.397, allocations: 75.28 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.397, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002033/0.3972, allocations: 16 kB / 1.349 GB, free: 12.74 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.0006125/0.3978, allocations: 0.6651 MB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.398, allocations: 63.91 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.398, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.398, allocations: 35.97 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3982, allocations: 5.891 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.3986, allocations: 190.3 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.399, allocations: 0.6877 MB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.959e-05/0.3991, allocations: 43.7 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.3991, allocations: 19.38 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.3991, allocations: 4 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.4213, allocations: 1.728 MB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.52, allocations: 15.23 kB / 1.352 GB, free: 9.348 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.58320365304826] Failed to read output from testmodel.py, exit status != 0: 11.690250460989773 11.718447957 11.320065634 Calling exit ...