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.001475/0.001475, allocations: 106.8 kB / 16.41 MB, free: 6.434 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.001648/0.001648, allocations: 197.4 kB / 17.34 MB, free: 5.742 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7285/0.7285, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.19 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 76.17 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002334/0.1487, allocations: 1.522 MB / 0.6336 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.149, allocations: 136.4 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1491, allocations: 0 / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.1491, allocations: 3.938 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.1491, allocations: 7.922 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1494, allocations: 35.92 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.1495, allocations: 39.89 kB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.1496, allocations: 15.98 kB / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.1496, allocations: 15.92 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.1497, allocations: 19.92 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1497, allocations: 4 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.1498, allocations: 19.98 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.1498, allocations: 7.984 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1498, allocations: 19.92 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1499, allocations: 51.75 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1499, allocations: 0 / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1499, allocations: 0 / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.15, allocations: 0 / 0.6339 GB, free: 2.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004225/0.1504, allocations: 355.4 kB / 0.6343 GB, free: 2.102 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1504, allocations: 8.031 kB / 0.6343 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.1505, allocations: 4.938 kB / 0.6343 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.1506, allocations: 164.3 kB / 0.6344 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1506, allocations: 4.375 kB / 0.6344 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1506, allocations: 4.375 kB / 0.6344 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1508, allocations: 62.22 kB / 0.6345 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1508, allocations: 192 / 0.6345 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1508, allocations: 11.94 kB / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1508, allocations: 0 / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.151, allocations: 43.89 kB / 0.6346 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1514, allocations: 284.7 kB / 0.6348 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.1517, allocations: 58.48 kB / 0.6349 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.1518, allocations: 28.89 kB / 0.6349 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.1521, allocations: 405.5 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1521, allocations: 34.56 kB / 0.6353 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1521, allocations: 0 / 0.6353 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000363/0.1525, allocations: 89.62 kB / 0.6354 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1525, allocations: 55.41 kB / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.1526, allocations: 117.8 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1526, allocations: 25.7 kB / 0.6356 GB, free: 500 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.1526, allocations: 96.2 kB / 0.6357 GB, free: 400 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.1527, allocations: 3.906 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1527, allocations: 17.7 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.1528, allocations: 318.8 kB / 0.636 GB, free: 44 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.1529, allocations: 19.98 kB / 0.636 GB, free: 24 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.153, allocations: 23.91 kB / 0.6361 GB, free: 0 / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1532, allocations: 48.81 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1532, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002097/0.1534, allocations: 77.56 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1534, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1534, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1534, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.1535, allocations: 7.984 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1535, allocations: 4 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.1536, allocations: 11.98 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1536, allocations: 0 / 0.6362 GB, free: 15.84 MB / 494.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 (falFac.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.1537, allocations: 117.7 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1537, allocations: 4.328 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.154, allocations: 85.53 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.154, allocations: 4 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.154, allocations: 4 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.154, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1542, allocations: 169.6 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1542, allocations: 0 / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.1542, allocations: 11.98 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1543, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1543, allocations: 3.984 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1543, allocations: 0 / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1543, allocations: 0 / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1545, allocations: 183.3 kB / 0.6368 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1546, allocations: 85.05 kB / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1546, allocations: 3.984 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.1547, allocations: 7.938 kB / 0.6369 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1547, allocations: 7.922 kB / 0.6369 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1547, allocations: 4 kB / 0.6369 GB, free: 15.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.1548, allocations: 83.28 kB / 0.637 GB, free: 14.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1548, allocations: 4 kB / 0.637 GB, free: 14.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000229/0.155, allocations: 16 kB / 0.637 GB, free: 14.95 MB / 494.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 (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.0001359/0.1552, allocations: 103.2 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1554, allocations: 47.89 kB / 0.6371 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1554, allocations: 0 / 0.6371 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1555, allocations: 27.97 kB / 0.6371 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1558, allocations: 11.94 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1561, allocations: 113.5 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1563, allocations: 0.6807 MB / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.029e-05/0.1563, allocations: 4 kB / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.1563, allocations: 15.42 kB / 0.6379 GB, free: 13.89 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1564, allocations: 4 kB / 0.6379 GB, free: 13.89 MB / 494.1 MB Notification: Performance of Templates: time 0.002698/0.1591, allocations: 0.7662 MB / 0.6387 GB, free: 13.12 MB / 494.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)