Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.414/2.414, allocations: 255 MB / 269.9 MB, free: 9.641 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.001338/0.001338, allocations: 188.6 kB / 329.5 MB, free: 1.16 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.732/2.732, allocations: 225.6 MB / 0.6001 GB, free: 2.246 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.0009214/0.0009211, allocations: 101.6 kB / 0.7074 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006376, allocations: 12.38 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2205, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001769/0.2224, allocations: 1.218 MB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003555/0.2227, allocations: 112.6 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2228, allocations: 0 / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.2228, allocations: 11.86 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.2229, allocations: 4 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.2231, allocations: 15.97 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.2232, allocations: 23.92 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2233, allocations: 12 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.2233, allocations: 11.92 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.2234, allocations: 15.98 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.2234, allocations: 0 / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.2235, allocations: 7.984 kB / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.2235, allocations: 7.938 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.2235, allocations: 29.7 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.395e-05/0.2236, allocations: 27.89 kB / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2236, allocations: 0 / 0.9322 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2236, allocations: 8 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2236, allocations: 0 / 0.9322 GB, free: 23.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000447/0.2241, allocations: 343.7 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2241, allocations: 8.031 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.2242, allocations: 8.844 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.2243, allocations: 160.4 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2243, allocations: 4.375 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2243, allocations: 4.375 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.2246, allocations: 70.16 kB / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2246, allocations: 192 / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2246, allocations: 3.938 kB / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2246, allocations: 0 / 0.9328 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.2249, allocations: 51.95 kB / 0.9329 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.2253, allocations: 265 kB / 0.9331 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.2258, allocations: 70.47 kB / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.226, allocations: 28.84 kB / 0.9332 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.2261, allocations: 81.09 kB / 0.9333 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2261, allocations: 38.56 kB / 0.9333 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.2262, allocations: 0 / 0.9333 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.2267, allocations: 105.6 kB / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2268, allocations: 59.34 kB / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.2268, allocations: 106 kB / 0.9336 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2269, allocations: 25.7 kB / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.2269, allocations: 88.03 kB / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2269, allocations: 15.84 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.2269, allocations: 0 / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.227, allocations: 310.8 kB / 0.934 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2272, allocations: 23.98 kB / 0.934 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2273, allocations: 31.97 kB / 0.9341 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.2275, allocations: 19.92 kB / 0.9341 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2275, allocations: 11.88 kB / 0.9341 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000343/0.2278, allocations: 89.64 kB / 0.9342 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2279, allocations: 4 kB / 0.9342 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2279, allocations: 0 / 0.9342 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2279, allocations: 0 / 0.9342 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2281, allocations: 19.92 kB / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2281, allocations: 0 / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.2282, allocations: 8 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2282, allocations: 4 kB / 0.9342 GB, free: 21.35 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.2283, allocations: 119.1 kB / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2283, allocations: 0 / 0.9343 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.2287, allocations: 93.14 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2287, allocations: 0 / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2287, allocations: 0 / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2287, allocations: 4 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2289, allocations: 165.6 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2289, allocations: 0 / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2291, allocations: 15.98 kB / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2291, allocations: 0 / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2291, allocations: 11.94 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2291, allocations: 0 / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2291, allocations: 0 / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.2295, allocations: 183.4 kB / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.2295, allocations: 85.09 kB / 0.9348 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2296, allocations: 0 / 0.9348 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2297, allocations: 12 kB / 0.9349 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.2298, allocations: 3.984 kB / 0.9349 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.2298, allocations: 4 kB / 0.9349 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.2298, allocations: 79.69 kB / 0.9349 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2298, allocations: 0 / 0.9349 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002772/0.2301, allocations: 12 kB / 0.935 GB, free: 20.47 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.y,rea2Int.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.0001428/0.2303, allocations: 107.2 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.2306, allocations: 60.02 kB / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2307, allocations: 3.938 kB / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2308, allocations: 35.97 kB / 0.9352 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2312, allocations: 11.88 kB / 0.9352 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2315, allocations: 116.7 kB / 0.9353 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.2316, allocations: 0.6808 MB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.654e-05/0.2317, allocations: 8 kB / 0.9359 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2317, allocations: 11.38 kB / 0.936 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.2317, allocations: 4 kB / 0.936 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.003236/0.235, allocations: 0.597 MB / 0.9365 GB, free: 18.79 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)