Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001563/0.001563, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001683/0.001683, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002738/0.002738, allocations: 289.4 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002991/0.002991, allocations: 101.1 kB / 0.74 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1886, allocations: 95.38 MB / 0.8331 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003443/0.192, allocations: 1.564 MB / 0.8347 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005323/0.1926, allocations: 132.5 kB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.1926, allocations: 0 / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.1927, allocations: 3.938 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.1927, allocations: 3.938 kB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1931, allocations: 35.91 kB / 0.8348 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.1932, allocations: 31.92 kB / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1933, allocations: 15.97 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.1934, allocations: 16 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.1934, allocations: 19.86 kB / 0.8349 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1934, allocations: 4 kB / 0.8349 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1935, allocations: 27.95 kB / 0.8349 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1935, allocations: 7.938 kB / 0.8349 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.1936, allocations: 15.92 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1937, allocations: 47.81 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1937, allocations: 0 / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1937, allocations: 0 / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.1937, allocations: 0 / 0.835 GB, free: 5.848 MB / 0.5762 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.0005127/0.1943, allocations: 284.5 kB / 0.8353 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1943, allocations: 9.344 kB / 0.8353 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.1943, allocations: 4.938 kB / 0.8353 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1945, allocations: 114.4 kB / 0.8354 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1945, allocations: 4.375 kB / 0.8354 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1945, allocations: 4.375 kB / 0.8354 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1947, allocations: 67.83 kB / 0.8355 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1947, allocations: 4.125 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1947, allocations: 3.938 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.1947, allocations: 7.938 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1949, allocations: 43.95 kB / 0.8355 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1953, allocations: 208.6 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1957, allocations: 62.42 kB / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1958, allocations: 28.89 kB / 0.8358 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.1959, allocations: 19.98 kB / 0.8358 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1959, allocations: 34.56 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1959, allocations: 4 kB / 0.8359 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004198/0.1964, allocations: 93.58 kB / 0.836 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1964, allocations: 55.34 kB / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1965, allocations: 101.9 kB / 0.8361 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1965, allocations: 25.7 kB / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1966, allocations: 92.12 kB / 0.8362 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1966, allocations: 8.016 kB / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1967, allocations: 17.72 kB / 0.8362 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1968, allocations: 318.8 kB / 0.8366 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.1969, allocations: 19.98 kB / 0.8366 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.197, allocations: 19.98 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1972, allocations: 44.81 kB / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1972, allocations: 3.938 kB / 0.8366 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002423/0.1974, allocations: 77.61 kB / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1974, allocations: 11.94 kB / 0.8367 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1974, allocations: 3.984 kB / 0.8367 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1975, allocations: 0 / 0.8367 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.1975, allocations: 8 kB / 0.8367 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1975, allocations: 3.984 kB / 0.8367 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.1976, allocations: 8.25 kB / 0.8367 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1976, allocations: 3.938 kB / 0.8367 GB, free: 3.891 MB / 0.5762 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.000109/0.1977, allocations: 114.8 kB / 0.8369 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1978, allocations: 7.984 kB / 0.8369 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.198, allocations: 97.25 kB / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.198, allocations: 0 / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.198, allocations: 0 / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.198, allocations: 0 / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1982, allocations: 113.2 kB / 0.8371 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1982, allocations: 3.938 kB / 0.8371 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.1983, allocations: 11.98 kB / 0.8371 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1983, allocations: 0 / 0.8371 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1983, allocations: 4 kB / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1983, allocations: 0 / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1983, allocations: 0 / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1986, allocations: 175.4 kB / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.1986, allocations: 11.92 kB / 0.8373 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1986, allocations: 0 / 0.8373 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1987, allocations: 4 kB / 0.8373 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.1988, allocations: 7.984 kB / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1988, allocations: 0 / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.1988, allocations: 91.27 kB / 0.8374 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1988, allocations: 0 / 0.8374 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002349/0.1991, allocations: 8 kB / 0.8374 GB, free: 3.184 MB / 0.5762 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.0001829/0.1992, allocations: 103.2 kB / 0.8375 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1995, allocations: 43.95 kB / 0.8375 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1995, allocations: 0 / 0.8375 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1996, allocations: 27.97 kB / 0.8375 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1999, allocations: 7.938 kB / 0.8375 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.2003, allocations: 121.6 kB / 0.8377 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.2003, allocations: 71.19 kB / 0.8377 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.2004, allocations: 7.984 kB / 0.8377 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.2004, allocations: 7.438 kB / 0.8377 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.2004, allocations: 0 / 0.8377 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of Templates: time 0.00355/0.2039, allocations: 0.7876 MB / 0.8385 GB, free: 1.969 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.246193002909422] Failed to read output from testmodel.py, exit status != 0: 0.21172713488340378 0.22806684200000002 0.031083561000000003 Calling exit ...