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.001467/0.001467, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001952/0.001952, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.827/2.827, allocations: 476.7 MB / 0.7679 GB, free: 9.512 MB / 0.6075 GB " [Timeout remaining time 177] 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.002018/0.002018, allocations: 71.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9454, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001821/0.9472, allocations: 0.5837 MB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003111/0.9475, allocations: 68.34 kB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.9476, allocations: 0.7812 kB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.9476, allocations: 0.7969 kB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.9476, allocations: 0.7812 kB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.9479, allocations: 18.25 kB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.948, allocations: 33.69 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.948, allocations: 6.031 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.948, allocations: 7.141 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.9481, allocations: 15.78 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.9481, allocations: 2.031 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.9482, allocations: 21 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.9482, allocations: 10.72 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.9482, allocations: 21.28 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.9484, allocations: 30.55 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9484, allocations: 0 / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9484, allocations: 1.312 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.9484, allocations: 0 / 1.28 GB, free: 11.28 MB / 0.9981 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.0004228/0.9488, allocations: 338.2 kB / 1.28 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.9488, allocations: 10.03 kB / 1.28 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.594e-05/0.9489, allocations: 5.312 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.9489, allocations: 42 kB / 1.28 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.9489, allocations: 7.797 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9491, allocations: 169.9 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9491, allocations: 1.812 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.9491, allocations: 8.438 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.9493, allocations: 64.77 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9493, allocations: 0 / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.9493, allocations: 1.828 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.9493, allocations: 0.9688 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.9495, allocations: 109.2 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.9497, allocations: 169.1 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.9498, allocations: 70.23 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.9499, allocations: 25.92 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/0.9503, allocations: 404.1 kB / 1.281 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.9503, allocations: 36.69 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.9503, allocations: 0 / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002816/0.9506, allocations: 126.3 kB / 1.281 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.9506, allocations: 53.69 kB / 1.281 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.603e-05/0.9507, allocations: 96.56 kB / 1.281 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.9507, allocations: 25.7 kB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.9507, allocations: 81.27 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.9508, allocations: 24.25 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.9508, allocations: 32.91 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.951, allocations: 317.2 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.9511, allocations: 24.45 kB / 1.282 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.9511, allocations: 20.19 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.9512, allocations: 54.77 kB / 1.282 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9512, allocations: 1.094 kB / 1.282 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000165/0.9514, allocations: 105.3 kB / 1.282 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9514, allocations: 10.09 kB / 1.282 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9514, allocations: 0 / 1.282 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9514, allocations: 1.062 kB / 1.282 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.9515, allocations: 17.75 kB / 1.282 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9515, allocations: 1.625 kB / 1.282 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.9516, allocations: 6 kB / 1.282 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.9516, allocations: 2.812 kB / 1.282 GB, free: 9.027 MB / 0.9981 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.0001746/0.9517, allocations: 120.7 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.9518, allocations: 10.05 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.952, allocations: 131 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.952, allocations: 5.797 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.952, allocations: 0.5312 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.952, allocations: 5.203 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.9522, allocations: 177.1 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9522, allocations: 0.5625 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.9523, allocations: 22.19 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.9523, allocations: 0.625 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.9523, allocations: 2.891 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9523, allocations: 0.5312 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9523, allocations: 0.625 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.9525, allocations: 130 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.9526, allocations: 79.78 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.9526, allocations: 5.562 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.9526, allocations: 0.5 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.9527, allocations: 8.031 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.9527, allocations: 3.375 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.9527, allocations: 75.78 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9527, allocations: 0 / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002245/0.9529, allocations: 19.06 kB / 1.283 GB, free: 8.336 MB / 0.9981 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.0006582/0.9536, allocations: 0.6812 MB / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.9538, allocations: 58.41 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9538, allocations: 1.281 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.293e-05/0.9538, allocations: 38.48 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.954, allocations: 5.281 kB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.9544, allocations: 190.3 kB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.9548, allocations: 0.6818 MB / 1.285 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.257e-05/0.9548, allocations: 34.27 kB / 1.285 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.9549, allocations: 19.41 kB / 1.285 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.9549, allocations: 0 / 1.285 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.9736, allocations: 1.622 MB / 1.286 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/9.754, allocations: 10.59 kB / 1.286 GB, free: 6.375 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.908179670979735] Failed to read output from testmodel.py, exit status != 0: 9.88573106797412 9.913716347 8.960452642 Calling exit ...