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.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.642/1.642, allocations: 291.7 MB / 306.8 MB, free: 7.66 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.0009447/0.0009448, allocations: 189.5 kB / 375.4 MB, free: 5.109 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.417/1.417, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.0007748/0.0007749, allocations: 104.2 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 13.19 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7092, allocations: 118.1 MB / 1.011 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002073/0.7113, allocations: 1.245 MB / 1.012 GB, free: 57.95 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000386/0.7117, allocations: 121.6 kB / 1.012 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.7118, allocations: 4.688 kB / 1.012 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.7118, allocations: 3.938 kB / 1.012 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.7119, allocations: 1.641 kB / 1.012 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.7122, allocations: 25.8 kB / 1.012 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.7122, allocations: 32.55 kB / 1.012 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.7124, allocations: 11.36 kB / 1.012 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.7124, allocations: 16.62 kB / 1.012 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.7125, allocations: 18.31 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.7125, allocations: 5.828 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.7126, allocations: 9.766 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.7126, allocations: 13.78 kB / 1.012 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.7126, allocations: 28.64 kB / 1.012 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.995e-05/0.7127, allocations: 28.23 kB / 1.012 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7127, allocations: 0 / 1.012 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7128, allocations: 1.156 kB / 1.012 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.7128, allocations: 2.969 kB / 1.012 GB, free: 57.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004465/0.7132, allocations: 349.3 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7133, allocations: 7.312 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.7133, allocations: 7.391 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.7134, allocations: 169.6 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.7134, allocations: 6.234 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.7135, allocations: 8 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.7137, allocations: 72.09 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7137, allocations: 0.9062 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.7137, allocations: 7.312 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7138, allocations: 1.844 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.714, allocations: 55.89 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.7144, allocations: 278.6 kB / 1.013 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.7149, allocations: 61.16 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.715, allocations: 31.8 kB / 1.013 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.7153, allocations: 409 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.7153, allocations: 30.56 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.7153, allocations: 0 / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0004971/0.7158, allocations: 116.7 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.7158, allocations: 55.34 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.7159, allocations: 109.2 kB / 1.014 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.7159, allocations: 25.7 kB / 1.014 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.716, allocations: 90.88 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.716, allocations: 6.812 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.716, allocations: 3.938 kB / 1.014 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.7161, allocations: 319.5 kB / 1.015 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.7162, allocations: 24.53 kB / 1.015 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.7163, allocations: 27.94 kB / 1.015 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.7166, allocations: 57.28 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7166, allocations: 0 / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002821/0.7169, allocations: 88.89 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7169, allocations: 6.719 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7169, allocations: 0 / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.717, allocations: 1.75 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.7171, allocations: 15.03 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7171, allocations: 0 / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.7172, allocations: 19.08 kB / 1.015 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.7172, allocations: 4.969 kB / 1.015 GB, free: 55.79 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 (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 7.828e-05/0.7173, allocations: 119.9 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.7173, allocations: 0 / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.7177, allocations: 96.97 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7177, allocations: 0.8438 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7177, allocations: 6.453 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7177, allocations: 1.812 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.7179, allocations: 165.2 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7179, allocations: 0 / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.718, allocations: 15.05 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.718, allocations: 1.531 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.718, allocations: 1.188 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.718, allocations: 0 / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.718, allocations: 1.188 kB / 1.015 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.7184, allocations: 188.6 kB / 1.015 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.7184, allocations: 80.98 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.7184, allocations: 3.344 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.7186, allocations: 12.45 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.7186, allocations: 10.62 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.7187, allocations: 1.547 kB / 1.015 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.979e-05/0.7187, allocations: 90.67 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7187, allocations: 3.438 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003372/0.7191, allocations: 8.875 kB / 1.016 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 (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.0001796/0.7192, allocations: 112.3 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.7196, allocations: 53.75 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7196, allocations: 3.312 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.7197, allocations: 30.69 kB / 1.016 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.0003829/0.7201, allocations: 10.38 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.7205, allocations: 133.2 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.7206, allocations: 0.6812 MB / 1.017 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.671e-05/0.7207, allocations: 2.531 kB / 1.017 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.7207, allocations: 12.12 kB / 1.017 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.7207, allocations: 0 / 1.017 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.003289/0.724, allocations: 0.6399 MB / 1.017 GB, free: 54.18 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)