Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001793/0.001793, 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.002221/0.002221, 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.606/1.606, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.138/3.138, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_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.002373/0.002373, allocations: 63.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002719/1.127, allocations: 1.567 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003934/1.127, allocations: 135.6 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/1.127, allocations: 3.938 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/1.127, allocations: 1.859 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/1.127, allocations: 7.875 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/1.128, allocations: 36.28 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/1.128, allocations: 35.44 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/1.128, allocations: 18.08 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/1.128, allocations: 13.36 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/1.128, allocations: 16.91 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/1.128, allocations: 3.531 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/1.128, allocations: 19.69 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/1.128, allocations: 10.78 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/1.128, allocations: 21.06 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/1.128, allocations: 42.88 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.128, allocations: 4 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.128, allocations: 1.094 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.128, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.061 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.000463/1.129, allocations: 354.6 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.129, allocations: 10.92 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/1.129, allocations: 1 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.324e-05/1.129, allocations: 32.77 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/1.129, allocations: 10.78 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/1.129, allocations: 172.5 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.129, allocations: 5.75 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/1.129, allocations: 1.938 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/1.129, allocations: 66.3 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.129, allocations: 1.469 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.129, allocations: 0.5625 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.129, allocations: 1.312 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/1.129, allocations: 43.52 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/1.13, allocations: 287.9 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/1.13, allocations: 58.12 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/1.13, allocations: 30.14 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/1.13, allocations: 399.1 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/1.13, allocations: 35.27 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.13, allocations: 3.938 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004006/1.131, allocations: 97.59 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/1.131, allocations: 52.06 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.68e-05/1.131, allocations: 106.8 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/1.131, allocations: 27.72 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/1.131, allocations: 90.97 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/1.131, allocations: 3.953 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/1.131, allocations: 19.17 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/1.131, allocations: 317.6 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/1.131, allocations: 20.23 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.154e-05/1.131, allocations: 25.72 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/1.131, allocations: 49.36 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.131, allocations: 0 / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002197/1.132, allocations: 74.77 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.132, allocations: 7.25 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.132, allocations: 3.938 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.132, allocations: 0.6094 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/1.132, allocations: 11.5 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.132, allocations: 4 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.123e-05/1.132, allocations: 11.67 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/1.132, allocations: 5.344 kB / 1.344 GB, free: 12.72 MB / 1.061 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 5.373e-05/1.132, allocations: 117.1 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/1.132, allocations: 2 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/1.132, allocations: 91.47 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.132, allocations: 5.75 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.132, allocations: 0.6094 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.132, allocations: 0 / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/1.132, allocations: 169.2 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.132, allocations: 2.453 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.493e-05/1.132, allocations: 11.33 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.132, allocations: 0 / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.132, allocations: 1.812 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.132, allocations: 0 / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.132, allocations: 0 / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/1.133, allocations: 185.5 kB / 1.345 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/1.133, allocations: 80.61 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/1.133, allocations: 48 / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/1.133, allocations: 11.19 kB / 1.345 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/1.133, allocations: 9.328 kB / 1.345 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/1.133, allocations: 1.859 kB / 1.345 GB, free: 12.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.34e-05/1.133, allocations: 90.84 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.133, allocations: 1.25 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002444/1.133, allocations: 11.53 kB / 1.345 GB, free: 11.99 MB / 1.061 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.0004786/1.134, allocations: 0.715 MB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002466/1.134, allocations: 45.17 kB / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.134, allocations: 0 / 1.346 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.134, allocations: 25.31 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/1.134, allocations: 1.938 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.136, allocations: 1.3 MB / 1.347 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/1.136, allocations: 0.6797 MB / 1.348 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.323e-05/1.136, allocations: 4.078 kB / 1.348 GB, free: 9.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/1.136, allocations: 17.05 kB / 1.348 GB, free: 9.387 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.136, allocations: 0 / 1.348 GB, free: 9.387 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/1.155, allocations: 1.755 MB / 1.35 GB, free: 8.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/9.428, allocations: 9.281 kB / 1.35 GB, free: 8.965 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.43508764996659] Failed to read output from testmodel.py, exit status != 0: 9.552171115996316 9.565996739000001 8.434620878 Calling exit ...