Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001798/0.001798, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002491/0.002491, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.851/2.851, allocations: 476.7 MB / 0.7678 GB, free: 9.418 MB / 0.6075 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.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002065/0.002065, allocations: 63.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003843/1.061, allocations: 1.548 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004596/1.061, allocations: 148.2 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/1.061, allocations: 1.125 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/1.061, allocations: 4.875 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/1.061, allocations: 1.094 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/1.062, allocations: 27.25 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000111/1.062, allocations: 39.61 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/1.062, allocations: 15.06 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/1.062, allocations: 15.91 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/1.062, allocations: 17.44 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/1.062, allocations: 3.25 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/1.062, allocations: 18.64 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/1.062, allocations: 15.8 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/1.062, allocations: 16.8 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/1.062, allocations: 51.41 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.062, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.062, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.062, allocations: 0.9375 kB / 1.281 GB, free: 10.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007029/1.063, allocations: 351.3 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/1.063, allocations: 9.859 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.099e-05/1.063, allocations: 5.5 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/1.063, allocations: 40.92 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/1.063, allocations: 7.484 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/1.064, allocations: 167.2 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/1.064, allocations: 1.688 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/1.064, allocations: 6.594 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/1.064, allocations: 66.77 kB / 1.281 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.064, allocations: 0 / 1.281 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.064, allocations: 4.844 kB / 1.281 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.064, allocations: 5.156 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/1.064, allocations: 43.27 kB / 1.281 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/1.065, allocations: 284.9 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/1.065, allocations: 52.55 kB / 1.282 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.065, allocations: 34.09 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/1.065, allocations: 401.2 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.065, allocations: 31.75 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.065, allocations: 0 / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004842/1.066, allocations: 90.23 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/1.066, allocations: 56.02 kB / 1.282 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/1.066, allocations: 115.6 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.066, allocations: 25.7 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/1.066, allocations: 92.14 kB / 1.283 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/1.066, allocations: 4.953 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/1.066, allocations: 14.61 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.066, allocations: 321.5 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/1.067, allocations: 27.77 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/1.067, allocations: 17.16 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1.067, allocations: 45.58 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.067, allocations: 0.5 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002782/1.067, allocations: 73.97 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.067, allocations: 8.984 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.067, allocations: 4.312 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.067, allocations: 0.5312 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/1.067, allocations: 11.02 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.067, allocations: 1.297 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/1.067, allocations: 10.53 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/1.067, allocations: 9.016 kB / 1.283 GB, free: 8.184 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001118/1.068, allocations: 123.3 kB / 1.283 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/1.068, allocations: 6.438 kB / 1.283 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/1.068, allocations: 87.84 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.068, allocations: 1.031 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.068, allocations: 0.5 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.068, allocations: 0.5625 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/1.068, allocations: 169.8 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.068, allocations: 0.7031 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/1.068, allocations: 11.25 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.068, allocations: 0.5 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.068, allocations: 5.609 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.068, allocations: 4.438 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.068, allocations: 4.641 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/1.069, allocations: 173.7 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.154e-05/1.069, allocations: 82.89 kB / 1.284 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/1.069, allocations: 1.734 kB / 1.284 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/1.069, allocations: 10.33 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/1.069, allocations: 4.766 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.069, allocations: 2.016 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.249e-05/1.069, allocations: 87.44 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.069, allocations: 0 / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002418/1.069, allocations: 13.03 kB / 1.284 GB, free: 7.457 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007357/1.07, allocations: 0.7158 MB / 1.285 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002737/1.07, allocations: 46.2 kB / 1.285 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.07, allocations: 0 / 1.285 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/1.07, allocations: 25.05 kB / 1.285 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/1.071, allocations: 6.406 kB / 1.285 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/1.072, allocations: 1.289 MB / 1.286 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.073, allocations: 0.6836 MB / 1.287 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.538e-05/1.073, allocations: 8.484 kB / 1.287 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/1.073, allocations: 15.78 kB / 1.287 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/1.073, allocations: 0 / 1.287 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/1.094, allocations: 1.762 MB / 1.288 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.708, allocations: 6.719 kB / 1.288 GB, free: 4.422 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.025774236011785] Failed to read output from testmodel.py, exit status != 0: 9.832363080990035 9.849608473 8.783803228 Calling exit ...