Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.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.001045/0.001045, allocations: 80.52 kB / 19.95 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.001131/0.001131, allocations: 173.6 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.9159/0.9159, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.865/1.865, allocations: 389.6 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.Examples.FallingFactorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.108e-05, allocations: 2.281 kB / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.005324/0.005345, allocations: 1.565 MB / 1.002 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.005674, allocations: 132.5 kB / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.005712, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.005737, allocations: 7.875 kB / 1.002 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.00578, allocations: 3.938 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.006074, allocations: 35.89 kB / 1.002 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.006144, allocations: 39.86 kB / 1.002 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.006235, allocations: 11.98 kB / 1.002 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.006277, allocations: 27.92 kB / 1.002 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.006318, allocations: 15.97 kB / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.006332, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.006409, allocations: 19.98 kB / 1.002 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.006424, allocations: 15.92 kB / 1.002 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.006447, allocations: 7.984 kB / 1.002 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.006596, allocations: 55.8 kB / 1.003 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006599, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006601, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.006605, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9167 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.0003214/0.006926, allocations: 282.3 kB / 1.003 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.006962, allocations: 9.344 kB / 1.003 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.006989, allocations: 30.75 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.818e-05/0.007008, allocations: 4.938 kB / 1.003 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.66e-05/0.007074, allocations: 113.7 kB / 1.003 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.00709, allocations: 4.375 kB / 1.003 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.007098, allocations: 384 / 1.003 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.007219, allocations: 70.16 kB / 1.003 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.007225, allocations: 192 / 1.003 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.007232, allocations: 4.312 kB / 1.003 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.007237, allocations: 8.125 kB / 1.003 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.007332, allocations: 43.95 kB / 1.003 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.007611, allocations: 243.9 kB / 1.003 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.007805, allocations: 66.41 kB / 1.003 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.007854, allocations: 16.91 kB / 1.003 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.007956, allocations: 19.98 kB / 1.003 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.00797, allocations: 34.56 kB / 1.003 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.007971, allocations: 0 / 1.003 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002173/0.008188, allocations: 101.6 kB / 1.004 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.008209, allocations: 51.41 kB / 1.004 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.486e-05/0.008264, allocations: 105.8 kB / 1.004 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.008273, allocations: 25.7 kB / 1.004 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.00831, allocations: 92.2 kB / 1.004 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.008321, allocations: 3.953 kB / 1.004 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.008346, allocations: 21.7 kB / 1.004 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.008414, allocations: 322.8 kB / 1.004 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.008458, allocations: 19.97 kB / 1.004 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.008498, allocations: 19.98 kB / 1.004 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.008581, allocations: 48.81 kB / 1.004 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.008588, allocations: 0 / 1.004 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.008692, allocations: 81.48 kB / 1.004 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.008704, allocations: 8 kB / 1.004 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.008708, allocations: 0 / 1.004 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.008719, allocations: 0 / 1.004 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.147e-05/0.008761, allocations: 11.98 kB / 1.004 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.008765, allocations: 0 / 1.004 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.008792, allocations: 19.92 kB / 1.004 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.008796, allocations: 0 / 1.004 GB, free: 8.414 MB / 0.9167 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 (falFac.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.008847, allocations: 109.8 kB / 1.004 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.008862, allocations: 7.891 kB / 1.004 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.009011, allocations: 89.64 kB / 1.005 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.009012, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.009017, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.00902, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.009122, allocations: 140.6 kB / 1.005 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.009124, allocations: 4 kB / 1.005 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.009153, allocations: 7.984 kB / 1.005 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.009155, allocations: 4 kB / 1.005 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.009161, allocations: 4 kB / 1.005 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.009162, allocations: 0 / 1.005 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009163, allocations: 384 / 1.005 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.009291, allocations: 175.4 kB / 1.005 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.009302, allocations: 15.94 kB / 1.005 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.009311, allocations: 0 / 1.005 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.009349, allocations: 4 kB / 1.005 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.009389, allocations: 3.984 kB / 1.005 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.009393, allocations: 4 kB / 1.005 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.009421, allocations: 91.58 kB / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009421, allocations: 0 / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001489/0.00957, allocations: 12 kB / 1.005 GB, free: 7.672 MB / 0.9167 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 (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.0003479/0.009918, allocations: 0.7123 MB / 1.006 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01004, allocations: 43.95 kB / 1.006 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01004, allocations: 4 kB / 1.006 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.01009, allocations: 31.91 kB / 1.006 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01032, allocations: 4.234 kB / 1.006 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009948/0.01131, allocations: 1.28 MB / 1.007 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.277e-05/0.01136, allocations: 75.23 kB / 1.007 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.01138, allocations: 7.984 kB / 1.007 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.01142, allocations: 16.5 kB / 1.007 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.01142, allocations: 0 / 1.007 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07448/0.0859, allocations: 2.388 MB / 1.009 GB, free: 3.121 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.073, allocations: 6.375 kB / 1.009 GB, free: 3.117 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ../Buildings_13_Buildings_Utilities_Math_Examples_FallingFactorial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.663516093045473]