Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 297.4 MB / 312.6 MB, free: 2.945 MB / 234.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.0009532/0.0009532, allocations: 178 kB / 382.3 MB, free: 14.84 MB / 314.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 1.328/1.328, allocations: 225.7 MB / 0.6617 GB, free: 7.25 MB / 490.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.0007713/0.0007713, allocations: 94.52 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 0.9058 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5525, allocations: 119.2 MB / 1.022 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001494/0.554, allocations: 1.23 MB / 1.023 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.5544, allocations: 198 kB / 1.024 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.5545, allocations: 1.188 kB / 1.024 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.5545, allocations: 6.094 kB / 1.024 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.5545, allocations: 0.9688 kB / 1.024 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.5547, allocations: 15.11 kB / 1.024 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.425e-05/0.5548, allocations: 32.11 kB / 1.024 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.5548, allocations: 9.938 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.5549, allocations: 12.06 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.5549, allocations: 21 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.555, allocations: 1.125 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.555, allocations: 11.44 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.555, allocations: 3.188 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.5551, allocations: 42.48 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.31e-05/0.5551, allocations: 28.47 kB / 1.024 GB, free: 57.28 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5552, allocations: 0.9688 kB / 1.024 GB, free: 57.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5552, allocations: 0 / 1.024 GB, free: 57.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.5552, allocations: 1.375 kB / 1.024 GB, free: 57.28 MB / 0.698 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.0003423/0.5555, allocations: 348.2 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5556, allocations: 10.19 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.5556, allocations: 2.312 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.937e-05/0.5557, allocations: 171.5 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.5557, allocations: 1.656 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.5557, allocations: 1.719 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.5559, allocations: 67.88 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.5559, allocations: 0.9375 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.5559, allocations: 3.938 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5559, allocations: 1.875 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.5561, allocations: 50.94 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.5564, allocations: 277.7 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.5567, allocations: 56.94 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.5568, allocations: 34.69 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/0.5569, allocations: 89.55 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.5569, allocations: 30.56 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.557, allocations: 1.125 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003585/0.5573, allocations: 107.6 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.5573, allocations: 52.69 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.5574, allocations: 107.5 kB / 1.025 GB, free: 55.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.974e-06/0.5574, allocations: 26.73 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.5574, allocations: 87.5 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.5575, allocations: 7.438 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5575, allocations: 0 / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.5575, allocations: 315.1 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.5576, allocations: 25.38 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.5577, allocations: 25.61 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.5579, allocations: 58.34 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5579, allocations: 3.938 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000204/0.5581, allocations: 92.2 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5581, allocations: 9.062 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5581, allocations: 0 / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5581, allocations: 5.406 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.5582, allocations: 16.47 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5582, allocations: 1.156 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.5583, allocations: 9.672 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.5583, allocations: 1.172 kB / 1.026 GB, free: 55.47 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.5584, allocations: 117.4 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.5584, allocations: 2.469 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.5587, allocations: 95.81 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5587, allocations: 1.156 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5587, allocations: 0.6562 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5587, allocations: 1.156 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.5588, allocations: 169.2 kB / 1.026 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5588, allocations: 4 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.5589, allocations: 20.41 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5589, allocations: 0 / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.5589, allocations: 2.516 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5589, allocations: 0.7031 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5589, allocations: 0 / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.5592, allocations: 182.8 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.5592, allocations: 81.86 kB / 1.026 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5592, allocations: 5.312 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.5593, allocations: 8.312 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.5594, allocations: 9.516 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.5594, allocations: 5.984 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.5594, allocations: 80.48 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5594, allocations: 0 / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000205/0.5596, allocations: 14.81 kB / 1.027 GB, free: 54.75 MB / 0.698 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 (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.000133/0.5598, allocations: 106.9 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.56, allocations: 56.66 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.56, allocations: 0 / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.5601, allocations: 34.34 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.5604, allocations: 11.7 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.5606, allocations: 119.2 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.5607, allocations: 0.6775 MB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.5608, allocations: 5.141 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.5608, allocations: 14.69 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5608, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of Templates: time 0.002381/0.5632, allocations: 0.6181 MB / 1.028 GB, free: 53.76 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)