Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.813/1.813, allocations: 291.7 MB / 306.8 MB, free: 7.746 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.0009314/0.0009315, allocations: 182.6 kB / 375.4 MB, free: 5.148 MB / 298.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.356/1.356, allocations: 225.7 MB / 0.6538 GB, free: 13.7 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.0008447/0.0008445, allocations: 103.3 kB / 0.7699 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004093, allocations: 12 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7022, allocations: 118.1 MB / 1.011 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0008223/0.7031, allocations: 319 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.7033, allocations: 41.17 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.7034, allocations: 0.8125 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.778e-06/0.7034, allocations: 0 / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.7034, allocations: 2.469 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.7036, allocations: 9.875 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.428e-05/0.7036, allocations: 2.781 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.7037, allocations: 0 / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.7037, allocations: 2.031 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.834e-05/0.7038, allocations: 10.31 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.7038, allocations: 0 / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.7038, allocations: 13.47 kB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.7039, allocations: 0 / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.7039, allocations: 27.27 kB / 1.011 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.704, allocations: 3.516 kB / 1.011 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.704, allocations: 4.438 kB / 1.011 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.515e-06/0.704, allocations: 2.594 kB / 1.011 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.704, allocations: 0 / 1.011 GB, free: 57.32 MB / 0.7136 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.0002633/0.7043, allocations: 309.7 kB / 1.012 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7043, allocations: 10.81 kB / 1.012 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.7044, allocations: 6.281 kB / 1.012 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.7044, allocations: 166.5 kB / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.7045, allocations: 384 / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-06/0.7045, allocations: 384 / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.7046, allocations: 37.52 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.7046, allocations: 192 / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.7046, allocations: 5.438 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7046, allocations: 4.938 kB / 1.012 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.7047, allocations: 2.156 kB / 1.012 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.7048, allocations: 146 kB / 1.012 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.7048, allocations: 26.41 kB / 1.012 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.7049, allocations: 8.078 kB / 1.012 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.705, allocations: 85.28 kB / 1.012 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.7051, allocations: 36.66 kB / 1.012 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7051, allocations: 0 / 1.012 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.7052, allocations: 48.17 kB / 1.012 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.7052, allocations: 52.56 kB / 1.012 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.223e-05/0.7053, allocations: 93.73 kB / 1.012 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.7053, allocations: 26.23 kB / 1.012 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.096e-05/0.7053, allocations: 80.77 kB / 1.012 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.7053, allocations: 11.86 kB / 1.012 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.7054, allocations: 0 / 1.012 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.7054, allocations: 310.8 kB / 1.013 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.7054, allocations: 0.7188 kB / 1.013 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.7054, allocations: 2.812 kB / 1.013 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.7055, allocations: 20.67 kB / 1.013 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7055, allocations: 0 / 1.013 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.164e-05/0.7055, allocations: 41.03 kB / 1.013 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7056, allocations: 5.312 kB / 1.013 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7056, allocations: 1.688 kB / 1.013 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7056, allocations: 6.281 kB / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.7057, allocations: 9 kB / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7057, allocations: 0.5625 kB / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.7057, allocations: 0 / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.7057, allocations: 1.734 kB / 1.013 GB, free: 55.71 MB / 0.7136 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 5.411e-05/0.7058, allocations: 107.7 kB / 1.013 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.7058, allocations: 3.094 kB / 1.013 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.782e-05/0.7059, allocations: 55.19 kB / 1.013 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7059, allocations: 0.5 kB / 1.013 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7059, allocations: 8.219 kB / 1.013 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.7059, allocations: 3.766 kB / 1.013 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.107e-05/0.706, allocations: 145.1 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.706, allocations: 2.062 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.706, allocations: 2.906 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.706, allocations: 3.969 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.706, allocations: 5.625 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7061, allocations: 1.969 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7061, allocations: 0.5625 kB / 1.013 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.306e-05/0.7061, allocations: 66.12 kB / 1.013 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.7062, allocations: 79.73 kB / 1.013 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.7062, allocations: 6.844 kB / 1.013 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.7062, allocations: 0 / 1.013 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.7062, allocations: 0.9375 kB / 1.013 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.7062, allocations: 3.469 kB / 1.013 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.41e-05/0.7062, allocations: 77.06 kB / 1.013 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7063, allocations: 1.094 kB / 1.013 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002147/0.7065, allocations: 6.625 kB / 1.013 GB, free: 55.12 MB / 0.7136 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.0001407/0.7066, allocations: 108.8 kB / 1.013 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.7067, allocations: 10.33 kB / 1.013 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7067, allocations: 0.5312 kB / 1.013 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.7067, allocations: 5.609 kB / 1.013 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.7069, allocations: 9.969 kB / 1.014 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.7071, allocations: 87.86 kB / 1.014 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.7072, allocations: 0.6721 MB / 1.014 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.7072, allocations: 4.188 kB / 1.014 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.7072, allocations: 9.25 kB / 1.014 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7072, allocations: 0 / 1.014 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.00205/0.7093, allocations: 309.3 kB / 1.015 GB, free: 54.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)