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.0012/0.0012, allocations: 114.4 kB / 17.08 MB, free: 6 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.001184/0.001184, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.294/1.294, 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.7346/0.7346, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.36 kB / 0.5584 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 76.18 MB / 0.6328 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001802/0.1489, allocations: 0.565 MB / 0.6333 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.1493, allocations: 55.78 kB / 0.6334 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.1493, allocations: 0 / 0.6334 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.1493, allocations: 3.938 kB / 0.6334 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.1494, allocations: 4 kB / 0.6334 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1497, allocations: 23.92 kB / 0.6334 GB, free: 3.844 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.1498, allocations: 27.97 kB / 0.6334 GB, free: 3.816 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.1499, allocations: 0 / 0.6334 GB, free: 3.816 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.1499, allocations: 15.98 kB / 0.6335 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.449e-05/0.1499, allocations: 15.92 kB / 0.6335 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1499, allocations: 0 / 0.6335 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.15, allocations: 15.98 kB / 0.6335 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1501, allocations: 11.98 kB / 0.6335 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.1501, allocations: 11.94 kB / 0.6335 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1503, allocations: 39.86 kB / 0.6335 GB, free: 3.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1503, allocations: 4 kB / 0.6335 GB, free: 3.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1503, allocations: 0 / 0.6335 GB, free: 3.703 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1503, allocations: 0 / 0.6335 GB, free: 3.703 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.0003731/0.1507, allocations: 331.6 kB / 0.6339 GB, free: 3.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1507, allocations: 12.03 kB / 0.6339 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1508, allocations: 8.844 kB / 0.6339 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.1509, allocations: 176.2 kB / 0.6341 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1509, allocations: 384 / 0.6341 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1509, allocations: 8.312 kB / 0.6341 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1511, allocations: 62.58 kB / 0.6341 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1511, allocations: 192 / 0.6341 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1511, allocations: 7.938 kB / 0.6341 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1511, allocations: 4 kB / 0.6341 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1513, allocations: 99.86 kB / 0.6342 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.1514, allocations: 169.7 kB / 0.6344 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1516, allocations: 78.47 kB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.1516, allocations: 24.84 kB / 0.6345 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.152, allocations: 409.5 kB / 0.6349 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.152, allocations: 34.56 kB / 0.6349 GB, free: 2.051 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.152, allocations: 0 / 0.6349 GB, free: 2.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002771/0.1523, allocations: 125.7 kB / 0.635 GB, free: 1.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1524, allocations: 55.41 kB / 0.6351 GB, free: 1.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.1524, allocations: 89.86 kB / 0.6352 GB, free: 1.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1524, allocations: 25.7 kB / 0.6352 GB, free: 1.727 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.1525, allocations: 88.14 kB / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1525, allocations: 23.66 kB / 0.6353 GB, free: 1.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.1526, allocations: 33.7 kB / 0.6353 GB, free: 1.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1527, allocations: 326.8 kB / 0.6356 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.1527, allocations: 19.98 kB / 0.6357 GB, free: 1.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.1528, allocations: 23.92 kB / 0.6357 GB, free: 1.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.803e-05/0.1529, allocations: 57.44 kB / 0.6357 GB, free: 1.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1529, allocations: 0 / 0.6357 GB, free: 1.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001464/0.153, allocations: 97.59 kB / 0.6358 GB, free: 1.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1531, allocations: 4 kB / 0.6358 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1531, allocations: 7.938 kB / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1531, allocations: 0 / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1532, allocations: 20 kB / 0.6359 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1532, allocations: 0 / 0.6359 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.1533, allocations: 11.83 kB / 0.6359 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1533, allocations: 4 kB / 0.6359 GB, free: 0.9961 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.0001542/0.1534, allocations: 125 kB / 0.636 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.1535, allocations: 7.984 kB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.1537, allocations: 125.4 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1537, allocations: 0 / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1537, allocations: 0 / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1537, allocations: 0 / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1539, allocations: 185.5 kB / 0.6363 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1539, allocations: 0 / 0.6363 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.1539, allocations: 16 kB / 0.6363 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1539, allocations: 3.938 kB / 0.6363 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.154, allocations: 3.984 kB / 0.6363 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.154, allocations: 0 / 0.6363 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.154, allocations: 8 kB / 0.6363 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1542, allocations: 121 kB / 0.6364 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1543, allocations: 92.88 kB / 0.6365 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1543, allocations: 8 kB / 0.6365 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.1543, allocations: 0 / 0.6365 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1544, allocations: 7.984 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1544, allocations: 8 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.835e-05/0.1544, allocations: 79.28 kB / 0.6366 GB, free: 116 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 0 / 0.6366 GB, free: 116 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1547, allocations: 8 kB / 0.6366 GB, free: 108 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.0002573/0.1549, allocations: 111.2 kB / 0.6367 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1551, allocations: 63.83 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1552, allocations: 4 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.1552, allocations: 35.92 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.1554, allocations: 10.03 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.1557, allocations: 175.4 kB / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1561, allocations: 0.6884 MB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.1561, allocations: 15.44 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1561, allocations: 0 / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Templates: time 0.002526/0.1587, allocations: 0.9558 MB / 0.6386 GB, free: 13.99 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)