Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.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.001962/0.001962, 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.0022/0.0022, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.618/1.618, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.147/3.147, allocations: 389.5 MB / 0.6343 GB, free: 12.62 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.626e-05, allocations: 10.22 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001553/0.001579, allocations: 0.58 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.001829, allocations: 51.75 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.001851, allocations: 0 / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.001867, allocations: 3.938 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.001873, allocations: 4 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.002076, allocations: 11.97 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.00212, allocations: 4 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.002163, allocations: 0 / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.002189, allocations: 4 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.048e-05/0.00221, allocations: 4 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.002221, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.002293, allocations: 7.984 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.002305, allocations: 3.984 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.002318, allocations: 0 / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.116e-05/0.002409, allocations: 23.86 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002411, allocations: 3.938 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002412, allocations: 0 / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.002415, allocations: 4 kB / 1.002 GB, free: 12.23 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003329/0.002748, allocations: 238.5 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.002784, allocations: 9.344 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.002815, allocations: 0.9375 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.002911, allocations: 105.8 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.002922, allocations: 384 / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.002929, allocations: 384 / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.092e-05/0.00302, allocations: 30.27 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.003029, allocations: 4.188 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.003045, allocations: 12.34 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.003049, allocations: 384 / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.003085, allocations: 7.938 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.003224, allocations: 97.33 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.003288, allocations: 26.55 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.003308, allocations: 8.844 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.003427, allocations: 4.062 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.003465, allocations: 34.56 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 3.246e-06/0.003468, allocations: 4 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.003629, allocations: 45.62 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.003678, allocations: 51.41 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.003738, allocations: 89.86 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.003756, allocations: 25.7 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.003802, allocations: 84.14 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.003818, allocations: 3.953 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.00385, allocations: 17.72 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.004013, allocations: 314.8 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.004024, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.004038, allocations: 12.11 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.004078, allocations: 16.8 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00408, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.387e-05/0.004144, allocations: 41.58 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.004156, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.00416, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.004174, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.004229, allocations: 3.984 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.004241, allocations: 7.984 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.004258, allocations: 7.938 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.004262, allocations: 4.094 kB / 1.003 GB, free: 10.77 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: 2 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.046e-05/0.004353, allocations: 105.8 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.004362, allocations: 4 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.004453, allocations: 40.84 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.004457, allocations: 4 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.004469, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.004471, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.269e-05/0.004563, allocations: 101.2 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004564, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.004592, allocations: 15.95 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004593, allocations: 4 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.004597, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004599, allocations: 4 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004599, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.955e-05/0.004689, allocations: 65.89 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-06/0.004692, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.004703, allocations: 4 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.004714, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.004738, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.00474, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.004783, allocations: 83.31 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.004783, allocations: 4 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001897/0.004973, allocations: 4 kB / 1.004 GB, free: 10.27 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: 2 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001539/0.005127, allocations: 111.1 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.005193, allocations: 8 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005194, allocations: 0 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.005209, allocations: 7.938 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.005334, allocations: 4 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.005545, allocations: 88.77 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.005596, allocations: 55.36 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.361e-05/0.00561, allocations: 4 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.005632, allocations: 12.48 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.005632, allocations: 3.938 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of Templates: time 0.002684/0.008317, allocations: 332.6 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.824954364448786]