Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 96.73 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 175 kB / 16.57 MB, free: 6.801 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.302/1.302, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6546/0.6546, allocations: 113.8 MB / 405.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003148, allocations: 12 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001677/0.1431, allocations: 1.229 MB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00035/0.1434, allocations: 116.6 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.1435, allocations: 11.88 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.1435, allocations: 0 / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.1435, allocations: 3.984 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1438, allocations: 23.97 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.1439, allocations: 19.92 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.144, allocations: 15.98 kB / 0.5582 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.144, allocations: 11.98 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.144, allocations: 15.91 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1441, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.1441, allocations: 12 kB / 0.5583 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1441, allocations: 11.92 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1442, allocations: 29.7 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.1443, allocations: 27.95 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1443, allocations: 0 / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1443, allocations: 4 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1443, allocations: 3.938 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004292/0.1447, allocations: 347.5 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1448, allocations: 12.02 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.1448, allocations: 4 kB / 0.5587 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1449, allocations: 175 kB / 0.5588 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1449, allocations: 0 / 0.5588 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.145, allocations: 4 kB / 0.5588 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1452, allocations: 73.59 kB / 0.5589 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1452, allocations: 3.953 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1452, allocations: 0 / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1452, allocations: 0 / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1454, allocations: 59.95 kB / 0.559 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1458, allocations: 276.7 kB / 0.5592 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.1461, allocations: 70.47 kB / 0.5593 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.1464, allocations: 397.7 kB / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1464, allocations: 38.56 kB / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1464, allocations: 0 / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003778/0.1468, allocations: 105.6 kB / 0.5598 GB, free: 8.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1469, allocations: 63.28 kB / 0.5599 GB, free: 8.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.1469, allocations: 113.8 kB / 0.56 GB, free: 8.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.147, allocations: 25.7 kB / 0.56 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.147, allocations: 84.14 kB / 0.5601 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1471, allocations: 11.91 kB / 0.5601 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1471, allocations: 0 / 0.5601 GB, free: 7.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.1472, allocations: 314.8 kB / 0.5604 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.1473, allocations: 23.98 kB / 0.5604 GB, free: 7.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.1474, allocations: 27.97 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/0.1475, allocations: 27.98 kB / 0.5605 GB, free: 7.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1475, allocations: 0 / 0.5605 GB, free: 7.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002329/0.1477, allocations: 89.55 kB / 0.5606 GB, free: 7.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1477, allocations: 10.03 kB / 0.5606 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1478, allocations: 4 kB / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1478, allocations: 0 / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.1479, allocations: 15.92 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.1479, allocations: 0 / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.1479, allocations: 15.98 kB / 0.5606 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.148, allocations: 0 / 0.5606 GB, free: 7.398 MB / 430.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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.272e-05/0.148, allocations: 113.8 kB / 0.5607 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1481, allocations: 7.859 kB / 0.5607 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1483, allocations: 93.55 kB / 0.5608 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1484, allocations: 384 / 0.5608 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1484, allocations: 8 kB / 0.5608 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1484, allocations: 3.984 kB / 0.5608 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1485, allocations: 165.7 kB / 0.561 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1486, allocations: 3.984 kB / 0.561 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.1486, allocations: 11.98 kB / 0.561 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1487, allocations: 7.891 kB / 0.561 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1487, allocations: 4 kB / 0.561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1487, allocations: 4 kB / 0.561 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1487, allocations: 0 / 0.561 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.149, allocations: 175.5 kB / 0.5612 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.149, allocations: 85 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.149, allocations: 7.953 kB / 0.5613 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.1491, allocations: 8 kB / 0.5613 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1492, allocations: 11.98 kB / 0.5613 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1492, allocations: 0 / 0.5613 GB, free: 6.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.1492, allocations: 87.27 kB / 0.5614 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1492, allocations: 0 / 0.5614 GB, free: 6.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1495, allocations: 12 kB / 0.5614 GB, free: 6.5 MB / 430.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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001442/0.1496, allocations: 103.9 kB / 0.5615 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1499, allocations: 63.83 kB / 0.5616 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1499, allocations: 4 kB / 0.5616 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.15, allocations: 23.97 kB / 0.5616 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1502, allocations: 14.52 kB / 0.5616 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.1504, allocations: 128.6 kB / 0.5617 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1507, allocations: 0.6848 MB / 0.5624 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.978e-05/0.1507, allocations: 4 kB / 0.5624 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1508, allocations: 11.44 kB / 0.5624 GB, free: 5.414 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1508, allocations: 0 / 0.5624 GB, free: 5.414 MB / 430.1 MB Notification: Performance of Templates: time 0.002572/0.1534, allocations: 0.6467 MB / 0.563 GB, free: 4.773 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)