Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.001041/0.001041, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001525/0.001525, allocations: 168.8 kB / 25.17 MB, free: 8.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.014/1.014, allocations: 177.2 MB / 205.6 MB, free: 4.008 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.913/1.913, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.96e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002281/0.0023, allocations: 1.629 MB / 0.7772 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003715/0.002672, allocations: 119.6 kB / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.00272, allocations: 0 / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.002764, allocations: 4 kB / 0.7773 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.002821, allocations: 3.938 kB / 0.7773 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.003087, allocations: 31.89 kB / 0.7773 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.003163, allocations: 31.86 kB / 0.7774 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.003253, allocations: 7.938 kB / 0.7774 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.003322, allocations: 19.97 kB / 0.7774 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.003372, allocations: 7.984 kB / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.003391, allocations: 4 kB / 0.7774 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.003488, allocations: 15.98 kB / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.003508, allocations: 4 kB / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.003531, allocations: 15.92 kB / 0.7774 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.003646, allocations: 27.97 kB / 0.7775 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003648, allocations: 0 / 0.7775 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003649, allocations: 0 / 0.7775 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.003653, allocations: 0 / 0.7775 GB, free: 12.62 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003359/0.003989, allocations: 248.9 kB / 0.7777 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.004027, allocations: 8.031 kB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.004054, allocations: 4.938 kB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.004137, allocations: 101.8 kB / 0.7778 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.004158, allocations: 12.3 kB / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.004168, allocations: 384 / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.004288, allocations: 70.88 kB / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004294, allocations: 192 / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.004303, allocations: 384 / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.004309, allocations: 384 / 0.7779 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.004337, allocations: 11.94 kB / 0.7779 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.004584, allocations: 160.2 kB / 0.778 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.004738, allocations: 38.48 kB / 0.7781 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.004758, allocations: 12.86 kB / 0.7781 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-05/0.004826, allocations: 8.062 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.004846, allocations: 34.56 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.004848, allocations: 0 / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001252/0.004973, allocations: 45.62 kB / 0.7782 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.005008, allocations: 51.41 kB / 0.7782 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.005068, allocations: 110.7 kB / 0.7783 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005079, allocations: 29.64 kB / 0.7784 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.005115, allocations: 84.08 kB / 0.7784 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.005136, allocations: 11.95 kB / 0.7785 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.005166, allocations: 17.7 kB / 0.7785 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.005259, allocations: 314.8 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.005269, allocations: 4 kB / 0.7788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.005277, allocations: 4 kB / 0.7788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.005307, allocations: 16.84 kB / 0.7788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005309, allocations: 0 / 0.7788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.937e-05/0.005359, allocations: 37.69 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.00537, allocations: 8 kB / 0.7788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.005376, allocations: 0 / 0.7788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.005386, allocations: 7.938 kB / 0.7788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.005441, allocations: 15.92 kB / 0.7789 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.005444, allocations: 0 / 0.7789 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.005461, allocations: 4 kB / 0.7789 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.005466, allocations: 4 kB / 0.7789 GB, free: 11.01 MB / 0.7448 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 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.889e-05/0.005525, allocations: 113.8 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.005538, allocations: 7.938 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.005614, allocations: 41.38 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.005617, allocations: 3.938 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005619, allocations: 0 / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.005622, allocations: 0.5625 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.339e-05/0.005706, allocations: 77.88 kB / 0.7791 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005707, allocations: 0 / 0.7791 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.005734, allocations: 15.92 kB / 0.7791 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005737, allocations: 0 / 0.7791 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005743, allocations: 4 kB / 0.7791 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.005744, allocations: 0 / 0.7791 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005745, allocations: 0 / 0.7791 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.075e-05/0.005815, allocations: 139.5 kB / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.005822, allocations: 3.953 kB / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.00583, allocations: 0 / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.00586, allocations: 7.984 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.005898, allocations: 7.984 kB / 0.7793 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.005903, allocations: 11.94 kB / 0.7793 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.997e-06/0.005912, allocations: 4.859 kB / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005912, allocations: 4 kB / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001185/0.00603, allocations: 4 kB / 0.7793 GB, free: 10.52 MB / 0.7448 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.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001058/0.006136, allocations: 88.41 kB / 0.7794 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.527e-05/0.006201, allocations: 16.8 kB / 0.7794 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.006206, allocations: 0 / 0.7794 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.006226, allocations: 16.84 kB / 0.7794 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.006364, allocations: 11.94 kB / 0.7794 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.006609, allocations: 138.3 kB / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.006661, allocations: 71.22 kB / 0.7796 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.00671, allocations: 51.38 kB / 0.7797 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.00671, allocations: 0 / 0.7797 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of Templates: time 0.001714/0.008424, allocations: 0.7344 MB / 0.7804 GB, free: 9.328 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Factorial > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.617822871543467]