Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.302/2.302, allocations: 255 MB / 269.9 MB, free: 9.633 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 197.2 kB / 329.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.469/2.469, allocations: 225.6 MB / 0.6002 GB, free: 2.207 MB / 426.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.0009732/0.0009732, allocations: 91.44 kB / 0.7074 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007771/0.0007775, allocations: 16.59 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2693, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0009415/0.2703, allocations: 306.2 kB / 0.9311 GB, free: 24.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.2707, allocations: 47.84 kB / 0.9311 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.2707, allocations: 4 kB / 0.9311 GB, free: 24.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.2708, allocations: 0 / 0.9311 GB, free: 24.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-06/0.2708, allocations: 0 / 0.9311 GB, free: 24.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.271, allocations: 11.97 kB / 0.9311 GB, free: 24.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.398e-05/0.2711, allocations: 8 kB / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.2712, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.2712, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.2712, allocations: 4 kB / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2713, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.2714, allocations: 8 kB / 0.9312 GB, free: 24.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.2714, allocations: 3.938 kB / 0.9312 GB, free: 24.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.2714, allocations: 29.69 kB / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.197e-05/0.2715, allocations: 4 kB / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2715, allocations: 0 / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2715, allocations: 0 / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2716, allocations: 4 kB / 0.9312 GB, free: 24.7 MB / 0.5886 GB 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.0002778/0.2719, allocations: 319.5 kB / 0.9315 GB, free: 24.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2719, allocations: 8.031 kB / 0.9315 GB, free: 24.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.272, allocations: 0.9375 kB / 0.9315 GB, free: 24.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.2721, allocations: 160.4 kB / 0.9317 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2721, allocations: 384 / 0.9317 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2721, allocations: 8.312 kB / 0.9317 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2723, allocations: 38.25 kB / 0.9317 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2723, allocations: 192 / 0.9317 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2723, allocations: 7.938 kB / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2723, allocations: 0 / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.2724, allocations: 7.938 kB / 0.9317 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.2726, allocations: 149.7 kB / 0.9319 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.2726, allocations: 22.59 kB / 0.9319 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.2727, allocations: 12.86 kB / 0.9319 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.2729, allocations: 85.11 kB / 0.932 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2729, allocations: 34.56 kB / 0.932 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.273, allocations: 0 / 0.932 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/0.2732, allocations: 49.55 kB / 0.9321 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.2732, allocations: 51.41 kB / 0.9321 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.912e-05/0.2732, allocations: 93.86 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2733, allocations: 25.7 kB / 0.9322 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.039e-05/0.2733, allocations: 84.14 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.2733, allocations: 0 / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.2734, allocations: 4.125 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.2735, allocations: 310.8 kB / 0.9326 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.2735, allocations: 3.984 kB / 0.9326 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.2735, allocations: 4 kB / 0.9326 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.2736, allocations: 12 kB / 0.9326 GB, free: 23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2736, allocations: 0 / 0.9326 GB, free: 23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.2737, allocations: 37.64 kB / 0.9327 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2738, allocations: 4 kB / 0.9327 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.2738, allocations: 4.094 kB / 0.9327 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2738, allocations: 7.922 kB / 0.9327 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.2739, allocations: 4 kB / 0.9327 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.2739, allocations: 4 kB / 0.9327 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.274, allocations: 3.906 kB / 0.9327 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.274, allocations: 0 / 0.9327 GB, free: 22.93 MB / 0.5886 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.2741, allocations: 113.8 kB / 0.9328 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.2741, allocations: 0 / 0.9328 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.2743, allocations: 53.03 kB / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2743, allocations: 0 / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2743, allocations: 3.938 kB / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2743, allocations: 0 / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2744, allocations: 157.5 kB / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2745, allocations: 0 / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.2745, allocations: 0 / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2745, allocations: 4 kB / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2746, allocations: 3.938 kB / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2746, allocations: 0 / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2746, allocations: 0 / 0.933 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.2747, allocations: 65.16 kB / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2748, allocations: 77.11 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.2748, allocations: 3.938 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.2748, allocations: 4 kB / 0.9331 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2749, allocations: 4 kB / 0.9332 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2749, allocations: 7.922 kB / 0.9332 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.2749, allocations: 75.28 kB / 0.9332 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2749, allocations: 4.031 kB / 0.9332 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004095/0.2754, allocations: 4 kB / 0.9332 GB, free: 22.26 MB / 0.5886 GB 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 (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.0002095/0.2756, allocations: 111.2 kB / 0.9333 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2757, allocations: 8 kB / 0.9334 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2757, allocations: 0 / 0.9334 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.2758, allocations: 11.98 kB / 0.9334 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2761, allocations: 3.938 kB / 0.9334 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.2763, allocations: 82.83 kB / 0.9334 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2765, allocations: 0.6692 MB / 0.9341 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.2765, allocations: 7.984 kB / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.2765, allocations: 7.438 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.413e-06/0.2766, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.003469/0.28, allocations: 309.8 kB / 0.9344 GB, free: 21 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)