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.002599/0.002599, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.00306/0.00306, allocations: 173.2 kB / 23.24 MB, free: 1.32 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 1.692/1.692, allocations: 177.1 MB / 203.5 MB, free: 5.676 MB / 186.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.182/3.182, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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 1.242e-06/1.242e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.099e-05/4.223e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00161/0.001652, allocations: 0.5911 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.001917, allocations: 51.73 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.001941, allocations: 0 / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.001985, allocations: 3.938 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-06/0.001991, allocations: 3.938 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.002266, allocations: 15.98 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.002349, allocations: 27.97 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.00239, allocations: 11.92 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.002431, allocations: 15.98 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.926e-05/0.00246, allocations: 11.97 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.002473, allocations: 4 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.002563, allocations: 15.98 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.002595, allocations: 19.97 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.002621, allocations: 4 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.002732, allocations: 43.75 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.002734, allocations: 0 / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002734, allocations: 0 / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002738, allocations: 0 / 1.002 GB, free: 12.11 MB / 0.9636 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.0003589/0.003097, allocations: 266.3 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.003134, allocations: 9.344 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.003176, allocations: 8.891 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.235e-05/0.003268, allocations: 101.8 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.003284, allocations: 8.375 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003293, allocations: 384 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.003432, allocations: 66.22 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003441, allocations: 192 / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.003449, allocations: 384 / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003453, allocations: 384 / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.003625, allocations: 111.7 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.003793, allocations: 125.2 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.00393, allocations: 66.53 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.003988, allocations: 32.84 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.004156, allocations: 19.98 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.004192, allocations: 34.56 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.004193, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002625/0.004456, allocations: 117.8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.004504, allocations: 51.41 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.004576, allocations: 101.8 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.004597, allocations: 25.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.004643, allocations: 88.08 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.004676, allocations: 23.8 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.004733, allocations: 33.7 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004057/0.005138, allocations: 314.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.005182, allocations: 23.92 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.979e-05/0.005222, allocations: 20.42 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.005339, allocations: 64.92 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005341, allocations: 0 / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001597/0.0055, allocations: 101.6 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.005513, allocations: 6.5 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.005517, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.005532, allocations: 8 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.005635, allocations: 15.98 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.005643, allocations: 4 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.005663, allocations: 3.938 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.005672, allocations: 4 kB / 1.004 GB, free: 10.12 MB / 0.9636 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.0001283/0.0058, allocations: 125.8 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.00581, allocations: 0 / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.006056, allocations: 129.5 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.006058, allocations: 4 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.006061, allocations: 0 / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.006068, allocations: 7.922 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.006194, allocations: 117.2 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006195, allocations: 0 / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.00627, allocations: 23.92 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006272, allocations: 0 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.006282, allocations: 4 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006283, allocations: 4 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006284, allocations: 0 / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.006469, allocations: 125.8 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-06/0.006475, allocations: 8 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.006485, allocations: 0 / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.728e-05/0.006503, allocations: 4 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.00654, allocations: 11.92 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.006551, allocations: 7.984 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.006593, allocations: 75.28 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006593, allocations: 0 / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002016/0.006795, allocations: 16 kB / 1.004 GB, free: 9.402 MB / 0.9636 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.0001723/0.006967, allocations: 111.1 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.007112, allocations: 63.95 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.007114, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.007172, allocations: 32.47 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.007304, allocations: 11.94 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.007619, allocations: 141.1 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.409e-05/0.007693, allocations: 67.28 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.016e-05/0.007773, allocations: 35.94 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.007801, allocations: 20.5 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of SimCode: time 3.9e-07/0.007801, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of Templates: time 0.003401/0.0112, allocations: 0.5894 MB / 1.005 GB, free: 8.289 MB / 0.9636 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: 8.889646746218204]