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.001011/0.001011, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001007/0.001007, allocations: 167.5 kB / 25.05 MB, free: 9.191 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 0.9788/0.9788, allocations: 177.1 MB / 205.5 MB, free: 5.438 MB / 186.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.864/1.864, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 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.142e-06/1.142e-06, allocations: 0 / 0.7762 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.204e-05, allocations: 6.25 kB / 0.7762 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001035/0.001047, allocations: 0.6709 MB / 0.7768 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.001225, allocations: 39.88 kB / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.001238, allocations: 4 kB / 0.7769 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.001254, allocations: 0 / 0.7769 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.001259, allocations: 5.141 kB / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.001423, allocations: 11.98 kB / 0.7769 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.657e-05/0.00146, allocations: 0 / 0.7769 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.001502, allocations: 3.984 kB / 0.7769 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.001529, allocations: 4 kB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.459e-05/0.001544, allocations: 3.688 kB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.001553, allocations: 0 / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.001636, allocations: 19.92 kB / 0.7769 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.001645, allocations: 0.6562 kB / 0.7769 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.138e-06/0.001655, allocations: 0 / 0.7769 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.58e-05/0.00172, allocations: 16.62 kB / 0.7769 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.001722, allocations: 0 / 0.7769 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.001722, allocations: 0 / 0.7769 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.294e-06/0.001725, allocations: 4.062 kB / 0.7769 GB, free: 4.488 MB / 0.7292 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.0001668/0.001891, allocations: 212.8 kB / 0.7771 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.00192, allocations: 9.344 kB / 0.7772 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.001939, allocations: 4.875 kB / 0.7772 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.083e-05/0.00199, allocations: 106.7 kB / 0.7773 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.001998, allocations: 384 / 0.7773 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.002005, allocations: 384 / 0.7773 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.135e-05/0.002066, allocations: 38.25 kB / 0.7773 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.002072, allocations: 192 / 0.7773 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-06/0.002077, allocations: 4 kB / 0.7773 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.002081, allocations: 384 / 0.7773 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.002096, allocations: 7.938 kB / 0.7773 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.619e-05/0.002163, allocations: 58.03 kB / 0.7774 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.518e-05/0.002198, allocations: 30.52 kB / 0.7774 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.002209, allocations: 5.75 kB / 0.7774 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.113e-05/0.00229, allocations: 4.062 kB / 0.7774 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.002309, allocations: 34.56 kB / 0.7774 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.00231, allocations: 3.875 kB / 0.7774 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 7.618e-05/0.002386, allocations: 37.69 kB / 0.7775 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.00242, allocations: 59.34 kB / 0.7775 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.633e-05/0.002446, allocations: 89.86 kB / 0.7776 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.002455, allocations: 26.47 kB / 0.7776 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/0.002472, allocations: 80.14 kB / 0.7777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.002488, allocations: 8.234 kB / 0.7777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.002509, allocations: 13.72 kB / 0.7777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.002579, allocations: 314.8 kB / 0.778 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/0.002586, allocations: 7.984 kB / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.002589, allocations: 2.781 kB / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.002611, allocations: 13.94 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.002613, allocations: 0 / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.391e-05/0.002647, allocations: 41.62 kB / 0.7781 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.002656, allocations: 4 kB / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.002659, allocations: 1.062 kB / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.002667, allocations: 0 / 0.7781 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.002698, allocations: 4 kB / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.0027, allocations: 1.156 kB / 0.7781 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.002709, allocations: 8 kB / 0.7781 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-06/0.002712, allocations: 0 / 0.7781 GB, free: 3.145 MB / 0.7292 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 4.248e-05/0.002754, allocations: 111.7 kB / 0.7782 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-06/0.002758, allocations: 0 / 0.7782 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.002808, allocations: 45.44 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.002808, allocations: 0.9375 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.00281, allocations: 0 / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.002813, allocations: 3.984 kB / 0.7783 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.261e-05/0.002856, allocations: 70.33 kB / 0.7783 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.002856, allocations: 0.875 kB / 0.7783 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-06/0.002866, allocations: 8.812 kB / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.002867, allocations: 0 / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.00287, allocations: 1.594 kB / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.002871, allocations: 0 / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.002871, allocations: 0 / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.214e-05/0.002913, allocations: 65.56 kB / 0.7784 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.002919, allocations: 8 kB / 0.7784 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.002925, allocations: 0.6875 kB / 0.7784 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-06/0.002929, allocations: 0.9844 kB / 0.7784 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.002946, allocations: 1.781 kB / 0.7784 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.002949, allocations: 3.984 kB / 0.7784 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.699e-06/0.002954, allocations: 8.859 kB / 0.7784 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.002954, allocations: 0 / 0.7784 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of remove unused functions: time 9.118e-05/0.003045, allocations: 4.938 kB / 0.7784 GB, free: 2.773 MB / 0.7292 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 7.611e-05/0.003121, allocations: 77.86 kB / 0.7785 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.724e-05/0.003168, allocations: 22.14 kB / 0.7785 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00317, allocations: 0 / 0.7785 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.003181, allocations: 12.84 kB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.935e-05/0.00322, allocations: 8.812 kB / 0.7786 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001234/0.003344, allocations: 79.83 kB / 0.7786 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.00337, allocations: 60.22 kB / 0.7787 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.786e-06/0.003378, allocations: 0 / 0.7787 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.003404, allocations: 52.81 kB / 0.7787 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.003404, allocations: 0 / 0.7787 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.001484/0.004888, allocations: 383 kB / 0.7791 GB, free: 2.051 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.821178840473294]