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.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.633/2.633, allocations: 254.9 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.001318/0.001318, allocations: 187.3 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.582/2.582, allocations: 225.6 MB / 0.6001 GB, free: 2.238 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.0009197/0.0009198, allocations: 94.44 kB / 0.7074 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004818, allocations: 13.16 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001826/0.2399, allocations: 1.242 MB / 0.932 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.2403, allocations: 128.5 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.2404, allocations: 0 / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.2404, allocations: 7.875 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.2404, allocations: 0 / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2407, allocations: 19.98 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.2408, allocations: 31.86 kB / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.2409, allocations: 19.97 kB / 0.9322 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.2409, allocations: 7.984 kB / 0.9322 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.241, allocations: 15.94 kB / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.241, allocations: 0 / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.2411, allocations: 19.98 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.2411, allocations: 7.969 kB / 0.9322 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.2411, allocations: 37.64 kB / 0.9323 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.843e-05/0.2412, allocations: 27.89 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2413, allocations: 0 / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2413, allocations: 4 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2413, allocations: 0 / 0.9323 GB, free: 23.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004684/0.2418, allocations: 347.7 kB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2418, allocations: 8.031 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.2418, allocations: 8.844 kB / 0.9326 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.341e-05/0.2419, allocations: 168.4 kB / 0.9328 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.242, allocations: 4.375 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.242, allocations: 4.375 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2423, allocations: 74.16 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2423, allocations: 192 / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2423, allocations: 3.938 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2423, allocations: 0 / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.2427, allocations: 59.95 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.2431, allocations: 280.7 kB / 0.9332 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.2436, allocations: 70.47 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2438, allocations: 32.91 kB / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.244, allocations: 393.5 kB / 0.9337 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2441, allocations: 38.55 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.2441, allocations: 0 / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005972/0.2447, allocations: 109.8 kB / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2447, allocations: 59.34 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.2448, allocations: 109.8 kB / 0.934 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.2448, allocations: 29.7 kB / 0.934 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.2449, allocations: 92.03 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2449, allocations: 0 / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.2449, allocations: 4 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.245, allocations: 318.7 kB / 0.9344 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2452, allocations: 27.97 kB / 0.9344 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2453, allocations: 27.98 kB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2455, allocations: 23.92 kB / 0.9345 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2455, allocations: 0 / 0.9345 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000381/0.2459, allocations: 97.55 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.246, allocations: 11.91 kB / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.246, allocations: 0 / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.246, allocations: 0 / 0.9346 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2462, allocations: 15.92 kB / 0.9346 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2462, allocations: 0 / 0.9346 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.2463, allocations: 12 kB / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2463, allocations: 3.984 kB / 0.9346 GB, free: 20.88 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 (rea2Int.y,falFac.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 8.189e-05/0.2464, allocations: 117.8 kB / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.2465, allocations: 0 / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.2469, allocations: 97.45 kB / 0.9348 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2469, allocations: 4 kB / 0.9348 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2469, allocations: 0 / 0.9348 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2469, allocations: 0 / 0.9348 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2471, allocations: 169.6 kB / 0.935 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2471, allocations: 0 / 0.935 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2473, allocations: 11.98 kB / 0.935 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2473, allocations: 3.938 kB / 0.935 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2473, allocations: 8 kB / 0.935 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2473, allocations: 0 / 0.935 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2473, allocations: 0 / 0.935 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.2477, allocations: 183.4 kB / 0.9352 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.2478, allocations: 85.11 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2478, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.248, allocations: 7.984 kB / 0.9353 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.248, allocations: 7.984 kB / 0.9353 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.2481, allocations: 0 / 0.9353 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.2481, allocations: 87.28 kB / 0.9354 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2481, allocations: 0 / 0.9354 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000292/0.2484, allocations: 15.91 kB / 0.9354 GB, free: 20 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 (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 (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.0001705/0.2486, allocations: 115.7 kB / 0.9355 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.249, allocations: 56.17 kB / 0.9355 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.249, allocations: 0 / 0.9355 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.2492, allocations: 36.06 kB / 0.9356 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2495, allocations: 19.86 kB / 0.9356 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.2499, allocations: 124.6 kB / 0.9357 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.25, allocations: 0.677 MB / 0.9364 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.081e-05/0.2501, allocations: 12.48 kB / 0.9364 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.2501, allocations: 11.44 kB / 0.9364 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.2502, allocations: 0 / 0.9364 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of Templates: time 0.003343/0.2535, allocations: 0.6429 MB / 0.937 GB, free: 18.25 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)