Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001318/0.001318, allocations: 101.5 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.00144/0.00144, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7714 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_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.002138/0.002138, allocations: 63.12 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3143, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001784/0.316, allocations: 0.5955 MB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.3163, allocations: 55.78 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.3163, allocations: 0 / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.3164, allocations: 0 / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-06/0.3164, allocations: 3.938 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3167, allocations: 11.98 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.3168, allocations: 39.95 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.3168, allocations: 0 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.3168, allocations: 12 kB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.238e-05/0.3169, allocations: 11.97 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3169, allocations: 4 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.317, allocations: 23.98 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.317, allocations: 11.92 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.317, allocations: 15.92 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3172, allocations: 36.11 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3172, allocations: 4 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3172, allocations: 4 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3172, allocations: 3.938 kB / 1.285 GB, free: 10.82 MB / 0.9825 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.0003597/0.3175, allocations: 266.3 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3176, allocations: 8.031 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.699e-05/0.3176, allocations: 4.188 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.3176, allocations: 30.75 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3177, allocations: 8.891 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.3178, allocations: 106.5 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3178, allocations: 4.375 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3178, allocations: 8.375 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3179, allocations: 69.91 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.318, allocations: 3.984 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.318, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.318, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3181, allocations: 103.9 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3183, allocations: 140.9 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3185, allocations: 62.55 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.3185, allocations: 40.84 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.3187, allocations: 19.97 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3187, allocations: 38.5 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.3187, allocations: 0 / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002637/0.319, allocations: 117.8 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.3191, allocations: 51.41 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.3191, allocations: 93.86 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3191, allocations: 25.7 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3192, allocations: 88.14 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.3192, allocations: 31.77 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.3193, allocations: 29.7 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3194, allocations: 318.8 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.3195, allocations: 19.98 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.3195, allocations: 15.98 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3196, allocations: 73.3 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3196, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001444/0.3197, allocations: 97.62 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3198, allocations: 7.938 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3198, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3198, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3199, allocations: 19.98 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3199, allocations: 0 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.3199, allocations: 3.938 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3199, allocations: 7.938 kB / 1.287 GB, free: 8.742 MB / 0.9825 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.0001798/0.3201, allocations: 130.6 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.3201, allocations: 11.89 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3204, allocations: 121.5 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3204, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3204, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3204, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.3205, allocations: 148.7 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3205, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.3206, allocations: 27.86 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3206, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3206, allocations: 4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.3206, allocations: 4 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3206, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3208, allocations: 121 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.3208, allocations: 11.89 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3208, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.3209, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3209, allocations: 7.984 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3209, allocations: 16 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.3209, allocations: 75.28 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3209, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001986/0.3211, allocations: 11.94 kB / 1.287 GB, free: 7.984 MB / 0.9825 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.0005609/0.3217, allocations: 0.6709 MB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.3219, allocations: 59.91 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3219, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.884e-05/0.3219, allocations: 36.56 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3221, allocations: 5.547 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.3225, allocations: 182.6 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3228, allocations: 0.6845 MB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.227e-05/0.3229, allocations: 39.94 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.3229, allocations: 15.44 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3229, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3442, allocations: 1.749 MB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.69, allocations: 7.125 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.6321062380448] Failed to read output from testmodel.py, exit status != 0: 12.4113616499817 11.87298027 11.552582202 Calling exit ...