Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001773/0.001773, allocations: 92.7 kB / 19.44 MB, free: 324 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.002337/0.002337, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003893/0.003893, allocations: 228.4 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.066/1.066, allocations: 138.4 MB / 454.7 MB, free: 1.48 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.096e-05, allocations: 10.25 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Factorial): time 0.004116/0.004147, allocations: 1.535 MB / 0.5558 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005025/0.004649, allocations: 120.4 kB / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.004695, allocations: 0 / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.004728, allocations: 4 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.004793, allocations: 11.86 kB / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.005091, allocations: 23.97 kB / 0.556 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.005182, allocations: 27.92 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.005297, allocations: 8 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.005369, allocations: 15.97 kB / 0.556 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.005428, allocations: 11.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.005448, allocations: 4 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.005527, allocations: 11.98 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.005545, allocations: 7.938 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.005584, allocations: 15.98 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.005742, allocations: 43.81 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005745, allocations: 0 / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005745, allocations: 3.938 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.005754, allocations: 4 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB 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.0006139/0.006368, allocations: 270.3 kB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.006412, allocations: 8.75 kB / 0.5564 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.006466, allocations: 4.938 kB / 0.5564 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.006612, allocations: 105.8 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.006639, allocations: 8.375 kB / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.006654, allocations: 8.375 kB / 0.5565 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.006906, allocations: 58.22 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.006915, allocations: 4.125 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006927, allocations: 384 / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.006932, allocations: 384 / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.007221, allocations: 47.89 kB / 0.5566 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.00768, allocations: 204.6 kB / 0.5568 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.00813, allocations: 58.53 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.008274, allocations: 24.84 kB / 0.5569 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.008375, allocations: 4 kB / 0.5569 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.008416, allocations: 42.55 kB / 0.557 GB, free: 14.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.008417, allocations: 0 / 0.557 GB, free: 14.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005629/0.00898, allocations: 93.53 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.009037, allocations: 51.41 kB / 0.5571 GB, free: 13.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.009167, allocations: 114 kB / 0.5572 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.009198, allocations: 25.7 kB / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.009271, allocations: 80.14 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.009296, allocations: 7.953 kB / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.009354, allocations: 21.64 kB / 0.5573 GB, free: 13.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.009574, allocations: 318.8 kB / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.009703, allocations: 11.98 kB / 0.5576 GB, free: 13.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.009831, allocations: 23.97 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.01011, allocations: 52.81 kB / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01012, allocations: 0 / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003417/0.01046, allocations: 69.66 kB / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.01048, allocations: 15.88 kB / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01048, allocations: 0 / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.0105, allocations: 0 / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.01062, allocations: 15.92 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01063, allocations: 0 / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.01071, allocations: 11.98 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.01072, allocations: 0 / 0.5578 GB, free: 13.07 MB / 490.7 MB 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.0001197/0.01084, allocations: 113.8 kB / 0.5579 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.0109, allocations: 7.953 kB / 0.5579 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.01128, allocations: 85.27 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01128, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01129, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01129, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.01151, allocations: 113.3 kB / 0.5581 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01151, allocations: 0 / 0.5581 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01162, allocations: 11.98 kB / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01162, allocations: 0 / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.01163, allocations: 0 / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.01164, allocations: 11.88 kB / 0.5582 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01164, allocations: 0 / 0.5582 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.01223, allocations: 167.5 kB / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.01224, allocations: 4 kB / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.01226, allocations: 4 kB / 0.5583 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.0124, allocations: 15.92 kB / 0.5583 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.01246, allocations: 4 kB / 0.5583 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01247, allocations: 3.984 kB / 0.5583 GB, free: 12.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.274e-05/0.01254, allocations: 83.7 kB / 0.5584 GB, free: 12.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01254, allocations: 0 / 0.5584 GB, free: 12.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000397/0.01294, allocations: 11.95 kB / 0.5584 GB, free: 12.39 MB / 490.7 MB 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.0001844/0.01312, allocations: 95.39 kB / 0.5585 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.01344, allocations: 55.88 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01345, allocations: 0 / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.01359, allocations: 23.97 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.01401, allocations: 11.94 kB / 0.5586 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.0144, allocations: 111.8 kB / 0.5587 GB, free: 12.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.854e-05/0.01449, allocations: 59.36 kB / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.01454, allocations: 15.94 kB / 0.5588 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.01459, allocations: 12.5 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01459, allocations: 7.938 kB / 0.5588 GB, free: 11.95 MB / 490.7 MB Notification: Performance of Templates: time 0.004543/0.01913, allocations: 0.7639 MB / 0.5596 GB, free: 11.2 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.530709607992321]