Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004155/0.004155, allocations: 102.3 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 198.3 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.192, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00145/0.1935, allocations: 0.5865 MB / 0.8286 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.1937, allocations: 55.8 kB / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.1937, allocations: 0 / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.1938, allocations: 0 / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1938, allocations: 7.938 kB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1941, allocations: 15.92 kB / 0.8287 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.1942, allocations: 39.89 kB / 0.8288 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.1942, allocations: 4 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.1942, allocations: 8 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.085e-05/0.1943, allocations: 15.97 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1943, allocations: 4 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.1944, allocations: 15.98 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1944, allocations: 4 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.1944, allocations: 23.84 kB / 0.8288 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.1945, allocations: 31.95 kB / 0.8289 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1945, allocations: 3.938 kB / 0.8289 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1945, allocations: 4 kB / 0.8289 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1945, allocations: 4 kB / 0.8289 GB, free: 15.34 MB / 0.6544 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.0003012/0.1948, allocations: 339.4 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1949, allocations: 8.031 kB / 0.8292 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1949, allocations: 4.938 kB / 0.8292 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.195, allocations: 168.3 kB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.195, allocations: 384 / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.195, allocations: 4.375 kB / 0.8294 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1952, allocations: 62.58 kB / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.1952, allocations: 192 / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1952, allocations: 11.94 kB / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1952, allocations: 0 / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1953, allocations: 103.9 kB / 0.8295 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1955, allocations: 177.5 kB / 0.8297 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1956, allocations: 74.59 kB / 0.8298 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.1957, allocations: 28.84 kB / 0.8298 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.196, allocations: 401.5 kB / 0.8302 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.196, allocations: 34.56 kB / 0.8302 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.196, allocations: 0 / 0.8302 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002238/0.1962, allocations: 121.5 kB / 0.8303 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1963, allocations: 51.41 kB / 0.8304 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.707e-05/0.1963, allocations: 97.77 kB / 0.8305 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1963, allocations: 29.92 kB / 0.8305 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.1963, allocations: 80.14 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.1964, allocations: 23.67 kB / 0.8306 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.1964, allocations: 37.7 kB / 0.8307 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.1965, allocations: 322.8 kB / 0.831 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1966, allocations: 23.92 kB / 0.831 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.1966, allocations: 19.98 kB / 0.831 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.1967, allocations: 53.5 kB / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1967, allocations: 0 / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000127/0.1968, allocations: 109.4 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1969, allocations: 6.656 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1969, allocations: 3.938 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1969, allocations: 3.984 kB / 0.8312 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.197, allocations: 23.98 kB / 0.8312 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.197, allocations: 0 / 0.8312 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.197, allocations: 7.938 kB / 0.8312 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.197, allocations: 8 kB / 0.8312 GB, free: 12.63 MB / 0.6544 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 (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 0.0001116/0.1972, allocations: 117.8 kB / 0.8313 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.1972, allocations: 7.906 kB / 0.8313 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1974, allocations: 125.4 kB / 0.8314 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1974, allocations: 8 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1974, allocations: 0 / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1974, allocations: 3.938 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1975, allocations: 169.7 kB / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1975, allocations: 0 / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.1976, allocations: 19.98 kB / 0.8316 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1976, allocations: 3.938 kB / 0.8316 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1976, allocations: 4 kB / 0.8316 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1976, allocations: 0 / 0.8316 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1976, allocations: 3.938 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1978, allocations: 125 kB / 0.8318 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.1978, allocations: 88.98 kB / 0.8319 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1978, allocations: 0 / 0.8319 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.1978, allocations: 0 / 0.8319 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1979, allocations: 11.98 kB / 0.8319 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1979, allocations: 4 kB / 0.8319 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.484e-05/0.1979, allocations: 75.28 kB / 0.8319 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1979, allocations: 3.938 kB / 0.8319 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001968/0.1981, allocations: 16 kB / 0.832 GB, free: 11.76 MB / 0.6544 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 () * 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.0001699/0.1983, allocations: 119.2 kB / 0.8321 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1984, allocations: 55.97 kB / 0.8321 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1985, allocations: 0 / 0.8321 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.1985, allocations: 39.92 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1986, allocations: 4 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.1989, allocations: 156.9 kB / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1992, allocations: 0.6883 MB / 0.833 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.384e-05/0.1993, allocations: 39.8 kB / 0.833 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.1993, allocations: 15.44 kB / 0.833 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of SimCode: time 1.883e-06/0.1993, allocations: 0 / 0.833 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.002513/0.2018, allocations: 0.6219 MB / 0.8337 GB, free: 9.965 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)