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.001795/0.001795, allocations: 104.3 kB / 19.72 MB, free: 420 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.001976/0.001976, allocations: 216 kB / 23.02 MB, free: 2.961 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.68/1.68, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.288/3.288, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 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.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 0.005976/0.005976, allocations: 75.86 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8173, allocations: 180 MB / 1.353 GB, free: 1.594 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.003408/0.8207, allocations: 1.532 MB / 1.354 GB, free: 56 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000443/0.8212, allocations: 123.6 kB / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.8212, allocations: 0 / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.8212, allocations: 4 kB / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.8213, allocations: 3.938 kB / 1.355 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.8216, allocations: 27.92 kB / 1.355 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.683e-05/0.8217, allocations: 39.89 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.8218, allocations: 4 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.8218, allocations: 11.94 kB / 1.355 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.8219, allocations: 15.92 kB / 1.355 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.8219, allocations: 4 kB / 1.355 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.822, allocations: 11.98 kB / 1.355 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.822, allocations: 4 kB / 1.355 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.822, allocations: 19.91 kB / 1.355 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.8221, allocations: 34.72 kB / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8221, allocations: 0 / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8222, allocations: 0 / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8222, allocations: 0 / 1.355 GB, free: 15.76 MB / 1.042 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.00054/0.8227, allocations: 274.3 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.8227, allocations: 8.922 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.8228, allocations: 4.938 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.8229, allocations: 106.5 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.8229, allocations: 4.375 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.8229, allocations: 4.375 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.8231, allocations: 62.17 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8231, allocations: 4.125 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.8232, allocations: 11.91 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.8232, allocations: 0 / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.8234, allocations: 35.97 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.8237, allocations: 212.6 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.8241, allocations: 58.55 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.8242, allocations: 36.77 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.8243, allocations: 4 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8243, allocations: 34.5 kB / 1.356 GB, free: 14.8 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.8243, allocations: 0 / 1.356 GB, free: 14.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0003955/0.8247, allocations: 93.62 kB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.8248, allocations: 51.41 kB / 1.356 GB, free: 14.64 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8249, allocations: 109.8 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.8249, allocations: 25.7 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.825, allocations: 80.14 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.825, allocations: 7.891 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.825, allocations: 17.72 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.8252, allocations: 322.8 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.8253, allocations: 15.98 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/0.8254, allocations: 23.97 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.8256, allocations: 44.83 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8256, allocations: 0 / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.8258, allocations: 81.53 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8258, allocations: 4 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8258, allocations: 4 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8258, allocations: 0 / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.8259, allocations: 11.98 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.8259, allocations: 3.938 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.826, allocations: 8 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.826, allocations: 3.984 kB / 1.356 GB, free: 13.85 MB / 1.042 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 0.0001133/0.8261, allocations: 114.4 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.8261, allocations: 3.938 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.8264, allocations: 77.84 kB / 1.357 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8264, allocations: 7.938 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8264, allocations: 0 / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.8264, allocations: 4 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.8266, allocations: 105.4 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8266, allocations: 3.984 kB / 1.357 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.8266, allocations: 19.92 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.8266, allocations: 0 / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.8267, allocations: 4 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8267, allocations: 3.938 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8267, allocations: 0 / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.827, allocations: 175.5 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.827, allocations: 7.938 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.827, allocations: 0 / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.8271, allocations: 4 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.8271, allocations: 11.98 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.8271, allocations: 0 / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.8272, allocations: 83.27 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8272, allocations: 3.938 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002166/0.8274, allocations: 8 kB / 1.357 GB, free: 13.16 MB / 1.042 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.0001591/0.8276, allocations: 99.25 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.8278, allocations: 51.89 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.8278, allocations: 0 / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.8279, allocations: 23.97 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.8282, allocations: 4 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.8285, allocations: 121.5 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.518e-05/0.8286, allocations: 59.34 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.8286, allocations: 8 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.8286, allocations: 11.44 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of SimCode: time 2.91e-07/0.8286, allocations: 0 / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of Templates: time 0.003625/0.8322, allocations: 0.7419 MB / 1.358 GB, free: 12 MB / 1.042 GB " [Timeout remaining time 299] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.946240453980863]