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.0007188/0.0007188, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001765, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006847/0.0006847, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009067/0.001591, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08711/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.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.975/1.975, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4805/2.455, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 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.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.493e-06/1.493e-06, allocations: 0 / 0.7449 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.392e-05, allocations: 2.312 kB / 0.7449 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001851/0.001874, allocations: 0.66 MB / 0.7455 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.002012, allocations: 53.45 kB / 0.7456 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.135e-05/0.002024, allocations: 4.719 kB / 0.7456 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-06/0.002028, allocations: 0.7656 kB / 0.7456 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.603e-06/0.00203, allocations: 0 / 0.7456 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.002147, allocations: 19.09 kB / 0.7456 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.002197, allocations: 0.5469 kB / 0.7456 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.00224, allocations: 0.7656 kB / 0.7456 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.00228, allocations: 8.75 kB / 0.7456 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.002307, allocations: 0 / 0.7456 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.002319, allocations: 0 / 0.7456 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-05/0.002418, allocations: 12.66 kB / 0.7456 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.002432, allocations: 0.6562 kB / 0.7456 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.158e-05/0.002444, allocations: 1.062 kB / 0.7456 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.002545, allocations: 14.06 kB / 0.7456 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.00256, allocations: 0 / 0.7456 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.01e-07/0.002561, allocations: 4.5 kB / 0.7456 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.002576, allocations: 0 / 0.7456 GB, free: 2.43 MB / 0.7136 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.0003132/0.002889, allocations: 223.1 kB / 0.7458 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.002928, allocations: 8.031 kB / 0.7458 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.002962, allocations: 4.938 kB / 0.7458 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.062e-05/0.003033, allocations: 101.8 kB / 0.7459 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.003044, allocations: 384 / 0.7459 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.003055, allocations: 1.578 kB / 0.7459 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.003145, allocations: 35.56 kB / 0.746 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003152, allocations: 192 / 0.746 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.003158, allocations: 384 / 0.746 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003163, allocations: 1.531 kB / 0.746 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.003188, allocations: 7.938 kB / 0.746 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.003283, allocations: 60.98 kB / 0.746 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.003333, allocations: 23.33 kB / 0.7461 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.003346, allocations: 9.438 kB / 0.7461 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.003468, allocations: 5.156 kB / 0.7461 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.003494, allocations: 34.56 kB / 0.7461 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.003495, allocations: 0.7656 kB / 0.7461 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000114/0.003609, allocations: 42.56 kB / 0.7462 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.00364, allocations: 51.41 kB / 0.7462 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.003684, allocations: 90.77 kB / 0.7463 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.003694, allocations: 25.7 kB / 0.7463 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.003716, allocations: 81.02 kB / 0.7464 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.003746, allocations: 11.88 kB / 0.7464 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.003773, allocations: 18.81 kB / 0.7464 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.003859, allocations: 317.2 kB / 0.7467 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.003868, allocations: 4 kB / 0.7467 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.003876, allocations: 3.984 kB / 0.7467 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.003909, allocations: 8.859 kB / 0.7467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.003911, allocations: 0 / 0.7467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.582e-05/0.003967, allocations: 40.36 kB / 0.7468 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.003981, allocations: 7.984 kB / 0.7468 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.003987, allocations: 0 / 0.7468 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.004, allocations: 4 kB / 0.7468 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.004062, allocations: 0.9844 kB / 0.7468 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004065, allocations: 4 kB / 0.7468 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.004078, allocations: 0 / 0.7468 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.004082, allocations: 0.7188 kB / 0.7468 GB, free: 1.09 MB / 0.7136 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 6.199e-05/0.004144, allocations: 110.7 kB / 0.7469 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.004153, allocations: 4 kB / 0.7469 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.004239, allocations: 43.94 kB / 0.7469 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004241, allocations: 0 / 0.7469 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004243, allocations: 3.938 kB / 0.747 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004245, allocations: 1.422 kB / 0.747 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.473e-05/0.00431, allocations: 65.84 kB / 0.747 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.004312, allocations: 3.984 kB / 0.747 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.004343, allocations: 4 kB / 0.747 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.00435, allocations: 3.984 kB / 0.747 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.004353, allocations: 7.656 kB / 0.747 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-06/0.004357, allocations: 4 kB / 0.747 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.004359, allocations: 0 / 0.747 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.004361, allocations: 0 / 0.747 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.004437, allocations: 61.06 kB / 0.7471 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-06/0.004445, allocations: 0 / 0.7471 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.004458, allocations: 4 kB / 0.7471 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.004483, allocations: 4 kB / 0.7471 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.004487, allocations: 5.188 kB / 0.7471 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.047e-06/0.004496, allocations: 5.734 kB / 0.7471 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.004496, allocations: 3.938 kB / 0.7471 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001627/0.004658, allocations: 4 kB / 0.7471 GB, free: 0.7148 MB / 0.7136 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.0001464/0.004805, allocations: 81.92 kB / 0.7472 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.004872, allocations: 14.58 kB / 0.7472 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.004876, allocations: 4 kB / 0.7472 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.004891, allocations: 9.844 kB / 0.7472 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.679e-05/0.004958, allocations: 8.688 kB / 0.7472 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.005151, allocations: 93.22 kB / 0.7473 GB, free: 484 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.005185, allocations: 51.36 kB / 0.7474 GB, free: 412 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.45e-05/0.005199, allocations: 0 / 0.7474 GB, free: 412 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.005234, allocations: 52.03 kB / 0.7474 GB, free: 360 kB / 0.7136 GB Notification: Performance of SimCode: time 5.52e-07/0.005235, allocations: 0.5312 kB / 0.7474 GB, free: 360 kB / 0.7136 GB Notification: Performance of Templates: time 0.001804/0.007039, allocations: 401.3 kB / 0.7478 GB, free: 15.97 MB / 0.7292 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: 4.95497006829828]