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.001782/0.001782, allocations: 85.48 kB / 19.44 MB, free: 344 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.001982/0.001982, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.56/1.56, 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.003244/0.003244, allocations: 242.5 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.184/1.184, allocations: 138.4 MB / 454.7 MB, free: 1.512 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.703e-06/1.703e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.301e-05, allocations: 10.25 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003066/0.003099, allocations: 1.551 MB / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.003534, allocations: 136.3 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.003577, allocations: 3.938 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.003605, allocations: 3.938 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.003659, allocations: 4 kB / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.004021, allocations: 27.91 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.00412, allocations: 43.91 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.004238, allocations: 11.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.004307, allocations: 15.92 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.004365, allocations: 19.97 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.004388, allocations: 4 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.004495, allocations: 19.92 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.004521, allocations: 15.92 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.004552, allocations: 11.98 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.004733, allocations: 47.86 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.004737, allocations: 0 / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004738, allocations: 4 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.004744, allocations: 0 / 0.5562 GB, free: 14.93 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.0006843/0.005428, allocations: 380.1 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.00547, allocations: 12.75 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.005517, allocations: 4.891 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.00565, allocations: 120.6 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.005677, allocations: 8.375 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.005687, allocations: 384 / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.005865, allocations: 58.23 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.005874, allocations: 192 / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.005884, allocations: 4.375 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005888, allocations: 384 / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.006031, allocations: 39.84 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.006457, allocations: 275.7 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.006762, allocations: 59.11 kB / 0.5571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.006838, allocations: 23.67 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.006957, allocations: 11.98 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.006995, allocations: 45.27 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.006996, allocations: 0 / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003251/0.007321, allocations: 81.66 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.007367, allocations: 51.41 kB / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.007507, allocations: 165.9 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.007527, allocations: 33.7 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.007625, allocations: 134.8 kB / 0.5577 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.007649, allocations: 11.95 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.007693, allocations: 19.38 kB / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002678/0.007961, allocations: 0.4884 MB / 0.5582 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.008026, allocations: 12 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.008087, allocations: 23.92 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.008204, allocations: 35.67 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008206, allocations: 0 / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000176/0.008382, allocations: 69.61 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.008395, allocations: 4 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0084, allocations: 0 / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008413, allocations: 0 / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.008489, allocations: 11.98 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.008494, allocations: 0 / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.008541, allocations: 15.89 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.008546, allocations: 0 / 0.5583 GB, free: 12.56 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 0.000126/0.008672, allocations: 160.5 kB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.008705, allocations: 12.25 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.008924, allocations: 73.34 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008926, allocations: 0 / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.008929, allocations: 0 / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008932, allocations: 0 / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.009095, allocations: 124.7 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009096, allocations: 4.25 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.009159, allocations: 11.98 kB / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.009163, allocations: 4 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.009173, allocations: 3.938 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009174, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009175, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.009448, allocations: 219.9 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.009457, allocations: 3.953 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.009473, allocations: 3.938 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.009542, allocations: 7.984 kB / 0.5589 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.009594, allocations: 7.984 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.009604, allocations: 8 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.009676, allocations: 127.1 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009676, allocations: 0 / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.009889, allocations: 8 kB / 0.5591 GB, free: 11.72 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.0001838/0.01007, allocations: 107.2 kB / 0.5592 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.01026, allocations: 39.61 kB / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01027, allocations: 0 / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.673e-05/0.01036, allocations: 31.67 kB / 0.5592 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01059, allocations: 6.922 kB / 0.5592 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01093, allocations: 149.1 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.818e-05/0.011, allocations: 63.34 kB / 0.5594 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.01102, allocations: 0 / 0.5594 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.01105, allocations: 12.5 kB / 0.5595 GB, free: 11.27 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01105, allocations: 0 / 0.5595 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Templates: time 0.003939/0.01499, allocations: 0.8088 MB / 0.5603 GB, free: 10.46 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: 5.848827535985038]