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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7581/0.7581, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001006, allocations: 179.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009578, allocations: 95.28 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 276.5 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.698e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.5448, allocations: 107.9 MB / 0.8696 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5451, allocations: 75.83 kB / 0.8697 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001833/0.547, allocations: 0.827 MB / 0.8705 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.345e-06/0.547, allocations: 0 / 0.8705 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.547, allocations: 4 kB / 0.8705 GB, free: 15.77 MB / 0.5417 GB 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.0002998/0.5473, allocations: 327.9 kB / 0.8708 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5474, allocations: 8.625 kB / 0.8708 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.5474, allocations: 7.906 kB / 0.8709 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5475, allocations: 162.6 kB / 0.871 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.5476, allocations: 7.953 kB / 0.871 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.5476, allocations: 4 kB / 0.871 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.5477, allocations: 69.55 kB / 0.8711 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5478, allocations: 0 / 0.8711 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5478, allocations: 0 / 0.8711 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5478, allocations: 0 / 0.8711 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.548, allocations: 103.9 kB / 0.8712 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.5482, allocations: 177.7 kB / 0.8714 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.5483, allocations: 70.5 kB / 0.8714 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.5484, allocations: 41.06 kB / 0.8715 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/0.5487, allocations: 401.5 kB / 0.8718 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5488, allocations: 30.56 kB / 0.8719 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.5488, allocations: 0 / 0.8719 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0002274/0.549, allocations: 85.67 kB / 0.872 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5491, allocations: 55.41 kB / 0.872 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.5491, allocations: 100.9 kB / 0.8721 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.5492, allocations: 25.7 kB / 0.8721 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.5492, allocations: 80.33 kB / 0.8722 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.5492, allocations: 23.73 kB / 0.8722 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5492, allocations: 0 / 0.8722 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5494, allocations: 318.8 kB / 0.8725 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.5494, allocations: 19.98 kB / 0.8726 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.5495, allocations: 19.94 kB / 0.8726 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.5495, allocations: 31.97 kB / 0.8726 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5496, allocations: 0 / 0.8726 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001299/0.5497, allocations: 97.78 kB / 0.8727 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5497, allocations: 9.203 kB / 0.8727 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5497, allocations: 0 / 0.8727 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5497, allocations: 4 kB / 0.8727 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5498, allocations: 15.98 kB / 0.8727 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.5499, allocations: 0 / 0.8727 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.5499, allocations: 4 kB / 0.8727 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.5499, allocations: 4 kB / 0.8727 GB, free: 13.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.973e-05/0.55, allocations: 123.2 kB / 0.8728 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.55, allocations: 3.906 kB / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.5503, allocations: 129.1 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5503, allocations: 0 / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5503, allocations: 0 / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5503, allocations: 0 / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.5504, allocations: 177.7 kB / 0.8731 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5504, allocations: 0 / 0.8731 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.5505, allocations: 23.92 kB / 0.8732 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5505, allocations: 3.938 kB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5505, allocations: 0 / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.5505, allocations: 3.953 kB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5506, allocations: 0 / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.5507, allocations: 117.5 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.5508, allocations: 81.02 kB / 0.8734 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5508, allocations: 11.94 kB / 0.8734 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.5508, allocations: 4 kB / 0.8734 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.5509, allocations: 11.94 kB / 0.8734 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5509, allocations: 11.92 kB / 0.8734 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.5509, allocations: 79.22 kB / 0.8735 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5509, allocations: 0 / 0.8735 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001896/0.5511, allocations: 23.94 kB / 0.8735 GB, free: 12.33 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.5514, allocations: 115.2 kB / 0.8736 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.5515, allocations: 55.98 kB / 0.8737 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5515, allocations: 0 / 0.8737 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.5516, allocations: 39.86 kB / 0.8737 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.633e-05/0.5517, allocations: 0 / 0.8737 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.5519, allocations: 104.9 kB / 0.8738 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.5522, allocations: 0.6858 MB / 0.8745 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.5523, allocations: 36.42 kB / 0.8745 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.5523, allocations: 19.42 kB / 0.8745 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of SimCode: time 1.764e-06/0.5523, allocations: 0 / 0.8745 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.002445/0.5548, allocations: 0.5691 MB / 0.8751 GB, free: 10.66 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)