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.001804/0.001804, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.00225/0.00225, allocations: 224.3 kB / 23.02 MB, free: 2.961 MB / 13.93 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.632/1.632, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] 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 3.42/3.42, allocations: 0.5045 GB / 0.8104 GB, free: 2.809 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003847/0.003847, allocations: 71.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8143, allocations: 180 MB / 1.353 GB, free: 1.582 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001916/0.8163, allocations: 0.5981 MB / 1.354 GB, free: 0.9844 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.8166, allocations: 53.94 kB / 1.354 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.8166, allocations: 0 / 1.354 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.8166, allocations: 0 / 1.354 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.8166, allocations: 0 / 1.354 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.8169, allocations: 23.92 kB / 1.354 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.817, allocations: 35.95 kB / 1.354 GB, free: 0.875 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.8171, allocations: 0 / 1.354 GB, free: 0.875 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 3.246e-05/0.8171, allocations: 8 kB / 1.354 GB, free: 0.8672 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.8171, allocations: 15.97 kB / 1.354 GB, free: 0.8516 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.8172, allocations: 4 kB / 1.354 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.8172, allocations: 23.97 kB / 1.354 GB, free: 0.8242 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.8173, allocations: 11.92 kB / 1.354 GB, free: 0.8125 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.8173, allocations: 11.94 kB / 1.354 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.8174, allocations: 34.56 kB / 1.354 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8174, allocations: 0 / 1.354 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.877e-06/0.8174, allocations: 4 kB / 1.354 GB, free: 0.7656 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.8174, allocations: 0 / 1.354 GB, free: 0.7656 MB / 1.026 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.0003702/0.8178, allocations: 260 kB / 1.354 GB, free: 492 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.8178, allocations: 8.922 kB / 1.354 GB, free: 484 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.8179, allocations: 8.891 kB / 1.354 GB, free: 476 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.818, allocations: 114.5 kB / 1.354 GB, free: 336 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.818, allocations: 4.375 kB / 1.354 GB, free: 332 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.818, allocations: 4.375 kB / 1.354 GB, free: 328 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.8182, allocations: 62.22 kB / 1.354 GB, free: 260 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.8182, allocations: 192 / 1.354 GB, free: 260 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.8182, allocations: 7.938 kB / 1.354 GB, free: 252 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8182, allocations: 4 kB / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.8185, allocations: 91.88 kB / 1.354 GB, free: 156 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.8186, allocations: 121.2 kB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.8188, allocations: 74.5 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.8188, allocations: 24.84 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.819, allocations: 23.98 kB / 1.355 GB, free: 15.87 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.8191, allocations: 34.55 kB / 1.355 GB, free: 15.82 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.8191, allocations: 0 / 1.355 GB, free: 15.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0002723/0.8194, allocations: 126.1 kB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.8194, allocations: 51.41 kB / 1.355 GB, free: 15.63 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.8195, allocations: 93.86 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.8195, allocations: 29.7 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.8195, allocations: 80.14 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.8196, allocations: 27.78 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.8196, allocations: 29.72 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8198, allocations: 318.8 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.8198, allocations: 23.98 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.8199, allocations: 24.03 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.82, allocations: 60.83 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.82, allocations: 0 / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001517/0.8201, allocations: 93.55 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8201, allocations: 8 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8201, allocations: 0 / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8202, allocations: 3.938 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8203, allocations: 19.98 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.8203, allocations: 0 / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.8203, allocations: 11.95 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.8203, allocations: 4 kB / 1.355 GB, free: 14.78 MB / 1.042 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 0.0001185/0.8204, allocations: 124.2 kB / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.8204, allocations: 0 / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.8208, allocations: 133.3 kB / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8208, allocations: 0 / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8208, allocations: 0 / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.8208, allocations: 0 / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.821, allocations: 125.2 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.821, allocations: 4 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.8212, allocations: 23.98 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.8212, allocations: 3.984 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.8212, allocations: 4 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.8212, allocations: 3.938 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8212, allocations: 0 / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.8215, allocations: 125 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.8215, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.8215, allocations: 11.88 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.8215, allocations: 4 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.8216, allocations: 15.92 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.8216, allocations: 4 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.8216, allocations: 75.28 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.8216, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002145/0.8218, allocations: 12 kB / 1.356 GB, free: 14.06 MB / 1.042 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 0.0001983/0.822, allocations: 119.2 kB / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.8222, allocations: 56.45 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8222, allocations: 0 / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.8222, allocations: 36.12 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.8224, allocations: 12.22 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.8227, allocations: 156.8 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.8228, allocations: 67.2 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.962e-05/0.8229, allocations: 35.73 kB / 1.357 GB, free: 13.54 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.8229, allocations: 19.42 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of SimCode: time 3.21e-07/0.8229, allocations: 0 / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of Templates: time 0.003377/0.8263, allocations: 0.5624 MB / 1.357 GB, free: 12.96 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.849666621536016]