Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008794/0.0008794, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009362/0.0009362, allocations: 165.2 kB / 24.96 MB, free: 8.711 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.9028/0.9028, allocations: 177.1 MB / 205.4 MB, free: 4.488 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.985/1.985, allocations: 389.6 MB / 0.6362 GB, free: 13.39 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.776 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.203e-05, allocations: 2.312 kB / 0.776 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001085/0.001097, allocations: 0.6543 MB / 0.7767 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.001301, allocations: 59.78 kB / 0.7767 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.001318, allocations: 0 / 0.7767 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.00135, allocations: 0 / 0.7767 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.001356, allocations: 0 / 0.7767 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.001574, allocations: 19.86 kB / 0.7767 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.001639, allocations: 31.95 kB / 0.7768 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.001669, allocations: 0 / 0.7768 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.0017, allocations: 19.97 kB / 0.7768 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.64e-05/0.001716, allocations: 8 kB / 0.7768 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.001728, allocations: 0 / 0.7768 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.41e-05/0.001822, allocations: 27.95 kB / 0.7768 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.001844, allocations: 15.94 kB / 0.7768 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.001862, allocations: 11.97 kB / 0.7769 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.001939, allocations: 31.95 kB / 0.7769 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.00194, allocations: 0 / 0.7769 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.00194, allocations: 0 / 0.7769 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.001943, allocations: 0 / 0.7769 GB, free: 13.03 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002043/0.002147, allocations: 240.9 kB / 0.7771 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.002176, allocations: 15.97 kB / 0.7771 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.002199, allocations: 4.938 kB / 0.7771 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.595e-05/0.002255, allocations: 109.7 kB / 0.7772 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.002265, allocations: 8.375 kB / 0.7773 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.002272, allocations: 384 / 0.7773 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.002353, allocations: 54.22 kB / 0.7773 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.00236, allocations: 192 / 0.7773 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.00237, allocations: 4.375 kB / 0.7773 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.002376, allocations: 4.375 kB / 0.7773 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.002441, allocations: 71.75 kB / 0.7774 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.151e-05/0.002522, allocations: 71.83 kB / 0.7775 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.002571, allocations: 50.53 kB / 0.7775 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.00259, allocations: 21.17 kB / 0.7775 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.002695, allocations: 15.98 kB / 0.7775 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.002715, allocations: 42.5 kB / 0.7776 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 7.82e-07/0.002716, allocations: 0 / 0.7776 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000108/0.002823, allocations: 69.61 kB / 0.7776 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.002846, allocations: 55.41 kB / 0.7777 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.597e-05/0.002872, allocations: 89.86 kB / 0.7778 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.002883, allocations: 29.7 kB / 0.7778 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.0029, allocations: 84.14 kB / 0.7779 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.002923, allocations: 23.77 kB / 0.7779 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.002957, allocations: 33.69 kB / 0.7779 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.003028, allocations: 318.8 kB / 0.7782 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.00304, allocations: 12 kB / 0.7783 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.003053, allocations: 20.3 kB / 0.7783 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.003097, allocations: 35.66 kB / 0.7783 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.003098, allocations: 0 / 0.7783 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.244e-05/0.003151, allocations: 57.62 kB / 0.7784 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.00316, allocations: 7.75 kB / 0.7784 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.003164, allocations: 0 / 0.7784 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.003173, allocations: 0 / 0.7784 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.003231, allocations: 19.98 kB / 0.7784 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.003233, allocations: 0 / 0.7784 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.003248, allocations: 11.95 kB / 0.7784 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.003254, allocations: 7.984 kB / 0.7784 GB, free: 11.32 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: 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 6.185e-05/0.003315, allocations: 128.5 kB / 0.7785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.003323, allocations: 8 kB / 0.7785 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.003417, allocations: 93.47 kB / 0.7786 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.003419, allocations: 4 kB / 0.7786 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.003421, allocations: 0 / 0.7786 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.003423, allocations: 0 / 0.7786 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.47e-05/0.003478, allocations: 81.78 kB / 0.7787 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.003481, allocations: 4 kB / 0.7787 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.003514, allocations: 23.92 kB / 0.7787 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.003515, allocations: 0 / 0.7787 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.00352, allocations: 7.984 kB / 0.7787 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.003521, allocations: 0 / 0.7787 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.003522, allocations: 0 / 0.7787 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/0.003582, allocations: 89.05 kB / 0.7788 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.003587, allocations: 11.92 kB / 0.7788 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.003595, allocations: 0 / 0.7788 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-06/0.003602, allocations: 4 kB / 0.7788 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.003624, allocations: 7.984 kB / 0.7789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.003626, allocations: 0 / 0.7789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.811e-06/0.003632, allocations: 8.859 kB / 0.7789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003632, allocations: 0 / 0.7789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 9.971e-05/0.003732, allocations: 23.92 kB / 0.7789 GB, free: 10.78 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: 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 9.193e-05/0.003824, allocations: 88.36 kB / 0.779 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.0039, allocations: 45.31 kB / 0.779 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.003903, allocations: 4 kB / 0.779 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.003926, allocations: 32.94 kB / 0.779 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.088e-05/0.003967, allocations: 4 kB / 0.7791 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.004133, allocations: 143.3 kB / 0.7792 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.497e-05/0.004158, allocations: 59.36 kB / 0.7792 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.004183, allocations: 15.75 kB / 0.7793 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.004213, allocations: 55.38 kB / 0.7793 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.004214, allocations: 4 kB / 0.7793 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.00183/0.006043, allocations: 0.6833 MB / 0.78 GB, free: 9.594 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.722433210350573]