Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001018/0.001018, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 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.001279/0.001279, allocations: 172.9 kB / 25.18 MB, free: 8.84 MB / 18.57 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 0.9562/0.9562, allocations: 177.1 MB / 205.6 MB, free: 4.383 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.89/1.89, allocations: 389.6 MB / 0.6364 GB, free: 13.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7756 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.606e-05, allocations: 5.828 kB / 0.7756 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001992/0.002008, allocations: 1.637 MB / 0.7772 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.002325, allocations: 143.5 kB / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.002363, allocations: 0 / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.002397, allocations: 7.938 kB / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.002444, allocations: 3.938 kB / 0.7773 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.002721, allocations: 35.83 kB / 0.7774 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.002794, allocations: 39.86 kB / 0.7774 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.002872, allocations: 11.98 kB / 0.7774 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.002913, allocations: 19.97 kB / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.002954, allocations: 19.92 kB / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.002968, allocations: 0 / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.003069, allocations: 31.95 kB / 0.7775 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.003083, allocations: 4 kB / 0.7775 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.003104, allocations: 8 kB / 0.7775 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003218, allocations: 47.81 kB / 0.7775 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00322, allocations: 0 / 0.7775 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003221, allocations: 0 / 0.7775 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.003224, allocations: 4 kB / 0.7775 GB, free: 12.56 MB / 0.7448 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.0002823/0.003507, allocations: 240.9 kB / 0.7778 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.003536, allocations: 8.031 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.00356, allocations: 8.938 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.498e-05/0.003635, allocations: 117.7 kB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.003652, allocations: 384 / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.003662, allocations: 4.375 kB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.003777, allocations: 62.94 kB / 0.778 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.003785, allocations: 4.188 kB / 0.778 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.003792, allocations: 4.375 kB / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003797, allocations: 384 / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.003823, allocations: 15.88 kB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.004042, allocations: 168.2 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.004175, allocations: 34.56 kB / 0.7782 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.00419, allocations: 12.84 kB / 0.7782 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.262e-05/0.004263, allocations: 16.06 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.004284, allocations: 38.53 kB / 0.7782 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.004285, allocations: 0 / 0.7782 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001052/0.00439, allocations: 53.56 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.004418, allocations: 55.41 kB / 0.7783 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.004466, allocations: 102.7 kB / 0.7784 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.004474, allocations: 25.7 kB / 0.7785 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.004504, allocations: 92.06 kB / 0.7785 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.00452, allocations: 7.953 kB / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.004545, allocations: 17.72 kB / 0.7786 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.004616, allocations: 318.8 kB / 0.7789 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.004626, allocations: 4 kB / 0.7789 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.004634, allocations: 0 / 0.7789 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.004657, allocations: 16.84 kB / 0.7789 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.004659, allocations: 4 kB / 0.7789 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001341/0.004793, allocations: 45.62 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.004803, allocations: 4 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.004808, allocations: 3.938 kB / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.004815, allocations: 0 / 0.779 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.004859, allocations: 11.98 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.004862, allocations: 0 / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.004882, allocations: 4 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.004886, allocations: 0 / 0.779 GB, free: 10.93 MB / 0.7448 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 4.919e-05/0.004935, allocations: 113.8 kB / 0.7791 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.004946, allocations: 0 / 0.7791 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.005015, allocations: 57.23 kB / 0.7791 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005016, allocations: 3.938 kB / 0.7791 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.005018, allocations: 0 / 0.7791 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.005021, allocations: 4 kB / 0.7791 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.796e-05/0.005099, allocations: 69.88 kB / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.0051, allocations: 0 / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.005124, allocations: 8 kB / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005126, allocations: 3.984 kB / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.00513, allocations: 8 kB / 0.7792 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005131, allocations: 256 / 0.7792 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.005133, allocations: 3.938 kB / 0.7792 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.453e-05/0.005197, allocations: 135.9 kB / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.005204, allocations: 7.953 kB / 0.7794 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.005211, allocations: 0 / 0.7794 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.04e-05/0.005242, allocations: 7.984 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.005276, allocations: 15.91 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.005279, allocations: 3.984 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.152e-05/0.005291, allocations: 8.859 kB / 0.7794 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005291, allocations: 0 / 0.7794 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001198/0.00541, allocations: 19.94 kB / 0.7794 GB, free: 10.41 MB / 0.7448 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 9.153e-05/0.005502, allocations: 76.42 kB / 0.7795 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.655e-05/0.005558, allocations: 24.84 kB / 0.7795 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.005563, allocations: 0 / 0.7795 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.005579, allocations: 12.84 kB / 0.7795 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.005696, allocations: 7.938 kB / 0.7795 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.005921, allocations: 150.2 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.005968, allocations: 67.34 kB / 0.7797 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.006012, allocations: 55.36 kB / 0.7798 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of SimCode: time 5.92e-07/0.006012, allocations: 0 / 0.7798 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Templates: time 0.00141/0.007422, allocations: 0.7812 MB / 0.7806 GB, free: 9.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.382143022492528]