Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 219.8 kB / 23.03 MB, free: 2.953 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9658/0.9658, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.062/2.062, allocations: 0.5045 GB / 0.8104 GB, free: 2.742 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009686, allocations: 75.88 kB / 1.177 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8097, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001358/0.811, allocations: 0.5741 MB / 1.353 GB, free: 1.066 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.8113, allocations: 62.77 kB / 1.353 GB, free: 1.008 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.8113, allocations: 4 kB / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.8113, allocations: 0 / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.8113, allocations: 0 / 1.353 GB, free: 1.004 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.8116, allocations: 27.84 kB / 1.353 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.8117, allocations: 31.97 kB / 1.353 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.8117, allocations: 0 / 1.353 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.8117, allocations: 15.98 kB / 1.353 GB, free: 0.9297 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.8118, allocations: 7.984 kB / 1.353 GB, free: 0.9219 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.8118, allocations: 0 / 1.353 GB, free: 0.9219 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.8119, allocations: 19.98 kB / 1.353 GB, free: 0.9023 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.8119, allocations: 19.91 kB / 1.353 GB, free: 0.8828 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.8119, allocations: 8 kB / 1.353 GB, free: 0.875 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 9.838e-05/0.812, allocations: 34.14 kB / 1.353 GB, free: 0.8438 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.812, allocations: 0 / 1.353 GB, free: 0.8438 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.064e-06/0.812, allocations: 3.938 kB / 1.353 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.812, allocations: 0 / 1.353 GB, free: 0.8398 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002619/0.8123, allocations: 266.3 kB / 1.354 GB, free: 0.5469 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8123, allocations: 8.922 kB / 1.354 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.8124, allocations: 50.67 kB / 1.354 GB, free: 492 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.8124, allocations: 4.891 kB / 1.354 GB, free: 488 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.524e-05/0.8124, allocations: 110.5 kB / 1.354 GB, free: 352 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.8124, allocations: 384 / 1.354 GB, free: 352 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.8125, allocations: 12.38 kB / 1.354 GB, free: 340 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8126, allocations: 62.22 kB / 1.354 GB, free: 272 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8126, allocations: 7.938 kB / 1.354 GB, free: 264 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.8126, allocations: 0 / 1.354 GB, free: 264 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8126, allocations: 0 / 1.354 GB, free: 264 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.8127, allocations: 99.8 kB / 1.354 GB, free: 164 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.8129, allocations: 136.8 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.813, allocations: 66.59 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.813, allocations: 32.84 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.8132, allocations: 19.98 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.8132, allocations: 38.56 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.8132, allocations: 0 / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.000217/0.8134, allocations: 117.5 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.8135, allocations: 55.41 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.8135, allocations: 97.84 kB / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.8135, allocations: 29.92 kB / 1.354 GB, free: 15.48 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.8135, allocations: 80.14 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.8136, allocations: 27.72 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.8136, allocations: 33.7 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.8137, allocations: 314.8 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.8137, allocations: 23.92 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.8137, allocations: 23.98 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.8138, allocations: 61.42 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8138, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001044/0.8139, allocations: 97.55 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8139, allocations: 7.938 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8139, allocations: 4 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8139, allocations: 3.984 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.814, allocations: 16 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.814, allocations: 0 / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.8141, allocations: 3.953 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.8141, allocations: 11.98 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001241/0.8142, allocations: 126.3 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.8142, allocations: 3.938 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.8144, allocations: 129.4 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8144, allocations: 0 / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8144, allocations: 0 / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8144, allocations: 3.938 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.654e-05/0.8145, allocations: 140.8 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.8145, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.8145, allocations: 27.92 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8145, allocations: 3.938 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8145, allocations: 0 / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8145, allocations: 4 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8145, allocations: 0 / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.8148, allocations: 125 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.8148, allocations: 7.938 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.8148, allocations: 0 / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.8148, allocations: 0 / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.8149, allocations: 11.98 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.8149, allocations: 4 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.01e-05/0.8149, allocations: 79.28 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.8149, allocations: 3.938 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001528/0.815, allocations: 15.94 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003625/0.8154, allocations: 0.667 MB / 1.356 GB, free: 13.31 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.8155, allocations: 64.28 kB / 1.356 GB, free: 13.25 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8155, allocations: 4 kB / 1.356 GB, free: 13.25 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.8156, allocations: 28.2 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.8157, allocations: 8.203 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.816, allocations: 190.4 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.8161, allocations: 75.14 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.8161, allocations: 35.72 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.8162, allocations: 27.41 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of SimCode: time 6.81e-07/0.8162, allocations: 0 / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/0.8952, allocations: 2.048 MB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/7.54, allocations: 13.05 kB / 1.359 GB, free: 10.91 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_fmpy_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.437521498650312]