Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.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.000933/0.000933, allocations: 93.06 kB / 19.65 MB, free: 276 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.001465/0.001465, allocations: 165 kB / 23.02 MB, free: 1.551 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.9773/0.9773, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.001679/0.001679, allocations: 242 kB / 260.2 MB, free: 12.81 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 0.7685/0.7685, allocations: 138.4 MB / 455.2 MB, free: 1.523 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.587e-05, allocations: 10.25 kB / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002561/0.002587, allocations: 1.601 MB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.002924, allocations: 128.4 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.002961, allocations: 4 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.002998, allocations: 7.922 kB / 0.5568 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.003045, allocations: 11.92 kB / 0.5568 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.003362, allocations: 23.97 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.003436, allocations: 35.92 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.003524, allocations: 11.98 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.003565, allocations: 23.91 kB / 0.5569 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.003603, allocations: 15.92 kB / 0.5569 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.003619, allocations: 4 kB / 0.5569 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.003702, allocations: 27.91 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.003716, allocations: 7.938 kB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.00374, allocations: 11.98 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.00386, allocations: 47.88 kB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003862, allocations: 0 / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.003863, allocations: 0 / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.003867, allocations: 0 / 0.557 GB, free: 14.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003708/0.004238, allocations: 368.5 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.00428, allocations: 12.73 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.00432, allocations: 8.891 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/0.004406, allocations: 116.6 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.004428, allocations: 384 / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.004443, allocations: 8.312 kB / 0.5575 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.004588, allocations: 70.92 kB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.004598, allocations: 192 / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.004608, allocations: 384 / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.004615, allocations: 384 / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.004655, allocations: 19.92 kB / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.004958, allocations: 263.8 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.005133, allocations: 50.97 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.005157, allocations: 15.75 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.005258, allocations: 15.97 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.005279, allocations: 41.33 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.005281, allocations: 4 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001531/0.005434, allocations: 49.62 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.005458, allocations: 55.41 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.005525, allocations: 161.9 kB / 0.5582 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005536, allocations: 29.7 kB / 0.5583 GB, free: 13.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.005585, allocations: 138.8 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.005599, allocations: 7.891 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.005628, allocations: 27.36 kB / 0.5584 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.005728, allocations: 492.1 kB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.005748, allocations: 8 kB / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.005761, allocations: 11.98 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.352e-05/0.005795, allocations: 15.69 kB / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005796, allocations: 0 / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.605e-05/0.005862, allocations: 53.56 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.005874, allocations: 4 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.005878, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.005893, allocations: 4 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.005939, allocations: 7.984 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.005943, allocations: 0 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.005963, allocations: 4 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005968, allocations: 4 kB / 0.559 GB, free: 12.28 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 (falFac.y,rea2Int.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 6.288e-05/0.00603, allocations: 160.6 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.006051, allocations: 7.891 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.006148, allocations: 57.3 kB / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006149, allocations: 0 / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.006152, allocations: 0 / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006155, allocations: 256 / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.469e-05/0.00625, allocations: 120.6 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006252, allocations: 4 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.006283, allocations: 15.98 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006285, allocations: 0 / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.006294, allocations: 7.938 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006295, allocations: 0 / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006296, allocations: 0 / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.006391, allocations: 192.3 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.006397, allocations: 3.953 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.006407, allocations: 3.938 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.006443, allocations: 7.984 kB / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.00649, allocations: 23.89 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.006493, allocations: 0 / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.006525, allocations: 127.2 kB / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006525, allocations: 0 / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.006677, allocations: 8 kB / 0.5597 GB, free: 11.48 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 (rea2Int.y,falFac.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.0001131/0.00679, allocations: 107.2 kB / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.096e-05/0.006871, allocations: 23.67 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006873, allocations: 0 / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.006898, allocations: 19.67 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.007073, allocations: 8 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.007319, allocations: 137.3 kB / 0.56 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.007352, allocations: 59.34 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.845e-05/0.00737, allocations: 0 / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.007397, allocations: 12.5 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007397, allocations: 0 / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of Templates: time 0.002449/0.009846, allocations: 0.8044 MB / 0.5609 GB, free: 10.27 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.773548643104732]