Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.62/1.62, allocations: 291.7 MB / 306.8 MB, free: 7.711 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.001024/0.001024, allocations: 180 kB / 375.4 MB, free: 5.129 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.424/1.424, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0008178/0.0008178, allocations: 99.16 kB / 0.7699 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004399, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.7194, allocations: 118.1 MB / 1.011 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001882/0.7213, allocations: 1.225 MB / 1.012 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.7217, allocations: 117.3 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.7217, allocations: 0 / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.7218, allocations: 1.438 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.7218, allocations: 6.359 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.7221, allocations: 19.86 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.7222, allocations: 29.64 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.7223, allocations: 12.45 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.7224, allocations: 12.14 kB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.7224, allocations: 13.22 kB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.7225, allocations: 0.5 kB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.646e-05/0.7225, allocations: 7.484 kB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.7226, allocations: 11.52 kB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.7226, allocations: 28.58 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.7227, allocations: 19.89 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7227, allocations: 4.453 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7227, allocations: 0 / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7227, allocations: 0 / 1.012 GB, free: 57.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004815/0.7232, allocations: 342.2 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.7233, allocations: 8.781 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.7233, allocations: 8.703 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.7234, allocations: 169.1 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.7235, allocations: 3.031 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.7235, allocations: 384 / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.7237, allocations: 69.39 kB / 1.013 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.7237, allocations: 4.125 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.7237, allocations: 6.062 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7238, allocations: 0 / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.724, allocations: 49.42 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.7244, allocations: 270 kB / 1.013 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.7248, allocations: 66.28 kB / 1.013 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.7249, allocations: 37.14 kB / 1.013 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.725, allocations: 86.81 kB / 1.013 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.7251, allocations: 32.31 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.7251, allocations: 0 / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0004625/0.7256, allocations: 105.8 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.7256, allocations: 54.41 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.7257, allocations: 99.86 kB / 1.014 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.7257, allocations: 26.45 kB / 1.014 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.7257, allocations: 86.67 kB / 1.014 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.7258, allocations: 6.719 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.7258, allocations: 2.781 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.7259, allocations: 322 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.726, allocations: 23.94 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7261, allocations: 28.42 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.7263, allocations: 59.19 kB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7263, allocations: 4.969 kB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002337/0.7266, allocations: 80.53 kB / 1.014 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7266, allocations: 4.156 kB / 1.014 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7266, allocations: 2.062 kB / 1.014 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7266, allocations: 2.625 kB / 1.014 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.7267, allocations: 11.25 kB / 1.014 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7267, allocations: 6.844 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.7268, allocations: 17.41 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.7268, allocations: 2.828 kB / 1.014 GB, free: 55.73 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.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.862e-05/0.7269, allocations: 117.1 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.7269, allocations: 0 / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.7272, allocations: 95.39 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7272, allocations: 0 / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7272, allocations: 2.25 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7272, allocations: 0 / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.7274, allocations: 167 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7274, allocations: 1.812 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.7274, allocations: 17.33 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7275, allocations: 0 / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.7275, allocations: 2.656 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7275, allocations: 5.75 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7275, allocations: 0 / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.7277, allocations: 184.8 kB / 1.015 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.7278, allocations: 81.02 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.7278, allocations: 0 / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.7279, allocations: 9.344 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.7279, allocations: 13.12 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.7279, allocations: 3.516 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.45e-05/0.728, allocations: 79.19 kB / 1.015 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.728, allocations: 0 / 1.015 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000214/0.7282, allocations: 13.78 kB / 1.015 GB, free: 55.06 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.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.0001791/0.7284, allocations: 119.5 kB / 1.015 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.7286, allocations: 56.52 kB / 1.015 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7286, allocations: 0 / 1.015 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.7287, allocations: 32.38 kB / 1.015 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.729, allocations: 13.44 kB / 1.015 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.7293, allocations: 116.5 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.7295, allocations: 0.6793 MB / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.7295, allocations: 4.375 kB / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.7296, allocations: 12.44 kB / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7296, allocations: 0 / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.002604/0.7322, allocations: 0.597 MB / 1.017 GB, free: 54.12 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)