Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008763/0.0008764, allocations: 182.3 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4869/0.4869, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 225.7 MB / 353.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007415/0.0007415, allocations: 94.91 kB / 425.4 MB, free: 6.684 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002831, allocations: 12 kB / 0.4955 GB, free: 4.559 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2676, allocations: 71.34 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.000548/0.2682, allocations: 299.9 kB / 0.5655 GB, free: 42.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.2684, allocations: 125.6 kB / 0.5656 GB, free: 41.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-06/0.2684, allocations: 4.625 kB / 0.5656 GB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.2685, allocations: 0 / 0.5656 GB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.2685, allocations: 1.25 kB / 0.5656 GB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.2686, allocations: 8 kB / 0.5656 GB, free: 41.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.596e-05/0.2687, allocations: 7.984 kB / 0.5656 GB, free: 41.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.2687, allocations: 1.5 kB / 0.5656 GB, free: 41.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.2687, allocations: 7.938 kB / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.2688, allocations: 3.938 kB / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.2688, allocations: 0 / 0.5656 GB, free: 41.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.2688, allocations: 13.17 kB / 0.5657 GB, free: 41.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.2689, allocations: 0 / 0.5657 GB, free: 41.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.2689, allocations: 25.7 kB / 0.5657 GB, free: 41.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.269, allocations: 11.97 kB / 0.5657 GB, free: 41.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.269, allocations: 0.5 kB / 0.5657 GB, free: 41.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.269, allocations: 0.625 kB / 0.5657 GB, free: 41.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.269, allocations: 4 kB / 0.5657 GB, free: 41.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000186/0.2692, allocations: 309.1 kB / 0.566 GB, free: 41.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2692, allocations: 16.03 kB / 0.566 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.2692, allocations: 5.688 kB / 0.566 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.554e-05/0.2693, allocations: 164.4 kB / 0.5662 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2693, allocations: 3.625 kB / 0.5662 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.2693, allocations: 384 / 0.5662 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.065e-05/0.2694, allocations: 30.27 kB / 0.5662 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.2694, allocations: 192 / 0.5662 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.2694, allocations: 3.938 kB / 0.5662 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2694, allocations: 0 / 0.5662 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.2695, allocations: 8 kB / 0.5662 GB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.417e-05/0.2696, allocations: 150.3 kB / 0.5664 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/0.2696, allocations: 29.45 kB / 0.5664 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.2696, allocations: 4.859 kB / 0.5664 GB, free: 41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2697, allocations: 85.16 kB / 0.5665 GB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/0.2697, allocations: 30.56 kB / 0.5665 GB, free: 40.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.2698, allocations: 0 / 0.5665 GB, free: 40.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001044/0.2699, allocations: 52.77 kB / 0.5666 GB, free: 40.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.2699, allocations: 59.33 kB / 0.5666 GB, free: 40.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.632e-05/0.2699, allocations: 89.86 kB / 0.5667 GB, free: 40.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.2699, allocations: 25.7 kB / 0.5667 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-06/0.2699, allocations: 80.14 kB / 0.5668 GB, free: 40.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.27, allocations: 0 / 0.5668 GB, free: 40.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.27, allocations: 4 kB / 0.5668 GB, free: 40.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.27, allocations: 319 kB / 0.5671 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.27, allocations: 0 / 0.5671 GB, free: 40.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.27, allocations: 0 / 0.5671 GB, free: 40.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.2701, allocations: 16.86 kB / 0.5671 GB, free: 40.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2701, allocations: 0 / 0.5671 GB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.508e-05/0.2701, allocations: 37.69 kB / 0.5672 GB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.2701, allocations: 7.938 kB / 0.5672 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2701, allocations: 0 / 0.5672 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2701, allocations: 11.97 kB / 0.5672 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.2702, allocations: 4 kB / 0.5672 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2702, allocations: 0 / 0.5672 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.2702, allocations: 0 / 0.5672 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.2702, allocations: 3.984 kB / 0.5672 GB, free: 40.11 MB / 410.7 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.652e-05/0.2703, allocations: 113.8 kB / 0.5673 GB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.2703, allocations: 3.938 kB / 0.5673 GB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.2704, allocations: 50.86 kB / 0.5673 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2704, allocations: 8.016 kB / 0.5674 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2704, allocations: 0 / 0.5674 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.2704, allocations: 0 / 0.5674 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.238e-05/0.2704, allocations: 145.7 kB / 0.5675 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2704, allocations: 0 / 0.5675 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.2705, allocations: 7.938 kB / 0.5675 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2705, allocations: 3.984 kB / 0.5675 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.2705, allocations: 3.938 kB / 0.5675 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2705, allocations: 0 / 0.5675 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2705, allocations: 4 kB / 0.5675 GB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.532e-05/0.2705, allocations: 65.05 kB / 0.5676 GB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.2706, allocations: 81.09 kB / 0.5677 GB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.2706, allocations: 7.938 kB / 0.5677 GB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.2706, allocations: 0 / 0.5677 GB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.2706, allocations: 0 / 0.5677 GB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.2706, allocations: 0 / 0.5677 GB, free: 39.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.788e-06/0.2706, allocations: 77.88 kB / 0.5677 GB, free: 39.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 0 / 0.5677 GB, free: 39.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.2709, allocations: 12.03 kB / 0.5677 GB, free: 39.44 MB / 410.7 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 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001012/0.271, allocations: 111.2 kB / 0.5678 GB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.362e-05/0.271, allocations: 11.94 kB / 0.5679 GB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.271, allocations: 0 / 0.5679 GB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.155e-05/0.271, allocations: 4 kB / 0.5679 GB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.2712, allocations: 3.906 kB / 0.5679 GB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.2713, allocations: 92.53 kB / 0.568 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.638e-05/0.2714, allocations: 0.6692 MB / 0.5686 GB, free: 38.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.231e-05/0.2714, allocations: 4 kB / 0.5686 GB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-06/0.2714, allocations: 7.438 kB / 0.5686 GB, free: 38.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2714, allocations: 0 / 0.5686 GB, free: 38.48 MB / 410.7 MB Notification: Performance of Templates: time 0.001615/0.273, allocations: 316.6 kB / 0.5689 GB, free: 38.17 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)