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.0008107/0.0008107, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001239/0.001239, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9271/0.9271, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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 1.955/1.955, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.633e-06/1.633e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.26e-05, allocations: 6.219 kB / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001167/0.00119, allocations: 0.5915 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.001426, allocations: 59.78 kB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.001447, allocations: 3.938 kB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.001477, allocations: 0 / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.001482, allocations: 0 / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.001765, allocations: 19.86 kB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.001843, allocations: 35.95 kB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.001882, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.00192, allocations: 12 kB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.359e-05/0.001944, allocations: 11.97 kB / 1.001 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.001958, allocations: 8 kB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.00204, allocations: 19.97 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.002066, allocations: 11.92 kB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.002091, allocations: 12 kB / 1.001 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.002191, allocations: 39.86 kB / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002192, allocations: 0 / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002193, allocations: 0 / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002197, allocations: 0 / 1.002 GB, free: 12.65 MB / 0.9636 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.0002473/0.002444, allocations: 262.3 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.002483, allocations: 9.344 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.002515, allocations: 34.75 kB / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.002541, allocations: 12.88 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.761e-05/0.002598, allocations: 109.7 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.002609, allocations: 4.375 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.002617, allocations: 8.312 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.002729, allocations: 58.23 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.002737, allocations: 192 / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.002746, allocations: 8.359 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.002752, allocations: 8.125 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.002852, allocations: 95.86 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.002971, allocations: 132.8 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.00306, allocations: 74.53 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.003096, allocations: 32.84 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.003261, allocations: 19.98 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.003281, allocations: 42.55 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.003282, allocations: 0 / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0001923/0.003475, allocations: 109.6 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.0035, allocations: 55.56 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.158e-05/0.003532, allocations: 93.86 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.003542, allocations: 33.64 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.872e-05/0.003561, allocations: 80.14 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.003588, allocations: 31.72 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.003619, allocations: 29.72 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.003704, allocations: 322.8 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.003737, allocations: 19.98 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.003762, allocations: 19.98 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.003838, allocations: 61.48 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00384, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001001/0.00394, allocations: 101.5 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.003952, allocations: 4 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.003956, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.003968, allocations: 4 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.004048, allocations: 27.86 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.004053, allocations: 7.984 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.004065, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.004072, allocations: 4 kB / 1.003 GB, free: 10.57 MB / 0.9636 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.0001003/0.004172, allocations: 124.5 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-06/0.004179, allocations: 3.953 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.004329, allocations: 125.5 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.004334, allocations: 11.88 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.004338, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004341, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.941e-05/0.00442, allocations: 136.7 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004421, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.004459, allocations: 19.98 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.00446, allocations: 0 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.004468, allocations: 8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.00447, allocations: 3.938 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.004471, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.004575, allocations: 125 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-06/0.004581, allocations: 3.938 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.004592, allocations: 7.938 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.0046, allocations: 8 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.004632, allocations: 11.97 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.004635, allocations: 3.938 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.004657, allocations: 79.28 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004657, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001455/0.004802, allocations: 12 kB / 1.004 GB, free: 9.82 MB / 0.9636 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.0003338/0.005136, allocations: 0.6662 MB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.005242, allocations: 63.83 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005243, allocations: 4 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.005277, allocations: 35.92 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.934e-05/0.005376, allocations: 8.812 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.005669, allocations: 174.6 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.005716, allocations: 67.34 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.005764, allocations: 31.94 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.005793, allocations: 20.5 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.005793, allocations: 4 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08301/0.0888, allocations: 2.201 MB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.147/7.236, allocations: 7.938 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.871521047316492]