Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.887/1.887, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001532/0.001532, allocations: 175.2 kB / 393.1 MB, free: 4.066 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.343/1.343, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 94.44 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 13.06 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5647, allocations: 121.3 MB / 1.041 GB, free: 58.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001676/0.5665, allocations: 1.233 MB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.5669, allocations: 191.5 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.5669, allocations: 2.5 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.5669, allocations: 5.312 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.567, allocations: 0 / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.5672, allocations: 21.53 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.5673, allocations: 33.77 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.5674, allocations: 13.14 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.5674, allocations: 4.125 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.5675, allocations: 17.69 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.5675, allocations: 1.938 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.5676, allocations: 5.297 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.5676, allocations: 7.844 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.5676, allocations: 37.03 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.471e-05/0.5677, allocations: 32.14 kB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5677, allocations: 1.406 kB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5678, allocations: 1.375 kB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.5678, allocations: 0 / 1.042 GB, free: 57.44 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.0003724/0.5681, allocations: 341.7 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5682, allocations: 9.625 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.5682, allocations: 2.938 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.5683, allocations: 176.7 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.5684, allocations: 9.688 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.5684, allocations: 1.75 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.5686, allocations: 63.19 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5686, allocations: 1.562 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5686, allocations: 3.938 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5686, allocations: 5.312 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.5688, allocations: 53.56 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.5691, allocations: 261.1 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.5694, allocations: 71.8 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.5695, allocations: 33.95 kB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.871e-05/0.5696, allocations: 82.06 kB / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.5696, allocations: 31.28 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5696, allocations: 2.25 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.57, allocations: 113.3 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.57, allocations: 51.41 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.5701, allocations: 106.6 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.5701, allocations: 25.7 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.5701, allocations: 84.7 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.5701, allocations: 2.953 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5702, allocations: 7.781 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.5702, allocations: 319.9 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.5703, allocations: 20.66 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.5704, allocations: 22.91 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.5706, allocations: 57.5 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5706, allocations: 7.938 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/0.5708, allocations: 90.98 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5708, allocations: 9.594 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5708, allocations: 0.6094 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5708, allocations: 0 / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.5709, allocations: 19.14 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5709, allocations: 0 / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.571, allocations: 8.5 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.571, allocations: 1.219 kB / 1.044 GB, free: 55.62 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.208e-05/0.571, allocations: 118.3 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.5711, allocations: 1.406 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.5713, allocations: 97.42 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5713, allocations: 0.7188 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5713, allocations: 0 / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5714, allocations: 5.531 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.5715, allocations: 165.5 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5715, allocations: 3.812 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.5716, allocations: 17.08 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5716, allocations: 3.938 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.5716, allocations: 4.984 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5716, allocations: 0 / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5716, allocations: 0 / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5718, allocations: 189.4 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.5719, allocations: 77.11 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5719, allocations: 2.969 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.572, allocations: 8.953 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.572, allocations: 12.59 kB / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.572, allocations: 0 / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.17e-05/0.5721, allocations: 86.64 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5721, allocations: 0 / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002278/0.5723, allocations: 14.31 kB / 1.045 GB, free: 54.91 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.0001268/0.5724, allocations: 109.5 kB / 1.045 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.5727, allocations: 58.16 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5727, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.5728, allocations: 29.38 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.573, allocations: 9.344 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.5733, allocations: 127.5 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.5734, allocations: 0.6783 MB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.5734, allocations: 5.531 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.5735, allocations: 8.906 kB / 1.046 GB, free: 53.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5735, allocations: 3.125 kB / 1.046 GB, free: 53.97 MB / 0.698 GB Notification: Performance of Templates: time 0.00248/0.5759, allocations: 0.6072 MB / 1.047 GB, free: 53.9 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)