Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001134/0.001134, allocations: 92.22 kB / 19.65 MB, free: 280 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.001115/0.001115, allocations: 173 kB / 23.02 MB, free: 1.547 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.001651/0.001651, allocations: 241.7 kB / 260.2 MB, free: 12.8 MB / 250.7 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 0.767/0.767, allocations: 138.4 MB / 455.2 MB, free: 1.496 MB / 362.7 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.914e-05, allocations: 2.312 kB / 0.5552 GB, free: 424 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001244/0.001274, allocations: 0.6079 MB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.001512, allocations: 51.75 kB / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.001532, allocations: 0 / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.001578, allocations: 3.938 kB / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.001584, allocations: 0 / 0.5558 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.001891, allocations: 27.95 kB / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.001976, allocations: 31.97 kB / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.00201, allocations: 0 / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.002047, allocations: 15.92 kB / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.002072, allocations: 19.97 kB / 0.5559 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002087, allocations: 0 / 0.5559 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.00217, allocations: 11.98 kB / 0.5559 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.002194, allocations: 15.98 kB / 0.5559 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.002219, allocations: 7.984 kB / 0.556 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.002324, allocations: 47.75 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002327, allocations: 4 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002328, allocations: 4 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.002332, allocations: 0 / 0.556 GB, free: 15.57 MB / 490.7 MB 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.0003076/0.00264, allocations: 364.6 kB / 0.5564 GB, free: 15.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.002678, allocations: 8.75 kB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.002724, allocations: 8.938 kB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.002785, allocations: 108.6 kB / 0.5565 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.002796, allocations: 384 / 0.5565 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.002808, allocations: 8.375 kB / 0.5565 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.002914, allocations: 58.17 kB / 0.5565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.002922, allocations: 192 / 0.5565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.002931, allocations: 4.375 kB / 0.5565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.002939, allocations: 384 / 0.5565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.003281, allocations: 91.8 kB / 0.5566 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.003399, allocations: 128.5 kB / 0.5568 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.003478, allocations: 59.05 kB / 0.5568 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.003508, allocations: 23.67 kB / 0.5568 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.003676, allocations: 23.92 kB / 0.5569 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.003702, allocations: 33.39 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.003703, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001829/0.003886, allocations: 106.2 kB / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.003911, allocations: 51.41 kB / 0.557 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.003951, allocations: 150.2 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.003962, allocations: 29.7 kB / 0.5572 GB, free: 14.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.003985, allocations: 130.8 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.004011, allocations: 19.86 kB / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.004045, allocations: 39.36 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.004149, allocations: 0.4884 MB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.004171, allocations: 8 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.004192, allocations: 23.97 kB / 0.5579 GB, free: 13.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.004252, allocations: 39.67 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004254, allocations: 4 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.521e-05/0.004339, allocations: 85.58 kB / 0.558 GB, free: 13.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.00435, allocations: 4 kB / 0.558 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.004356, allocations: 0 / 0.558 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004368, allocations: 0 / 0.558 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.004446, allocations: 23.92 kB / 0.558 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.004451, allocations: 0 / 0.558 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.004464, allocations: 11.88 kB / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00447, allocations: 4 kB / 0.5581 GB, free: 13.26 MB / 490.7 MB 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 7.451e-05/0.004545, allocations: 168.6 kB / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.004554, allocations: 11.95 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.004696, allocations: 105.5 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004698, allocations: 0 / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.004702, allocations: 3.938 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.004708, allocations: 7.922 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.908e-05/0.004777, allocations: 132.5 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.00478, allocations: 4 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.004818, allocations: 19.98 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.004821, allocations: 4 kB / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.004826, allocations: 0 / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.004828, allocations: 0 / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004829, allocations: 4 kB / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.004933, allocations: 128.3 kB / 0.5586 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.004939, allocations: 7.891 kB / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.00495, allocations: 8 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.004957, allocations: 0 / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.004989, allocations: 11.92 kB / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.004995, allocations: 7.984 kB / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.593e-05/0.005021, allocations: 119.2 kB / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005021, allocations: 0 / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.005153, allocations: 12 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB 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.0001316/0.005285, allocations: 114.8 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.005395, allocations: 60.08 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005396, allocations: 0 / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.005427, allocations: 35.67 kB / 0.559 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.911e-05/0.005526, allocations: 11.98 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.005757, allocations: 148.7 kB / 0.5591 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.005788, allocations: 63.3 kB / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.005832, allocations: 35.94 kB / 0.5592 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.005855, allocations: 12.5 kB / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005856, allocations: 0 / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of Templates: time 0.002406/0.008262, allocations: 0.6519 MB / 0.5599 GB, free: 11.27 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654131676070392]