Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001188/0.001189, allocations: 115.7 kB / 17.05 MB, free: 6.039 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.00111/0.00111, allocations: 188 kB / 17.99 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7074/0.7074, allocations: 115.3 MB / 407.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.92 kB / 0.5583 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 76.17 MB / 0.6327 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001637/0.1486, allocations: 0.5572 MB / 0.6332 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.1489, allocations: 63.77 kB / 0.6333 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.149, allocations: 0 / 0.6333 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.149, allocations: 0 / 0.6333 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.149, allocations: 4 kB / 0.6333 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1493, allocations: 19.92 kB / 0.6333 GB, free: 3.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.1494, allocations: 27.97 kB / 0.6333 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1494, allocations: 7.938 kB / 0.6333 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.1495, allocations: 11.98 kB / 0.6333 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.432e-05/0.1495, allocations: 8 kB / 0.6333 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1495, allocations: 0 / 0.6333 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.1496, allocations: 19.97 kB / 0.6334 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.1496, allocations: 15.98 kB / 0.6334 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1497, allocations: 11.94 kB / 0.6334 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.234e-05/0.1498, allocations: 35.89 kB / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1498, allocations: 0 / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1498, allocations: 3.938 kB / 0.6334 GB, free: 3.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1498, allocations: 0 / 0.6334 GB, free: 3.68 MB / 478.1 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.0003394/0.1501, allocations: 339.5 kB / 0.6337 GB, free: 3.297 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1502, allocations: 12.03 kB / 0.6338 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1502, allocations: 8.781 kB / 0.6338 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.1503, allocations: 164.3 kB / 0.6339 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1503, allocations: 8.375 kB / 0.6339 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1504, allocations: 4.375 kB / 0.6339 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1505, allocations: 66.56 kB / 0.634 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1505, allocations: 192 / 0.634 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1505, allocations: 3.938 kB / 0.634 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1506, allocations: 0 / 0.634 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1507, allocations: 103.8 kB / 0.6341 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.1509, allocations: 169.7 kB / 0.6343 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.151, allocations: 74.59 kB / 0.6343 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.151, allocations: 32.84 kB / 0.6344 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.1513, allocations: 409.5 kB / 0.6348 GB, free: 2.066 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1514, allocations: 34.56 kB / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1514, allocations: 0 / 0.6348 GB, free: 2.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002224/0.1516, allocations: 117.4 kB / 0.6349 GB, free: 1.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1517, allocations: 55.41 kB / 0.6349 GB, free: 1.836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.799e-05/0.1517, allocations: 93.86 kB / 0.635 GB, free: 1.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1517, allocations: 25.7 kB / 0.6351 GB, free: 1.703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.1518, allocations: 84.36 kB / 0.6351 GB, free: 1.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1518, allocations: 27.64 kB / 0.6352 GB, free: 1.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1518, allocations: 41.64 kB / 0.6352 GB, free: 1.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.1519, allocations: 310.8 kB / 0.6355 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.152, allocations: 19.98 kB / 0.6355 GB, free: 1.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.152, allocations: 28.36 kB / 0.6356 GB, free: 1.184 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.1521, allocations: 56.83 kB / 0.6356 GB, free: 1.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1521, allocations: 4 kB / 0.6356 GB, free: 1.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001223/0.1523, allocations: 97.55 kB / 0.6357 GB, free: 1.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1523, allocations: 12 kB / 0.6357 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1523, allocations: 3.938 kB / 0.6357 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1523, allocations: 0 / 0.6357 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.1524, allocations: 19.98 kB / 0.6357 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1524, allocations: 0 / 0.6357 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.1524, allocations: 3.906 kB / 0.6357 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1525, allocations: 4 kB / 0.6357 GB, free: 0.9766 MB / 478.1 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 0.000119/0.1526, allocations: 125.8 kB / 0.6359 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1526, allocations: 4 kB / 0.6359 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1528, allocations: 133.4 kB / 0.636 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1528, allocations: 0 / 0.636 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1528, allocations: 0 / 0.636 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1528, allocations: 0 / 0.636 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.153, allocations: 177.5 kB / 0.6362 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.153, allocations: 4 kB / 0.6362 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.153, allocations: 19.98 kB / 0.6362 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1531, allocations: 11.92 kB / 0.6362 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1531, allocations: 3.938 kB / 0.6362 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1531, allocations: 4 kB / 0.6362 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1531, allocations: 0 / 0.6362 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1532, allocations: 117.1 kB / 0.6363 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1533, allocations: 88.89 kB / 0.6364 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1533, allocations: 4 kB / 0.6364 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.1533, allocations: 0 / 0.6364 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1533, allocations: 11.98 kB / 0.6364 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1534, allocations: 0 / 0.6364 GB, free: 180 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.251e-05/0.1534, allocations: 79.28 kB / 0.6365 GB, free: 100 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.1534, allocations: 0 / 0.6365 GB, free: 100 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.1536, allocations: 19.94 kB / 0.6365 GB, free: 80 kB / 478.1 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.0001655/0.1538, allocations: 115.2 kB / 0.6366 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1539, allocations: 56.52 kB / 0.6367 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1539, allocations: 0 / 0.6367 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.154, allocations: 39.91 kB / 0.6367 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1541, allocations: 12.44 kB / 0.6367 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.1544, allocations: 178.6 kB / 0.6369 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1546, allocations: 0.6807 MB / 0.6376 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1546, allocations: 19.42 kB / 0.6376 GB, free: 14.92 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1546, allocations: 0 / 0.6376 GB, free: 14.92 MB / 494.1 MB Notification: Performance of Templates: time 0.002323/0.157, allocations: 0.9519 MB / 0.6385 GB, free: 13.97 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)