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.001901/0.001901, allocations: 97.88 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.002154/0.002154, allocations: 216.5 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.775/2.775, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 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.002193/0.002193, allocations: 62.28 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3714, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001967/0.3734, allocations: 0.5817 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.3737, allocations: 55.75 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.3737, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.3738, allocations: 3.938 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-06/0.3738, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3741, allocations: 19.92 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.3742, allocations: 35.95 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.3743, allocations: 8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.3743, allocations: 11.98 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.3743, allocations: 11.98 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3743, allocations: 0 / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.3744, allocations: 23.97 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.3745, allocations: 11.98 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.3745, allocations: 7.938 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3746, allocations: 36.81 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3746, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3746, allocations: 4 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3746, allocations: 4 kB / 1.285 GB, free: 9.906 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.0003474/0.375, allocations: 266.3 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.375, allocations: 8.031 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.375, allocations: 4.188 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.3751, allocations: 34.75 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.3751, allocations: 8.891 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.3752, allocations: 102.5 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3752, allocations: 4.375 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.3752, allocations: 16.3 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3754, allocations: 62.14 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3754, allocations: 0 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3754, allocations: 4 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3754, allocations: 4 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3756, allocations: 99.86 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3758, allocations: 144.7 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3759, allocations: 74.59 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.376, allocations: 29 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.3762, allocations: 19.98 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3762, allocations: 38.5 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3762, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002733/0.3765, allocations: 117.6 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3765, allocations: 55.41 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.3766, allocations: 97.8 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3766, allocations: 29.7 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.3766, allocations: 80.14 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3767, allocations: 15.86 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.3767, allocations: 37.64 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3769, allocations: 322.8 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.3769, allocations: 19.98 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.3769, allocations: 23.98 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.377, allocations: 53.44 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3771, allocations: 4 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000151/0.3772, allocations: 101.5 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3772, allocations: 11.94 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3772, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3772, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3774, allocations: 23.92 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3774, allocations: 3.984 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.3774, allocations: 3.938 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3774, allocations: 8 kB / 1.287 GB, free: 7.82 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.0001776/0.3776, allocations: 121.8 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.3776, allocations: 11.89 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3778, allocations: 121.5 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.378, allocations: 152.6 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.378, allocations: 0 / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.3781, allocations: 23.92 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3781, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3781, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3781, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3781, allocations: 8 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.3782, allocations: 128.9 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.3783, allocations: 4 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3783, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.3783, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.3783, allocations: 11.98 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3783, allocations: 4 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.3784, allocations: 75.28 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3784, allocations: 0 / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00021/0.3786, allocations: 19.98 kB / 1.287 GB, free: 7.074 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.0005606/0.3791, allocations: 0.6747 MB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.3793, allocations: 59.91 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3793, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.3794, allocations: 36.56 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.3795, allocations: 6.031 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.3799, allocations: 186.6 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/0.38, allocations: 67.34 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.523e-05/0.3801, allocations: 43.92 kB / 1.288 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.3801, allocations: 15.44 kB / 1.288 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3801, allocations: 0 / 1.288 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.4026, allocations: 1.733 MB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 7.375 kB / 1.29 GB, free: 4.324 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.443204484996386] Failed to read output from testmodel.py, exit status != 0: 12.51752897806 11.978577018 11.600670068 Calling exit ...