Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0009571/0.0009571, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009851/0.0009851, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.959/0.959, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.005104/0.005104, allocations: 238.1 kB / 260.5 MB, free: 12.91 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.7069/0.7069, allocations: 138.4 MB / 455.4 MB, free: 1.527 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 3.984 kB / 0.5551 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.831e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00129/0.001308, allocations: 0.6001 MB / 0.5557 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.001521, allocations: 51.73 kB / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.001545, allocations: 4 kB / 0.5557 GB, free: 168 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.001582, allocations: 0 / 0.5557 GB, free: 168 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.001588, allocations: 3.938 kB / 0.5557 GB, free: 164 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.001874, allocations: 15.97 kB / 0.5558 GB, free: 148 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.001955, allocations: 31.95 kB / 0.5558 GB, free: 116 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.001993, allocations: 7.984 kB / 0.5558 GB, free: 108 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.002027, allocations: 11.98 kB / 0.5558 GB, free: 96 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.002052, allocations: 15.97 kB / 0.5558 GB, free: 80 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.002066, allocations: 4 kB / 0.5558 GB, free: 76 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.002154, allocations: 19.98 kB / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.002184, allocations: 15.92 kB / 0.5559 GB, free: 40 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.002212, allocations: 7.984 kB / 0.5559 GB, free: 32 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.002333, allocations: 39.89 kB / 0.5559 GB, free: 15.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002335, allocations: 0 / 0.5559 GB, free: 15.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002335, allocations: 0 / 0.5559 GB, free: 15.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.002339, allocations: 3.938 kB / 0.5559 GB, free: 15.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002752/0.002614, allocations: 368.5 kB / 0.5563 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.002653, allocations: 12.75 kB / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.002693, allocations: 4.938 kB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.368e-05/0.002757, allocations: 108.6 kB / 0.5564 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.00277, allocations: 8.375 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.00278, allocations: 384 / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.002892, allocations: 62.17 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.002899, allocations: 192 / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.002908, allocations: 384 / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.002916, allocations: 384 / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.003025, allocations: 87.81 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.003155, allocations: 128.5 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.003246, allocations: 63.16 kB / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.003284, allocations: 31.83 kB / 0.5567 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.003441, allocations: 19.92 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.003467, allocations: 41.39 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.003468, allocations: 0 / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002087/0.003677, allocations: 97.56 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.003706, allocations: 55.39 kB / 0.5569 GB, free: 14.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.003756, allocations: 146.2 kB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.003768, allocations: 29.7 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.003801, allocations: 130.8 kB / 0.5572 GB, free: 14.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.003828, allocations: 19.86 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.003875, allocations: 43.3 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.003991, allocations: 0.4923 MB / 0.5578 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.004016, allocations: 8 kB / 0.5578 GB, free: 13.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.004044, allocations: 15.92 kB / 0.5578 GB, free: 13.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.004122, allocations: 43.69 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.004125, allocations: 0 / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001103/0.004235, allocations: 81.56 kB / 0.5579 GB, free: 13.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.004246, allocations: 4 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00425, allocations: 0 / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004262, allocations: 4 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.004344, allocations: 23.92 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.004349, allocations: 4 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.004369, allocations: 11.88 kB / 0.558 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.004376, allocations: 4 kB / 0.558 GB, free: 13.67 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.61e-05/0.004452, allocations: 164.6 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.004466, allocations: 11.95 kB / 0.5581 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.004619, allocations: 101.6 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004621, allocations: 0 / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.004624, allocations: 0 / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.004629, allocations: 11.88 kB / 0.5583 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.33e-05/0.004712, allocations: 140.4 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.004714, allocations: 4 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.004762, allocations: 19.98 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004763, allocations: 0 / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.004771, allocations: 4 kB / 0.5584 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004772, allocations: 0 / 0.5584 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004773, allocations: 0 / 0.5584 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.004895, allocations: 121.2 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.004903, allocations: 7.953 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.004914, allocations: 3.938 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.004924, allocations: 0 / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.004964, allocations: 19.92 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.00497, allocations: 4 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.004999, allocations: 119.2 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005, allocations: 0 / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.005197, allocations: 19.98 kB / 0.5587 GB, free: 12.86 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001215/0.005318, allocations: 106.7 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.005434, allocations: 63.64 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005436, allocations: 0 / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.005476, allocations: 39.67 kB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.005604, allocations: 7.984 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.005831, allocations: 144.7 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.005865, allocations: 64.31 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.005929, allocations: 31.94 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.005956, allocations: 20.5 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005956, allocations: 0 / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of Templates: time 0.002339/0.008295, allocations: 0.605 MB / 0.5597 GB, free: 11.73 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6144204779993743]