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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 104.6 kB / 16.4 MB, free: 6.492 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.0014/0.001401, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.887/1.887, allocations: 222.9 MB / 241 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.7929/0.7929, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.95 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003731/0.1671, allocations: 1.52 MB / 0.6331 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005838/0.1677, allocations: 132.5 kB / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.1679, allocations: 0 / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.1679, allocations: 3.938 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.168, allocations: 7.922 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.1685, allocations: 27.92 kB / 0.6332 GB, free: 3.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1686, allocations: 47.84 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1687, allocations: 11.98 kB / 0.6333 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.1688, allocations: 19.92 kB / 0.6333 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.1689, allocations: 15.92 kB / 0.6333 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1689, allocations: 4 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.169, allocations: 15.98 kB / 0.6334 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.169, allocations: 11.98 kB / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.1691, allocations: 19.92 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1693, allocations: 47.83 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1693, allocations: 0 / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1693, allocations: 0 / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1693, allocations: 0 / 0.6334 GB, free: 3.02 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.000715/0.1701, allocations: 350.3 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.1701, allocations: 12.03 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.1702, allocations: 30.75 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1703, allocations: 4.938 kB / 0.6338 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1705, allocations: 173.1 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.1705, allocations: 12.36 kB / 0.634 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1706, allocations: 4.375 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.1709, allocations: 58.23 kB / 0.634 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1709, allocations: 3.938 kB / 0.634 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1709, allocations: 7.984 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.171, allocations: 0 / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.1713, allocations: 43.95 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.1719, allocations: 288.6 kB / 0.6344 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.1724, allocations: 54.55 kB / 0.6344 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1725, allocations: 28.89 kB / 0.6345 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/0.173, allocations: 397.5 kB / 0.6348 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.173, allocations: 34.56 kB / 0.6349 GB, free: 1.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.173, allocations: 0 / 0.6349 GB, free: 1.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005509/0.1736, allocations: 97.56 kB / 0.635 GB, free: 1.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1737, allocations: 55.41 kB / 0.635 GB, free: 1.117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1738, allocations: 109.8 kB / 0.6351 GB, free: 1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1738, allocations: 29.64 kB / 0.6351 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1739, allocations: 96.08 kB / 0.6352 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1739, allocations: 3.906 kB / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.174, allocations: 21.7 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1742, allocations: 314.8 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1743, allocations: 27.97 kB / 0.6356 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1744, allocations: 19.98 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.1747, allocations: 48.81 kB / 0.6356 GB, free: 432 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1748, allocations: 0 / 0.6356 GB, free: 432 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004556/0.1752, allocations: 77.5 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1753, allocations: 4 kB / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1753, allocations: 0 / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.1753, allocations: 4 kB / 0.6357 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1754, allocations: 7.984 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1754, allocations: 4 kB / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.1755, allocations: 15.98 kB / 0.6358 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1755, allocations: 0 / 0.6358 GB, free: 312 kB / 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: 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 0.0001257/0.1757, allocations: 109.8 kB / 0.6359 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.1757, allocations: 4 kB / 0.6359 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.1761, allocations: 85.48 kB / 0.6359 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1762, allocations: 4 kB / 0.636 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1762, allocations: 4 kB / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1762, allocations: 384 / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.1765, allocations: 173.6 kB / 0.6361 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1765, allocations: 0 / 0.6361 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1766, allocations: 11.98 kB / 0.6361 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1767, allocations: 0 / 0.6361 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1767, allocations: 4 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1767, allocations: 0 / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.1767, allocations: 3.984 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.1772, allocations: 179.3 kB / 0.6363 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1773, allocations: 89.03 kB / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1773, allocations: 0 / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1774, allocations: 4 kB / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.1775, allocations: 11.92 kB / 0.6364 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1776, allocations: 4 kB / 0.6364 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.1776, allocations: 91.27 kB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1777, allocations: 0 / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.178, allocations: 8 kB / 0.6365 GB, free: 15.43 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.0009009/0.1789, allocations: 0.7123 MB / 0.6372 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.1793, allocations: 47.89 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1793, allocations: 3.938 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1794, allocations: 23.98 kB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1798, allocations: 15.98 kB / 0.6373 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1819, allocations: 1.276 MB / 0.6385 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1823, allocations: 0.6807 MB / 0.6392 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.1824, allocations: 0 / 0.6392 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.1825, allocations: 23.36 kB / 0.6392 GB, free: 12.51 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1825, allocations: 0 / 0.6392 GB, free: 12.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.712/0.8946, allocations: 1.718 MB / 0.6409 GB, free: 10.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.4, allocations: 8.688 kB / 0.6409 GB, free: 10.87 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)